From: Greg King Date: Sun, 8 Mar 2015 14:06:00 +0000 (-0400) Subject: Described how to change the boot loader's actions. X-Git-Tag: V2.15~18^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9dbce378fed55a03a2ec3a912333b9f20acaac68;p=cc65 Described how to change the boot loader's actions. --- diff --git a/libsrc/osic1p/bootstrap.s b/libsrc/osic1p/bootstrap.s index 298de8f73..5116cc15a 100644 --- a/libsrc/osic1p/bootstrap.s +++ b/libsrc/osic1p/bootstrap.s @@ -1,5 +1,5 @@ ; -; 2015-03-06, Greg King +; 2015-03-08, Greg King ; ; When you want to create a program with the alternate file format, @@ -19,6 +19,19 @@ ram_top := __RAM_START__ + __RAM_SIZE__ .segment "BOOT" +; If you want to change how this bootstrap loader works, then: +; 1. edit this assembly source code, +; 2. define the constant ASM (uncomment the line below), +; 3. assemble this file (and, make a listing of that assembly), +; 4. copy the listing's hex codes into the .byte lines below (notice that most +; of the strings are followed by CR; it's required by the OS65V monitor) +; (be sure to match the listing's lines against the .byte lines), +; 5. undefine ASM (recomment the line), +; 6. assemble this file, again, +; 7. and, add the object file to "osic1p.lib". + +;ASM = 1 + .ifdef ASM .include "osic1p.inc"