]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/wherey.s
Moved the 'disk' files from 'geos-cbm' to 'geos-common' which are believed to work...
[cc65] / libsrc / cbm / wherey.s
index 869be4baff02e2d0ac2c0eb90b316a9b2f6241a5..53c5b4f6d6c3c9800fe40103718aa548cd386398 100644 (file)
@@ -5,13 +5,11 @@
 ;
 
        .export         _wherey
-        .import         PLOT
+        .import         CURS_Y: zp
 
 
 .proc   _wherey
-       sec
-       jsr     PLOT            ; Get cursor position
-       txa
+        lda     CURS_Y
         ldx     #$00
        rts
 .endproc