From 9dbce378fed55a03a2ec3a912333b9f20acaac68 Mon Sep 17 00:00:00 2001 From: Greg King Date: Sun, 8 Mar 2015 10:06:00 -0400 Subject: [PATCH] Described how to change the boot loader's actions. --- libsrc/osic1p/bootstrap.s | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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" -- 2.39.5