mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
19 lines
321 B
ArmAsm
19 lines
321 B
ArmAsm
;
|
|
; Screen size variables
|
|
;
|
|
.include "pce.inc"
|
|
|
|
.export screensize
|
|
screensize:
|
|
ldx xsize
|
|
ldy ysize
|
|
rts
|
|
|
|
; FIXME: changing the video mode allows for different screen sizes
|
|
|
|
.rodata
|
|
.export xsize, ysize
|
|
|
|
xsize: .byte charsperline
|
|
ysize: .byte screenrows
|