1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-27 12:29:33 +00:00
cc65/libsrc/tgi/tgi_getyres.s
cuz e50b24d46a Implementing TGI
git-svn-id: svn://svn.cc65.org/cc65/trunk@1311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-21 12:46:52 +00:00

20 lines
367 B
ArmAsm

;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned __fastcall__ tgi_getyres (void);
; /* Return the resolution in Y direction */
.include "tgi-kernel.inc"
.export _tgi_getyres
.import ldaxidx
_tgi_getyres:
lda _tgi_drv
ldx _tgi_drv+1
ldy #TGI_HDR_YRES+1
jmp ldaxidx