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

19 lines
321 B
ArmAsm
Raw Normal View History

;
; Screen size variables
;
2015-08-29 13:58:57 +00:00
.include "pce.inc"
2015-08-29 13:58:57 +00:00
.export screensize
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
.export xsize, ysize
2015-08-29 13:58:57 +00:00
xsize: .byte charsperline
ysize: .byte screenrows