reboot on ctrl-q

This commit is contained in:
Peter Ferrie committed 2026-05-28 19:19:09 -07:00
1 parent 0e267b1338
commit 105b6465e7
2 files changed
+1 -4

No files matched your search

-1
View File
@@ -109,7 +109,6 @@ DHIRESOFF = $C05F ; double hi-res off switch
; (prefixed because so much of the program runs from LC RAM, so don't call
; these without thinking about memory banks first)
ROM_TEXT2COPY =$F962 ; turn on alternate display mode on IIgs
ROM_REBOOT = $FAA6
ROM_TEXT = $FB2F
ROM_MACHINEID =$FBB3
ROM_MACHINE2C =$FBC0
+1 -3
View File
@@ -18,7 +18,5 @@ OnQuit
jsr SwitchToBank2
jsr EnableAcceleratorAndSwitchToBank1
PatchQuit
inc $101 ; bank in ROM
+LDADDR ROM_REBOOT
+ST16 $104
+FORCE_REBOOT
jmp $100