1
0
mirror of https://github.com/UzixLS/pacemuzx.git synced 2025-07-18 23:01:36 +03:00

Removed quit option

DivIDE MAPRAM bit cannot be cleared once set, so there's no way to page it out.  That removes the whole point of the feature!
This commit is contained in:
Simon Owen
2011-12-06 20:10:32 +00:00
parent b307c1fce8
commit 40353e0db0

View File

@ -163,7 +163,7 @@ no_specnet:
ldir ; copy last 8K of ROM to DivIDE page 0
ld a,%01000000 ; MAPRAM
out (divide),a ; page out DivIDE, if present
out (divide),a ; page 3 at &0000 (read-only), page 0 at &2000
ld a,(scr_page) ; normal display, page 7
ld bc,&7ffd
@ -754,11 +754,6 @@ do_input: ld de,&ffff ; nothing pressed
rra ; Shift?
jr c,not_bright
set 6,c ; use bright version
ld a,&fb
in a,(keyboard)
rra
jp nc,do_quit ; Sym+Shift+Q = quit/reset
not_bright:
ld a,&f7
@ -2588,13 +2583,6 @@ blockdown_de: ld a,e
ld d,a
ret
; Resetting the Spectrum while +3 paging is active is a problem for hardware
; using traps, so provide a method to restore paging and reset to the menu
do_quit: xor a
ld bc,&1ffd
out (c),a
jp 0
; Check that Spectranet traps are disabled, if one is connected
chk_specnet: ld hl,&3ff9 ; PAGEIN