1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-16 02:10:52 +00:00
cc65/libsrc/apple2/_scrsize.s

18 lines
259 B
ArmAsm
Raw Normal View History

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