]> git.sur5r.net Git - cc65/commitdiff
SCREEN->screensize
authormrdudz <mrdudz@users.noreply.github.com>
Thu, 1 Oct 2015 13:03:11 +0000 (15:03 +0200)
committermrdudz <mrdudz@users.noreply.github.com>
Thu, 1 Oct 2015 13:03:11 +0000 (15:03 +0200)
libsrc/c64/extra/soft80.s
libsrc/c64/soft80_kscreen.s [deleted file]
libsrc/c64/soft80_scrsize.s [new file with mode: 0644]

index baf61f6353111bac7461b506391452e2efe552c4..e6b373b64e437340153c88c0f682ac2af4408055 100644 (file)
@@ -48,8 +48,8 @@
         .export PLOT := soft80_kplot
 
         ; soft80_kscreen.s
-        .import soft80_kscreen
-        .export SCREEN := soft80_kscreen
+        .import soft80_screensize
+        .export screensize := soft80_screensize
 
 ;-------------------------------------------------------------------------------
 ; force the init constructor to be imported
diff --git a/libsrc/c64/soft80_kscreen.s b/libsrc/c64/soft80_kscreen.s
deleted file mode 100644 (file)
index 22c7b67..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-
-        .export         soft80_kscreen
-
-        .include        "soft80.inc"
-
-soft80_kscreen:
-        ldy     #screenrows
-        ldx     #charsperline
-        rts
diff --git a/libsrc/c64/soft80_scrsize.s b/libsrc/c64/soft80_scrsize.s
new file mode 100644 (file)
index 0000000..caaeb47
--- /dev/null
@@ -0,0 +1,9 @@
+
+        .export         soft80_screensize
+
+        .include        "soft80.inc"
+
+soft80_screensize:
+        ldy     #screenrows
+        ldx     #charsperline
+        rts