1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-05 23:05:24 +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