1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-30 12:28:25 +00:00
cc65/libsrc/apple2/_scrsize.s

18 lines
259 B
ArmAsm

;
; Ullrich von Bassewitz, 26.10.2000
;
; Screen size variables
;
.export screensize
.include "apple2.inc"
screensize:
ldx WNDWDTH
lda WNDBTM
sec
sbc WNDTOP
tay
rts