Don't save and restore the zero page locations used.

Saves 19 bytes code (in the exe file) and reduces memory footprint
of the program by 45 bytes (code & bss).
This commit is contained in:
Christian Groessler
2013-07-02 19:55:00 +02:00
parent 5edcd639e0
commit 7ebaec1802
3 changed files with 6 additions and 29 deletions

View File

@@ -19,7 +19,6 @@ SEGMENTS {
CODE: load = RAM, type = ro, define = yes;
RODATA: load = RAM, type = ro;
DATA: load = RAM, type = rw;
ZPSAVE: load = RAM, type = bss, define = yes;
BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = zp, optional = yes;

View File

@@ -19,7 +19,6 @@ SEGMENTS {
CODE: load = RAM, type = ro, define = yes;
RODATA: load = RAM, type = ro;
DATA: load = RAM, type = rw;
ZPSAVE: load = RAM, type = bss, define = yes;
BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = zp, optional = yes;