1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-07 21:10:15 +00:00
cc65/libsrc/tgi/tgi_getmaxy.s

18 lines
307 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned tgi_getmaxy (void);
; /* Return the maximum y coordinate. The resolution in y direction is
; ** getmaxy() + 1
; */
.include "tgi-kernel.inc"
.proc _tgi_getmaxy
lda _tgi_ymax
ldx _tgi_ymax+1
rts
.endproc