]> git.sur5r.net Git - cc65/blobdiff - libsrc/tgi/tgi_getmaxx.s
remove superfluous ".code" line
[cc65] / libsrc / tgi / tgi_getmaxx.s
index bbfa3d6382549b6297321cc7da9b62059cd821e2..c6300a2877095c8892cfa5363a095b1d4079a099 100644 (file)
@@ -7,14 +7,14 @@
 ;  */
 
         .include        "tgi-kernel.inc"
-        .export         _tgi_getmaxx
-        .import         _tgi_getxres
-        .import         decax1
 
 
-_tgi_getmaxx:
-        jsr     _tgi_getxres
-        jmp     decax1
+.proc   _tgi_getmaxx
 
+        lda     _tgi_xmax
+        ldx     _tgi_xmax+1
+        rts
+
+.endproc