mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Force inclusion of 'shadow RAM preparation' load chunk in crt0.s and
not in the linker config file.
This commit is contained in:
parent
9a3ca6769a
commit
478a7679a2
@ -13,7 +13,6 @@ SYMBOLS {
|
||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||
__STARTADDRESS__: type = export, value = %S;
|
||||
sramprep: type = import; # force inclusion of SRPREP
|
||||
}
|
||||
|
||||
MEMORY {
|
||||
|
@ -9,7 +9,6 @@ SYMBOLS {
|
||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||
__OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
|
||||
__STARTADDRESS__: type = export, value = %S;
|
||||
sramprep: type = import; # force inclusion of SRPREP
|
||||
}
|
||||
|
||||
MEMORY {
|
||||
|
@ -8,7 +8,6 @@ SYMBOLS {
|
||||
__AUTOSTART__: type = import; # force inclusion of autostart "trailer"
|
||||
__STACKSIZE__: type = weak, value = $0800; # 2k stack
|
||||
__STARTADDRESS__: type = export, value = %S;
|
||||
sramprep: type = import; # force inclusion of SRPREP
|
||||
}
|
||||
|
||||
MEMORY {
|
||||
|
@ -20,6 +20,7 @@
|
||||
.import sram_init
|
||||
.import scrdev
|
||||
.import findfreeiocb
|
||||
.forceimport sramprep ; force inclusion of the "shadow RAM preparation" load chunk
|
||||
.include "save_area.inc"
|
||||
.endif
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
.ifdef __ATARIXL__
|
||||
|
||||
.export sramprep
|
||||
|
||||
.import __SRPREP_LOAD__, __SRPREPCHNK_LAST__
|
||||
.import __SHADOW_RAM_LOAD__, __SHADOW_RAM_SIZE__, __SHADOW_RAM_RUN__
|
||||
.import __SHADOW_RAM2_LOAD__, __SHADOW_RAM2_SIZE__, __SHADOW_RAM2_RUN__
|
||||
|
Loading…
Reference in New Issue
Block a user