1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-31 20:06:11 +00:00
cc65/libsrc/tgi/tgi_getmaxy.s

19 lines
322 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned __fastcall__ 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