diff --git a/libsrc/atmos/crt0.s b/libsrc/atmos/crt0.s index c95f8f55d..4bbebbc74 100644 --- a/libsrc/atmos/crt0.s +++ b/libsrc/atmos/crt0.s @@ -9,7 +9,7 @@ .export _exit .import initlib, donelib .import callmain, zerobss - .import __RAM_START__, __RAM_SIZE__, __RAM_LAST__ + .import __RAM_START__, __RAM_SIZE__, __BSS_LOAD__ .include "zeropage.inc" .include "atmos.inc" @@ -27,7 +27,7 @@ .byte $00 ; $2AF .byte $80 ; $2AE Machine code flag .byte $C7 ; $2AD Autoload flag - .dbyt __RAM_START__ + __RAM_LAST__ ; $2AB + .dbyt __BSS_LOAD__ ; $2AB .dbyt __RAM_START__ ; $2A9 .byte $00 ; $2A8 .byte $00 ; Zero terminated name