mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
Make start of ROM depend on CARTSIZE
This commit is contained in:
parent
0be3882f08
commit
750ce30768
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
SYMBOLS {
|
SYMBOLS {
|
||||||
__STACKSIZE__: type = weak, value = $0600; # C stack
|
__STACKSIZE__: type = weak, value = $0600; # C stack
|
||||||
__CARTSIZE__: type = weak, value = $c000;
|
__CARTSIZE__: type = weak, value = $8000;
|
||||||
__VEC_BOTTOM__: value = $fffa, type = export;
|
__VEC_BOTTOM__: value = $fffa, type = export;
|
||||||
__VEC_SIZE__: value = $6, type = export;
|
__VEC_SIZE__: value = $6, type = export;
|
||||||
__ENCRYPT_BOTTOM__: value = $ff7a, type = export;
|
__ENCRYPT_BOTTOM__: value = $ff7a, type = export;
|
||||||
@ -12,7 +12,7 @@ SYMBOLS {
|
|||||||
__MEMORY_TOP__: value = __ENCRYPT_BOTTOM__, type = export;
|
__MEMORY_TOP__: value = __ENCRYPT_BOTTOM__, type = export;
|
||||||
__INIT_SIZE__: value = 69, type = export;
|
__INIT_SIZE__: value = 69, type = export;
|
||||||
__MEMORY_INIT__: value = __MEMORY_TOP__ - __INIT_SIZE__, type = export;
|
__MEMORY_INIT__: value = __MEMORY_TOP__ - __INIT_SIZE__, type = export;
|
||||||
__MEMORY_BOTTOM__: value = $8000, type = export;
|
__MEMORY_BOTTOM__: value = $10000 - __CARTSIZE__, type = weak;
|
||||||
__FREE_ROM_SIZE__: value = __MEMORY_INIT__ - __MEMORY_BOTTOM__, type = export;
|
__FREE_ROM_SIZE__: value = __MEMORY_INIT__ - __MEMORY_BOTTOM__, type = export;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user