mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Described how to change the boot loader's actions.
This commit is contained in:
parent
2d50267bd8
commit
9dbce378fe
@ -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,
|
; When you want to create a program with the alternate file format,
|
||||||
@ -19,6 +19,19 @@ ram_top := __RAM_START__ + __RAM_SIZE__
|
|||||||
|
|
||||||
.segment "BOOT"
|
.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
|
.ifdef ASM
|
||||||
|
|
||||||
.include "osic1p.inc"
|
.include "osic1p.inc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user