add Agat to samples
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
# include <apple2enh.h>
|
||||
#elif defined(__APPLE2__)
|
||||
# include <apple2.h>
|
||||
#elif defined(__AGAT__)
|
||||
# include <agat.h>
|
||||
#elif defined(__ATARI__)
|
||||
# include <atari.h>
|
||||
#elif defined(__ATARI2600__)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 26.10.2000
|
||||
; Konstantin Fedorov, 12.06.2025
|
||||
;
|
||||
; Screen size variables
|
||||
;
|
||||
@@ -9,9 +10,14 @@
|
||||
.include "agat.inc"
|
||||
|
||||
screensize:
|
||||
ldx WNDWDTH
|
||||
lda WNDBTM
|
||||
lda WNDWDTH
|
||||
bit TATTR
|
||||
bmi t64
|
||||
lsr
|
||||
t64:
|
||||
tax
|
||||
lda WNDBTM
|
||||
sec
|
||||
sbc WNDTOP
|
||||
sbc WNDTOP
|
||||
tay
|
||||
rts
|
||||
|
||||
@@ -158,6 +158,11 @@ DIRLIST = tutorial geos atari2600 atari5200 apple2 gamate lynx supervision sym1
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Lists of executables
|
||||
EXELIST_agat = \
|
||||
ascii \
|
||||
checkversion \
|
||||
hello \
|
||||
sieve
|
||||
|
||||
EXELIST_apple2 = \
|
||||
ascii \
|
||||
@@ -390,6 +395,7 @@ all:
|
||||
# --------------------------------------------------------------------------
|
||||
# List of every supported platform
|
||||
TARGETS := \
|
||||
agat \
|
||||
apple2 \
|
||||
apple2enh \
|
||||
atari \
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
/* Workaround missing clock stuff */
|
||||
#ifdef __APPLE2__
|
||||
#if defined(__APPLE2__) || defined(__AGAT__)
|
||||
# define clock() 0
|
||||
# define CLOCKS_PER_SEC 1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user