mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-28 14:32:09 +00:00
better sigcheck patch with no disk grinding
This commit is contained in:
parent
5fb1e40e0a
commit
d6a68f40f5
@ -83,10 +83,6 @@ FIRSTFILTER
|
|||||||
!byte FALSE ; 0=true, 1=false
|
!byte FALSE ; 0=true, 1=false
|
||||||
; reset before each operation
|
; reset before each operation
|
||||||
; set in IDVolumeName() after identifying ProDOS bootloader
|
; set in IDVolumeName() after identifying ProDOS bootloader
|
||||||
;gPossibleSigCheck
|
|
||||||
!byte FALSE ; 0=true, 1=false
|
|
||||||
; reset before each operation
|
|
||||||
; set in IsWideTrack() after finding extra wide protection track
|
|
||||||
;gPossibleB4BBBasic
|
;gPossibleB4BBBasic
|
||||||
!byte FALSE ; 0=true, 1=false
|
!byte FALSE ; 0=true, 1=false
|
||||||
; reset before each operation
|
; reset before each operation
|
||||||
|
@ -182,8 +182,7 @@ gIsTSR = gIsDiversi-$01 ; byte
|
|||||||
gPossibleMECCSwapper = gIsTSR-$01 ; byte
|
gPossibleMECCSwapper = gIsTSR-$01 ; byte
|
||||||
gPossibleWoodbury = gPossibleMECCSwapper-$01 ; byte
|
gPossibleWoodbury = gPossibleMECCSwapper-$01 ; byte
|
||||||
gPossibleB4BBBasic = gPossibleWoodbury-$01 ; byte
|
gPossibleB4BBBasic = gPossibleWoodbury-$01 ; byte
|
||||||
gPossibleSigCheck = gPossibleB4BBBasic-$01 ; byte
|
gIsLowDOS = gPossibleB4BBBasic-$01 ; byte
|
||||||
gIsLowDOS = gPossibleSigCheck-$01 ; byte
|
|
||||||
;LASTFILTER ; add new gIs* above this line
|
;LASTFILTER ; add new gIs* above this line
|
||||||
;gIsInfocom18 is a special case whose ID is not in the regular inspection path
|
;gIsInfocom18 is a special case whose ID is not in the regular inspection path
|
||||||
gIsInfocom18 = gIsLowDOS-$01 ; byte
|
gIsInfocom18 = gIsLowDOS-$01 ; byte
|
||||||
|
@ -3,22 +3,25 @@
|
|||||||
; productized extra wide track protection check
|
; productized extra wide track protection check
|
||||||
;
|
;
|
||||||
; tested on
|
; tested on
|
||||||
; - Advanced Electricity
|
; - Advanced Electricity (EME)
|
||||||
; - Complex Circuits
|
; - Complex Circuits (EME)
|
||||||
; - Projectile and Circular Motion
|
; - Projectile and Circular Motion (EME)
|
||||||
|
; - Inca (Hayden)
|
||||||
|
; - Holy Grail (Hayden)
|
||||||
|
; - The Dam Busters (Accolade)
|
||||||
|
; - Conjecture (Robert Scott)
|
||||||
|
; - Solo Flight (MicroProse)
|
||||||
;-------------------------------
|
;-------------------------------
|
||||||
lda gPossibleSigCheck
|
lda gIsBoot0
|
||||||
bne +
|
bne +
|
||||||
ldy #$0A
|
ldy #$06
|
||||||
jsr SearchTrack
|
jsr SearchTrack
|
||||||
!byte $4C,$42,$61
|
!byte $18 ; CLC
|
||||||
!byte $A9,$00
|
!byte $B0,$7E ; BCS +
|
||||||
!byte $F0,$02
|
!byte $A5,$00 ; LDA $00
|
||||||
!byte $A9,$FF
|
|
||||||
!byte $48
|
!byte $48
|
||||||
bcs + ; passport-test-suite/Advanced Electricity.woz [C=0] matches
|
bcs + ; passport-test-suite/Advanced Electricity.woz [C=0] matches
|
||||||
jsr inx8
|
jsr modify3
|
||||||
jsr modify1
|
!byte $A9,$00 ; LDA #$00
|
||||||
!byte $00
|
!byte $60 ; RTS
|
||||||
+
|
+
|
||||||
|
|
||||||
|
@ -3,26 +3,19 @@
|
|||||||
; productized extra wide track protection check
|
; productized extra wide track protection check
|
||||||
;
|
;
|
||||||
; tested on
|
; tested on
|
||||||
; - Hardball
|
; - Hardball (Accolade)
|
||||||
|
; - Law of the West (Accolade)
|
||||||
;-------------------------------
|
;-------------------------------
|
||||||
; gTrack = 0
|
; gTrack = 0
|
||||||
|
|
||||||
ldy #$0A
|
ldy #$06
|
||||||
jsr SearchTrack
|
jsr SearchTrack
|
||||||
!byte $4C,$42,$61
|
!byte $18 ; CLC
|
||||||
!byte $A9,$00
|
!byte $B0,$7E ; BCS +
|
||||||
!byte $F0,$02
|
!byte $A5,$00 ; LDA $00
|
||||||
!byte $A9,$FF
|
|
||||||
!byte $48
|
!byte $48
|
||||||
bcs + ; passport-test-suite/Hardball.woz [C=0] matches
|
bcs + ; passport-test-suite/Hardball.woz [C=0] matches
|
||||||
inx
|
jsr modify3
|
||||||
inx
|
!byte $A9,$00 ; LDA #$00
|
||||||
inx
|
!byte $60 ; RTS
|
||||||
inx
|
|
||||||
inx
|
|
||||||
inx
|
|
||||||
inx
|
|
||||||
inx
|
|
||||||
jsr modify1
|
|
||||||
!byte $00
|
|
||||||
+
|
+
|
||||||
|
@ -267,9 +267,7 @@ IsWideTrack
|
|||||||
beq +
|
beq +
|
||||||
sec
|
sec
|
||||||
rts
|
rts
|
||||||
+ lda #TRUE
|
+ clc
|
||||||
sta gPossibleSigCheck
|
|
||||||
clc
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
;-------------------------------
|
;-------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user