mirror of
https://github.com/cc65/cc65.git
synced 2025-02-07 20:30:49 +00:00
Jump to boot prompt after main program exits.
This commit is contained in:
parent
072e5e71c2
commit
7754c573d8
@ -14,6 +14,7 @@
|
||||
|
||||
.include "zeropage.inc"
|
||||
.include "extzp.inc"
|
||||
.include "osic1p.inc"
|
||||
|
||||
; ---------------------------------------------------------------------------
|
||||
; Place the startup code in a special segment
|
||||
@ -59,4 +60,4 @@ _init: ldx #$FF ; Initialize stack pointer to $01FF
|
||||
; Back from main (this is also the _exit entry): force a software break
|
||||
|
||||
_exit: jsr donelib ; Run destructors
|
||||
brk
|
||||
jmp RESET ; Display boot menu after program exit
|
||||
|
@ -2,3 +2,4 @@
|
||||
SCRNBASE := $D000 ; Base of video RAM
|
||||
VIDEORAMSIZE := $0400 ; Size of C1P video RAM (1 kB)
|
||||
INPUTC := $FD00 ; Input character from keyboard
|
||||
RESET := $FF00 ; Reset address, show boot prompt
|
Loading…
x
Reference in New Issue
Block a user