mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 00:07:21 +00:00
26 lines
251 B
ArmAsm
26 lines
251 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 26.10.2000
|
||
|
;
|
||
|
; Screen size variables
|
||
|
;
|
||
|
|
||
|
.export xsize, ysize
|
||
|
.constructor initscrsize
|
||
|
|
||
|
.include "../cbm/cbm.inc"
|
||
|
|
||
|
.code
|
||
|
|
||
|
initscrsize:
|
||
|
jsr SCREEN
|
||
|
stx xsize
|
||
|
sty ysize
|
||
|
rts
|
||
|
|
||
|
.bss
|
||
|
|
||
|
xsize: .res 1
|
||
|
ysize: .res 1
|
||
|
|
||
|
|