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