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