; add "-u __BOOT__" to the cl65/ld65 command line. Then, the linker
; will import this symbol name; and, link this module at the front
; of your program file.
-;
- .export __BOOT__:abs = 1
- .import __RAM_START__, __RAM_SIZE__, __BSS_RUN__
+ .export __BOOT__ : abs = 1
+
+ .import __MAIN_START__, __MAIN_SIZE__, __BSS_RUN__
; ------------------------------------------------------------------------
-load_addr := __RAM_START__
-load_size = __BSS_RUN__ - __RAM_START__
-ram_top := __RAM_START__ + __RAM_SIZE__
+load_addr := __MAIN_START__
+load_size = __BSS_RUN__ - __MAIN_START__
+ram_top := __MAIN_START__ + __MAIN_SIZE__
.segment "BOOT"