mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-22 04:29:59 +00:00
press 0 after verification fails to retry and ignore all bad sectors
This commit is contained in:
parent
639c442cb5
commit
052894065a
@ -594,8 +594,13 @@ TheEnd
|
||||
beq CleanExit
|
||||
cmp #k_redo
|
||||
beq HandleRedo
|
||||
cmp #k_redo_with_ignore
|
||||
beq HandleRedoWithIgnore
|
||||
jmp MainMenu
|
||||
|
||||
HandleRedoWithIgnore
|
||||
jsr InitSectorMapWithIgnore
|
||||
; note: execution falls through here
|
||||
HandleRedo
|
||||
jsr ClearScreen
|
||||
lda #s_header
|
||||
|
@ -35,13 +35,16 @@ kSectorResetAdaptiveRWTS = $C0 ; will accept any epilogue on next sector,
|
||||
kSectorIgnoreAddressChecksum = $C1 ; will ignore address field checksum
|
||||
kSectorCustomDOS32B4BB = $C2 ; DOS 3.2 / JMP B4BB RWTS swapper
|
||||
;-------------------------------
|
||||
InitSectorMap
|
||||
!zone {
|
||||
lda #<sectormap
|
||||
sta .B+1
|
||||
lda #>sectormap
|
||||
sta .B+2
|
||||
InitSectorMapWithIgnore
|
||||
lda #kSectorOptional
|
||||
!byte $2C
|
||||
InitSectorMap
|
||||
lda #kSectorRequired
|
||||
ldx #<sectormap
|
||||
stx .B+1
|
||||
ldx #>sectormap
|
||||
stx .B+2
|
||||
ldx #$22
|
||||
.A ldy #$0F
|
||||
.B sta $FFFF
|
||||
|
@ -10,6 +10,7 @@ k_crack = "C"
|
||||
k_slot = "S"
|
||||
k_quit = "Q"
|
||||
k_redo = "2" ;for some side 'B'
|
||||
k_redo_with_ignore = "0";
|
||||
; <Esc> will also quit
|
||||
|
||||
!source "strings/enid.a"
|
||||
@ -147,7 +148,7 @@ StringTable
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2018-10-10",$00
|
||||
!text "Passport by 4am 2018-10-11",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
|
Loading…
Reference in New Issue
Block a user