1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
cc65/libsrc/pce/_scrsize.s
2015-08-29 15:58:57 +02:00

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