1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00

Fixed none.cfg

This commit is contained in:
bauen1 2018-01-04 22:01:44 +01:00
parent ef993f2fcf
commit cea8332084
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C

View File

@ -1,9 +1,14 @@
FEATURES {
STARTADDRESS: default = $1000;
}
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 {
ZP: file = "", define = yes, start = $0000, size = $0001F;
MAIN: file = %O, define = yes, start = %S, size = $10000 - __STACKSIZE__;
ZP: file = "", define = yes, start = __ZPSTART__, size = $001F;
MAIN: file = %O, define = yes, start = %S, size = __STACKSTART__ - __STACKSIZE__;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;