add Agat to samples
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user