1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00
cc65/libsrc/tgi/tgi_getxres.s

18 lines
293 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 21.06.2002
;
; unsigned __fastcall__ tgi_getxres (void);
; /* Return the resolution in X direction */
.include "tgi-kernel.inc"
.export _tgi_getxres
_tgi_getxres:
lda _tgi_xres
ldx _tgi_xres+1
rts