1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-09 13:25:06 +00:00

Fixed none.cfg

This commit is contained in:
bauen1
2018-01-04 22:01:44 +01:00
parent ef993f2fcf
commit cea8332084

View File

@@ -1,9 +1,14 @@
FEATURES {
STARTADDRESS: default = $1000;
}
SYMBOLS { SYMBOLS {
__STACKSIZE__: type = weak, value = $0800; # 2k stack __STACKSIZE__: type = weak, value = $0800; # 2k stack
__STACKSTART__: type = weak, value = $8000;
__ZPSTART__: type = weak, value = $0080;
} }
MEMORY { MEMORY {
ZP: file = "", define = yes, start = $0000, size = $0001F; ZP: file = "", define = yes, start = __ZPSTART__, size = $001F;
MAIN: file = %O, define = yes, start = %S, size = $10000 - __STACKSIZE__; MAIN: file = %O, define = yes, start = %S, size = __STACKSTART__ - __STACKSIZE__;
} }
SEGMENTS { SEGMENTS {
ZEROPAGE: load = ZP, type = zp; ZEROPAGE: load = ZP, type = zp;