From: mrdudz Date: Thu, 1 Oct 2015 13:03:11 +0000 (+0200) Subject: SCREEN->screensize X-Git-Tag: V2.16~210^2~45 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ea842b88b7e799826f33ec9b8c80d4a0091bebe;p=cc65 SCREEN->screensize --- diff --git a/libsrc/c64/extra/soft80.s b/libsrc/c64/extra/soft80.s index baf61f635..e6b373b64 100644 --- a/libsrc/c64/extra/soft80.s +++ b/libsrc/c64/extra/soft80.s @@ -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 index 22c7b6788..000000000 --- a/libsrc/c64/soft80_kscreen.s +++ /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 index 000000000..caaeb4791 --- /dev/null +++ b/libsrc/c64/soft80_scrsize.s @@ -0,0 +1,9 @@ + + .export soft80_screensize + + .include "soft80.inc" + +soft80_screensize: + ldy #screenrows + ldx #charsperline + rts