1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00
cc65/libsrc/tgi/tgi_getmaxy.s

20 lines
397 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"
.export _tgi_getmaxy
.import _tgi_getyres
.import decax1
_tgi_getmaxy:
jsr _tgi_getyres
jmp decax1