1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +00:00
cc65/libsrc/tgi/tgi_getaspectratio.s

20 lines
366 B
ArmAsm
Raw Normal View History

;
; 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