1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-03 10:07:02 +00:00
cc65/libsrc/pce/_scrsize.s

20 lines
338 B
ArmAsm
Raw Normal View History

;
; Screen size variables
;
2015-10-02 14:50:22 +00:00
.export screensize
.export xsize, ysize
2015-08-29 13:58:57 +00:00
.include "pce.inc"
screensize:
2015-08-29 13:58:57 +00:00
ldx xsize
ldy ysize
rts
; FIXME: changing the video mode allows for different screen sizes
.rodata
2015-08-29 13:58:57 +00:00
xsize: .byte charsperline
ysize: .byte screenrows