1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/tgi/tgi_getxres.s

17 lines
258 B
ArmAsm
Raw Normal View History

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