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

19 lines
374 B
ArmAsm
Raw Normal View History

;
; Screen size variables
;
.include "pce.inc"
.export screensize
screensize:
2015-07-12 08:32:55 +00:00
ldx xsize
ldy ysize
rts
; FIXME: changing the video mode allows for different screen sizes
.rodata
2015-07-12 08:32:55 +00:00
.export xsize, ysize
xsize: .byte charsperline
ysize: .byte screenrows