Implementing TGI
git-svn-id: svn://svn.cc65.org/cc65/trunk@1311 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
19
libsrc/tgi/tgi_getxres.s
Normal file
19
libsrc/tgi/tgi_getxres.s
Normal file
@@ -0,0 +1,19 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 21.06.2002
|
||||
;
|
||||
; unsigned __fastcall__ tgi_getxres (void);
|
||||
; /* Return the resolution in X direction */
|
||||
|
||||
|
||||
.include "tgi-kernel.inc"
|
||||
.export _tgi_getxres
|
||||
.import ldaxidx
|
||||
|
||||
|
||||
_tgi_getxres:
|
||||
lda _tgi_drv
|
||||
ldx _tgi_drv+1
|
||||
ldy #TGI_HDR_XRES+1
|
||||
jmp ldaxidx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user