]> git.sur5r.net Git - cc65/commitdiff
Undo accidental rename of wrong scrsize.s file.
authorStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sun, 30 Nov 2014 15:00:55 +0000 (16:00 +0100)
committerStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sun, 30 Nov 2014 15:00:55 +0000 (16:00 +0100)
libsrc/conio/_scrsize.s [deleted file]
libsrc/conio/scrsize.s [new file with mode: 0644]

diff --git a/libsrc/conio/_scrsize.s b/libsrc/conio/_scrsize.s
deleted file mode 100644 (file)
index 6582568..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-;
-; Ullrich von Bassewitz, 08.08.1998
-;
-; void screensize (unsigned char* x, unsigned char* y);
-;
-
-        .export         _screensize
-
-        .import         popsreg
-        .import         screensize
-        .importzp       ptr1, sreg
-
-.proc   _screensize
-
-        sta     ptr1            ; Store the y pointer
-        stx     ptr1+1
-        jsr     popsreg         ; Get the x pointer into sreg
-        jsr     screensize      ; Get screensize into X/Y
-        tya                     ; Get Y size into A
-
-.IFP02
-        ldy     #0
-        sta     (ptr1),y
-        txa
-        sta     (sreg),y
-.ELSE
-        sta     (ptr1)
-        txa
-        sta     (sreg)
-.ENDIF
-
-        rts
-
-.endproc
-
diff --git a/libsrc/conio/scrsize.s b/libsrc/conio/scrsize.s
new file mode 100644 (file)
index 0000000..6582568
--- /dev/null
@@ -0,0 +1,35 @@
+;
+; Ullrich von Bassewitz, 08.08.1998
+;
+; void screensize (unsigned char* x, unsigned char* y);
+;
+
+        .export         _screensize
+
+        .import         popsreg
+        .import         screensize
+        .importzp       ptr1, sreg
+
+.proc   _screensize
+
+        sta     ptr1            ; Store the y pointer
+        stx     ptr1+1
+        jsr     popsreg         ; Get the x pointer into sreg
+        jsr     screensize      ; Get screensize into X/Y
+        tya                     ; Get Y size into A
+
+.IFP02
+        ldy     #0
+        sta     (ptr1),y
+        txa
+        sta     (sreg),y
+.ELSE
+        sta     (ptr1)
+        txa
+        sta     (sreg)
+.ENDIF
+
+        rts
+
+.endproc
+