]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/wherex.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / cbm / wherex.s
index c7076ad8433e45f4ed71e039f79c034489c0fb73..b8f5e16d4e342c7023cdf22171867d7c0fe64bf5 100644 (file)
@@ -5,14 +5,12 @@
 ;
 
        .export         _wherex
-        .import         PLOT
+        .import         CURS_X: zp
 
 
 .proc   _wherex
-       sec
-       jsr     PLOT            ; Get cursor position
-       tya
+        lda     CURS_X
         ldx     #$00
        rts
 .endproc
-        
+