1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/libsrc/tgi/tgi_getaspectratio.s
uz a507605a89 New TGI routines tgi_getaspectratio/tgi_setaspectratio.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5009 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-01 18:40:38 +00:00

20 lines
366 B
ArmAsm

;
; Ullrich von Bassewitz, 2011-05-01
;
; unsigned __fastcall__ tgi_getaspectratio (void);
; /* Returns the aspect ratio for the loaded driver. The aspect ratio is an
; * 8.8 fixed point value.
; */
;
.include "tgi-kernel.inc"
.proc _tgi_getaspectratio
lda _tgi_aspectratio
ldx _tgi_aspectratio+1
rts
.endproc