diff --git a/src/patchers/a5count.a b/src/patchers/a5count.a index 4724524..8a89925 100644 --- a/src/patchers/a5count.a +++ b/src/patchers/a5count.a @@ -17,7 +17,7 @@ !byte $D0,$03 ; BNE +3 !byte $4C,$A5,$00; JMP $00A5 !byte $C9,$A5 ; CMP #$A5 - bcs .exit + bcs .exit ; passport-test-suite/Game Frame One.woz [C=0] matches sta gDisplayBytes pha txa diff --git a/src/patchers/a6bc95.a b/src/patchers/a6bc95.a index 7429fa6..497d2b8 100755 --- a/src/patchers/a6bc95.a +++ b/src/patchers/a6bc95.a @@ -27,7 +27,7 @@ !byte $BD,$8C,$C0; LDA $C08C,X !byte $10,$FB ; BPL -$FB !byte $C9,$95 ; CMP #$95 - bcs .exit + bcs .exit ; passport-test-suite/Writing Skills Volume 2.woz [C=0] matches ldy #$04 jsr SearchTrack !byte $AE,$F8,$01; LDX $01F8 diff --git a/src/patchers/aacount.a b/src/patchers/aacount.a index 50379f9..f7acc5a 100644 --- a/src/patchers/aacount.a +++ b/src/patchers/aacount.a @@ -22,7 +22,7 @@ !byte $D0,$02 ; BNE *+4 !byte $00 ; BRK !byte $6C,$B9,$00; JMP ($00B9) - bcs + + bcs + ; passport-test-suite/Moebius.woz [C=0] matches lda #s_aacount jsr PrintByID lda gDisplayBytes diff --git a/src/patchers/advent.a b/src/patchers/advent.a index 59b342b..90cbe56 100644 --- a/src/patchers/advent.a +++ b/src/patchers/advent.a @@ -40,9 +40,9 @@ !byte $A9,$96 ;LDA #$96 !byte $8D,WILDCARD,WILDCARD ;STA $xxxx !byte $60 ;RTS - bcs .pop - ldy #1 - jsr modify + bcs .pop ; passport-test-suite/Borrowed Time.woz [C=0] matches + ldy #1 ; passport-test-suite/Mindshadow.woz [C=0] matches + jsr modify ; passport-test-suite/The Tracer Sanction.woz [C=0] matches !byte $10 ;BEQ -> BPL ldy #23 jsr SearchTrack @@ -79,14 +79,14 @@ pla .patch ldx #0 - ldy #3 + ldy #3 ; passport-test-suite/Borrowed Time.woz [Z=1] reaches here jsr modify !byte $C9,$AA ;CMP #$AA !byte $EA ;NOP plp bcs .exit - sec - bcs .again + sec ; passport-test-suite/Mindshadow.woz [C=0] reaches here + bcs .again ; passport-test-suite/The Tracer Sanction.woz [C=1] reaches here .pop plp diff --git a/src/patchers/advint.a b/src/patchers/advint.a index 928b52e..8ce0648 100644 --- a/src/patchers/advint.a +++ b/src/patchers/advint.a @@ -4,10 +4,16 @@ ; Adventure International disks ; ; tested on -; SAGA1 - Adventureland v2.1-416 -; SAGA2 - Pirate Adventure v2.1-408 -; SAGA5 - The Count v2.1-115 -; SAGA6 - Strange Odyssey v2.1-119 +; - Curse of Crowley Manor +; - Earthquake San Francisco 1906 +; - QuestProbe featuring The Hulk +; - SAGA1 - Adventureland v2.0-416 +; - SAGA1 - Adventureland v2.1-416 +; - SAGA2 - Pirate Adventure v2.1-408 +; - SAGA3 - Mission Impossible v2.1/306 +; - SAGA4 - Voodoo Castle v2.1/119 +; - SAGA5 - The Count v2.1-115 +; - SAGA6 - Strange Odyssey v2.1-119 ;------------------------------- !zone { bit gMode ; nothing to do here in verify-only mode @@ -20,7 +26,7 @@ !byte $85,WILDCARD,WILDCARD ;JMP $**** !byte $74,$45,$09 ;LDA $C08C,X !byte $D9,$32 ;BPL -$FB - bcs .exit + bcs .exit ; passport-test-suite/S.A.G.A. 6.woz [C=0] matches sta gDisplayBytes pha lda #s_advint diff --git a/src/patchers/artsci.a b/src/patchers/artsci.a index 77cd83c..e75e622 100644 --- a/src/patchers/artsci.a +++ b/src/patchers/artsci.a @@ -5,6 +5,7 @@ ; tested on ; - AceCalc (ArtSci) ; - Magicalc (ArtSci) +; - Magic Words ; - Photar ;------------------------------- !zone { @@ -27,7 +28,7 @@ TXA STA ($3C),Y @searchend - bcs .exit + bcs .exit ; passport-test-suite/Photar.woz [C=0] matches sta gDisplayBytes pha lda #s_bytrack diff --git a/src/patchers/bademu.a b/src/patchers/bademu.a index b6c6b3e..4037610 100755 --- a/src/patchers/bademu.a +++ b/src/patchers/bademu.a @@ -6,7 +6,11 @@ ; but this confuses legacy emulators ; (AppleWin, older versions of MAME) ; so we patch it for compatibility -; e.g. Dino Dig, Make A Face +; +; tested on +; - Dino Dig (Troll Associates) +; - Make A Face (Troll Associates) +; - Let's Go There: Beginning Map and Geography Skills (Troll Associates) ;------------------------------- !zone { bit gMode ; nothing to do here in verify-only mode @@ -26,7 +30,7 @@ !byte $BD,$8C,$C0; LDA $C08C,X !byte $C9,$D5 ; CMP #$D5 !byte $F0,$12 ; BEQ +$12 - bcs .exit + bcs .exit ; passport-test-suite/Beginning Map and Geography Skills.woz [C=0] matches lda #s_d5timing jsr PrintByID lda #$03 diff --git a/src/patchers/bademu2.a b/src/patchers/bademu2.a index 9213a31..1661f9e 100755 --- a/src/patchers/bademu2.a +++ b/src/patchers/bademu2.a @@ -6,7 +6,9 @@ ; but this confuses legacy emulators ; (AppleWin, older versions of MAME) ; so we patch it for compatibility -; e.g. Dinosaur Days +; +; tested on +; - Dinosaur Days ;------------------------------- !zone { bit gMode ; nothing to do here in verify-only mode @@ -25,7 +27,7 @@ !byte $BD,$8C,$C0; LDA $C08C,X !byte $C9,$D5 ; CMP #$D5 !byte $F0,$12 ; BEQ +$12 - bcs .exit + bcs .exit ; passport-test-suite/Dinosaur Days.woz [C=0] matches lda #$03 ldx #$59 ldy #$02 diff --git a/src/patchers/bb03.a b/src/patchers/bb03.a index 5d625d6..f0092d9 100755 --- a/src/patchers/bb03.a +++ b/src/patchers/bb03.a @@ -3,19 +3,19 @@ ; boot1 calls $BB03 for a self-decrypting nibble check ; ; variant 1 (JSR $BB03) -; Classifying Animals with Backbones -; EduCalc +; - Classifying Animals with Backbones +; - EduCalc ; ; variant 2 (JSR $BB03 but David-DOS) -; Case of the Great Train Robbery -; Case of the Missing Chick -; Mrs. Wigglesworth's Secret -; Mystery of the Witch's Shoes +; - Case of the Great Train Robbery +; - Case of the Missing Chick +; - Mrs. Wigglesworth's Secret +; - Mystery of the Witch's Shoes ; ; variant 3 (JMP $BB03) -; Alice in Wonderland -; Sum Ducks -; Trivia Fever +; - Alice in Wonderland (some versions) +; - Sum Ducks +; - Trivia Fever ;------------------------------- !zone { sec @@ -65,7 +65,8 @@ ldy #$01 jsr modify ; and set T00,S06,$0F = !byte $89 ; encrypted, decrypts to $10 which is the expected nibble count value - bvc .no ; unconditional branch + ; unconditional branch (V is always 0 coming out of modify) + bvc .no ; passport-test-suite/Trivia Fever.woz [V=0] reaches here .variant1 lda #$05 ldx #$03 @@ -76,10 +77,11 @@ !byte $A9,$18 !byte $48 !byte $4C,$93,$B7 - bvc .no ; uncondtional branch + ; unconditional branch (V is always 0 coming out of modify) + bvc .no ; passport-test-suite/Classifying Animals with Backbones.woz [V=0] reaches here .variant2 lda #$07 - ldx #$03 + ldx #$03 ; passport-test-suite/Case of the Great Train Robbery.woz [Z=0] reaches here ldy #$0B jsr modify ; then set T00,S07,$03 = !byte $A9,$B5