mirror of
https://github.com/cc65/cc65.git
synced 2024-08-19 17:29:37 +00:00
26 lines
255 B
ArmAsm
26 lines
255 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 26.10.2000
|
|
;
|
|
; Screen size variables
|
|
;
|
|
|
|
.export xsize, ysize
|
|
.import SCREEN
|
|
.constructor initscrsize
|
|
|
|
|
|
.code
|
|
|
|
initscrsize:
|
|
jsr SCREEN
|
|
stx xsize
|
|
sty ysize
|
|
rts
|
|
|
|
.bss
|
|
|
|
xsize: .res 1
|
|
ysize: .res 1
|
|
|
|
|