]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/wherey.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / apple2 / wherey.s
index a8c341c4838b02763a7eb847c879aceeb25efb88..daacaaba79d30841952f4c75240ddc154c600a07 100644 (file)
@@ -1,17 +1,16 @@
+;
+; Kevin Ruland
+;
+; unsigned char wherey (void);
+;
 
-       ;; Keivn Ruland
-       ;;
-       ;; unsigned char wherey( void );
+        .export         _wherey
 
-       .export         _wherey
+        .include        "apple2.inc"
 
-       .include        "apple2.inc"
-
-.proc   _wherey
-
-       lda     CV
+_wherey:
+        lda     CV
+        sec
+        sbc     WNDTOP
         ldx     #$00
-       rts
-
-.endproc
-
+        rts