1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-04 17:04:58 +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