Implementing TGI
git-svn-id: svn://svn.cc65.org/cc65/trunk@1311 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
20
libsrc/tgi/tgi_getmaxx.s
Normal file
20
libsrc/tgi/tgi_getmaxx.s
Normal file
@@ -0,0 +1,20 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 21.06.2002
|
||||
;
|
||||
; unsigned __fastcall__ tgi_getmaxx (void);
|
||||
; /* Return the maximum x coordinate. The resolution in x direction is
|
||||
; * getmaxx() + 1
|
||||
; */
|
||||
|
||||
.include "tgi-kernel.inc"
|
||||
.export _tgi_getmaxx
|
||||
.import _tgi_getxres
|
||||
.import decax1
|
||||
|
||||
|
||||
_tgi_getmaxx:
|
||||
jsr _tgi_getxres
|
||||
jmp decax1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user