From b0c980d184b108ba31883e6f6b1c031f4239c9c7 Mon Sep 17 00:00:00 2001 From: 4am Date: Mon, 17 Jun 2019 11:45:57 -0400 Subject: [PATCH] test suite comments --- src/patchers/corrupter.a | 2 +- src/patchers/d5d5f7.a | 6 +-- src/patchers/dakin5.a | 2 +- src/patchers/datasoft.a | 2 +- src/patchers/davidsonasm.a | 2 +- src/patchers/davidsonforth.a | 2 +- src/patchers/diskvol.a | 4 +- src/patchers/dos32.a | 2 +- src/patchers/dos32dlm.a | 2 +- src/patchers/dos32muse.a | 2 +- src/patchers/e7everywhere.a | 2 +- src/patchers/ea.a | 25 +++++++++ src/patchers/f7f6.a | 2 +- src/patchers/fbff.a | 89 +++++++++++++++++++++++++++++-- src/patchers/fbffencrypted.a | 2 +- src/patchers/fbffpascal.a | 2 +- src/patchers/gamco.a | 2 +- src/patchers/hallabs.a | 2 +- src/patchers/hoffman.a | 2 +- src/patchers/holle.a | 2 +- src/patchers/jmpb400.a | 2 +- src/patchers/jmpb412.a | 2 +- src/patchers/jmpb4bb.a | 44 +++++++++++++-- src/patchers/jmpb660.a | 2 +- src/patchers/jmpb720.a | 2 +- src/patchers/jmpbbfe.a | 94 +++++++++++++++++++++++++++++++-- src/patchers/jmpbcf0.a | 2 +- src/patchers/jmpbeb1.a | 37 ++++++++++--- src/patchers/jmpbeca.a | 13 ++--- src/patchers/jsr8635.a | 2 +- src/patchers/jsr8b3.a | 2 +- src/patchers/laureate.a | 2 +- src/patchers/mecc.a | 8 +-- src/patchers/memory.config.a | 2 +- src/patchers/microfun.a | 2 +- src/patchers/microfun2.a | 4 +- src/patchers/micrograms.a | 2 +- src/patchers/milliken.a | 2 +- src/patchers/muserwts.a | 2 +- src/patchers/optimum.a | 2 +- src/patchers/origin.a | 2 +- src/patchers/panglosdos.a | 2 +- src/patchers/pascalrwts.a | 2 +- src/patchers/polarware.a | 4 +- src/patchers/prodos6a.a | 4 +- src/patchers/prodosmecc.a | 18 +++---- src/patchers/prodosrwts.a | 2 +- src/patchers/protecteddos.a | 6 +-- src/patchers/rdos13.a | 2 +- src/patchers/rdosfmt.a | 2 +- src/patchers/rol1e.a | 2 +- src/patchers/rwtslog.a | 12 ++--- src/patchers/rwtsswap.a | 2 +- src/patchers/rwtsswap2.a | 2 +- src/patchers/rwtsswapmecc.a | 2 +- src/patchers/rwtsswapmicrofun.a | 2 +- src/patchers/rwtsswappenguin.a | 2 +- src/patchers/springboard.a | 2 +- src/patchers/sra.a | 2 +- src/patchers/ssi.a | 2 +- src/patchers/ssprot.a | 4 +- src/patchers/sunburst.a | 2 +- src/patchers/swordthrust.a | 2 +- src/patchers/t02volumename.a | 4 +- src/patchers/trillium.a | 2 +- src/patchers/trillium2.a | 2 +- src/patchers/universale7.a | 2 +- src/patchers/zoomgrafix.a | 2 +- 68 files changed, 364 insertions(+), 114 deletions(-) diff --git a/src/patchers/corrupter.a b/src/patchers/corrupter.a index 16869ff..17ac0c1 100644 --- a/src/patchers/corrupter.a +++ b/src/patchers/corrupter.a @@ -44,7 +44,7 @@ !byte $A9,$01 ; LDA #$01 !byte $85,$04 ; STA $04 !byte $20,$28,$40; JSR $4028 - bcs .exit + bcs .exit ; passport-test-suite/Squire.woz [C=0] matches lda #s_corrupter jsr PrintByID lda #$0E diff --git a/src/patchers/d5d5f7.a b/src/patchers/d5d5f7.a index cd9f585..ba53eb0 100755 --- a/src/patchers/d5d5f7.a +++ b/src/patchers/d5d5f7.a @@ -11,7 +11,7 @@ ; Fraction-oids ; Math Magic ; RoboMath -; NoteCard Maker +; NoteCard Maker (Pascal variant) ;------------------------------- !zone { bit gMode ; nothing to do here in verify-only mode @@ -51,8 +51,8 @@ !byte $C8 ; INY !byte $18 ; CLC !byte $6D ; ADC - bcs .exit - sta gDisplayBytes + bcs .exit ; passport-test-suite/RoboMath.woz [C=0] matches + sta gDisplayBytes ; passport-test-suite/Notecard Maker.woz [C=0] matches pha lda #s_d5d5f7 jsr PrintByID diff --git a/src/patchers/dakin5.a b/src/patchers/dakin5.a index 700bff9..6a43e0a 100644 --- a/src/patchers/dakin5.a +++ b/src/patchers/dakin5.a @@ -35,7 +35,7 @@ ldy #$03 jsr compare ; and T00,S03,$9A == JMP $B6B3 - bcs .exit + bcs .exit ; passport-test-suite/MIRV.woz [C=0] matches pha lda #s_dakin5 jsr PrintByID diff --git a/src/patchers/datasoft.a b/src/patchers/datasoft.a index 4e70721..4b44136 100755 --- a/src/patchers/datasoft.a +++ b/src/patchers/datasoft.a @@ -12,7 +12,7 @@ ldy #$06 jsr SearchTrack !byte $5D,$D4,$80,$49,00,$19 - bcs .exit + bcs .exit ; passport-test-suite/Tomahawk.woz [C=0] matches sta gDisplayBytes pha lda #s_datasoft diff --git a/src/patchers/davidsonasm.a b/src/patchers/davidsonasm.a index 1610212..ef864f0 100644 --- a/src/patchers/davidsonasm.a +++ b/src/patchers/davidsonasm.a @@ -27,7 +27,7 @@ jsr compare !byte $20,$D2,$25; JSR $25D2 !byte $4C,$74,$08; JMP $0874 - bcs + + bcs + ; passport-test-suite/Word Attack Plus Spanish.woz [C=0] matches ldx #$04 ldy #$01 jsr modify diff --git a/src/patchers/davidsonforth.a b/src/patchers/davidsonforth.a index 9e31b34..9e3f6f7 100644 --- a/src/patchers/davidsonforth.a +++ b/src/patchers/davidsonforth.a @@ -18,7 +18,7 @@ ldy #$08 jsr SearchTrack !byte $08,$80,$00,$FD,$1C,$D1,$0D,$EC - bcs .exit + bcs .exit ; passport-test-suite/Read 'N Roll.woz [C=0] matches sta gDisplayBytes inx ldy #$01 diff --git a/src/patchers/diskvol.a b/src/patchers/diskvol.a index de3e5ae..7ab6b53 100755 --- a/src/patchers/diskvol.a +++ b/src/patchers/diskvol.a @@ -24,7 +24,7 @@ bcs .exit lda gForceDiskVol - beq .yes + beq .yes ; passport-test-suite/Might and Magic.woz [Z=1] matches lda gIsPanglosDOS ora gCapturedDiskVolumeNumber @@ -51,7 +51,7 @@ !byte $A0,$03 ; LDY #$03 !byte $B1,$48 ; LDA ($48),Y !byte $48 ; PHA - bcc .veryyes + bcc .veryyes ; passport-test-suite/The Incredible Laboratory.woz [C=0] matches ldx #$16 ; or T00,S08,$16 == the same thing ldy #$05 ; (variation used by PanglosDOS) diff --git a/src/patchers/dos32.a b/src/patchers/dos32.a index 6f2f5ac..6d1d3cd 100644 --- a/src/patchers/dos32.a +++ b/src/patchers/dos32.a @@ -46,7 +46,7 @@ ldy #$03 jsr compare !byte $20,$93,$37 - bcs + + bcs + ; passport-test-suite/Bellhop.woz [C=0] matches ldy #$01 jsr modify !byte $2C diff --git a/src/patchers/dos32dlm.a b/src/patchers/dos32dlm.a index c809104..f8c48b1 100644 --- a/src/patchers/dos32dlm.a +++ b/src/patchers/dos32dlm.a @@ -19,7 +19,7 @@ ldy #$03 jsr compare ; if T00,S0B,$84 == !byte $4C,$F0,$BC - bcs .exit + bcs .exit ; passport-test-suite/Demolition Division.woz [C=0] matches ldy #$03 jsr modify ; then set T00,S0B,$84 = !byte $AD,$E9,$B7 diff --git a/src/patchers/dos32muse.a b/src/patchers/dos32muse.a index 4833aaa..9d7bb9c 100644 --- a/src/patchers/dos32muse.a +++ b/src/patchers/dos32muse.a @@ -18,7 +18,7 @@ ldy #$02 jsr compare ; if T01,S08,$D6 == !byte $4C,$D5 - bcs .exit + bcs .exit ; passport-test-suite/Castle Wolfenstein.woz [C=0] matches ldy #$03 jsr modify ; then set T01,S08,$D6 = !byte $E8,$D0,$32 diff --git a/src/patchers/e7everywhere.a b/src/patchers/e7everywhere.a index 212c992..9aac466 100644 --- a/src/patchers/e7everywhere.a +++ b/src/patchers/e7everywhere.a @@ -37,7 +37,7 @@ LDA #$00 !byte $8D ; - bcs .exit + bcs .exit ; passport-test-suite/Garfield Trivia Game.woz [C=0] matches sta gDisplayBytes pha lda #s_e7everywhere diff --git a/src/patchers/ea.a b/src/patchers/ea.a index d4ebd8d..094218f 100644 --- a/src/patchers/ea.a +++ b/src/patchers/ea.a @@ -3,6 +3,31 @@ ; patched RWTS and p-code madness ; ; module by qkumba +; +; tested on +; - Adventure Construction Set +; - Archon +; - Archon II +; - Arcticfox +; - Ali Baba and the Forty Thieves +; - Axis Assassin (later releases only) +; - The Bard's Tale +; - The Bard's Tale II +; - Boulder Dash +; - Cut & Paste +; - Earth Orbit Stations +; - The Last Gladiator (all known release) +; - Lords of Conquest +; - Marble Madness +; - Mind Mirror +; - Movie Maker +; - Music Construction Set (all known releases) +; - PHM Pegasus +; - Realm of Impossibility +; - Return of Heracles +; - Robot Rascals +; - The Seven Cities of Gold +; - Skyfox ;------------------------------- !zone { bit gMode ; nothing to do here in verify-only mode diff --git a/src/patchers/f7f6.a b/src/patchers/f7f6.a index c7c8684..c81c6f0 100644 --- a/src/patchers/f7f6.a +++ b/src/patchers/f7f6.a @@ -26,7 +26,7 @@ !byte $85,$FA ; STA $FA !byte $A2,$60 ; LDX #$60 !byte $BD,$8E ; LDA $..8E,X - bcs .exit + bcs .exit ; passport-test-suite/Might and Magic.woz [C=0] matches inx inx diff --git a/src/patchers/fbff.a b/src/patchers/fbff.a index c4fc436..149fded 100755 --- a/src/patchers/fbff.a +++ b/src/patchers/fbff.a @@ -3,10 +3,91 @@ ; Activision's Timing Bit Detection: ; FB+FF FF+FF FF+FD FF+FF+FF+FF+FF+FF+FF+FF+FF+ and ; DE AA EB+FF+FF+FF+FF+FF+FF D5 AA -; Magic key is #$FF, usually EOR'ed with #$AA but not always -; As found on Aliens, Maniac Mansion + 22 other titles ; -; Module by Brian Troha +; module by Brian Troha +; +; tested on +; - Aliens +; - Alpine Tram Ride +; - Alter Ego (male and female releases) +; - Bad Dudes +; - Basic Fraction Concepts +; - Championship Baseball +; - Computer Assisted Problem Solving for Pre-Algebra +; - Computer Laboratory for Calculus +; - Countdown to Shutdown +; - Fractions II +; - GBA Championship Basketball +; - GFL Championship Football +; - Gamma Force +; - Garry Kitchen's GameMaker +; - Geometry - Simple Closed Curves +; - Greeting Card Maker +; - Hacker +; - Hacker II +; - Heavy Barrel +; - How To Weigh An Elephant +; - Lane Mastodon +; - Let's Go Fishing +; - Little Computer People +; - Magic Spells 2.1 +; - Maniac Mansion +; - Master of the Lamps +; - Math Man +; - Math Rabbit 1.0 +; - Math Rabbit 1.1 +; - Math Shop +; - Math Tutor - Addition +; - Math Tutor - Division +; - Math Tutor - Fractions Part I +; - Math Tutor - Multiplication +; - Math Tutor - Subtraction +; - MicroType - The Wonderful World of Paws +; - Microzine 15 +; - Microzine 19 +; - Microzine 20 +; - Microzine 21 +; - Microzine 22 +; - Microzine 23 +; - Microzine 24 +; - Microzine 25 +; - Microzine 8 +; - Monkey Business +; - Multiplication Advanced Level +; - Multiplication and Division +; - Number Farm +; - Number Please +; - Paper Models - The Christmas Kit +; - Platoon +; - Portal +; - Rampage +; - Reader Rabbit 1.3 +; - Scrambled Eggs +; - Shanghai +; - Sliding Block +; - Speedy Delivery +; - Spindizzy +; - Star Trek - The Kobayashi Alternative +; - Success with Reading +; - Tales From History +; - Tales of Fantasy +; - Talking Text Writer +; - The Crimson Crown 1985 +; - The Electric Crayon - ABCs +; - The Electric Crayon - Fun on the Farm +; - The Flying Carpet +; - The Rocky Horror Show +; - The Shot Heard Round The World +; - Think Quick 1.2 +; - Top Fuel Eliminator +; - Transylvania 1985 +; - Victory Road +; - Wagons West +; - Writer Rabbit 1.0 +; - Writer Rabbit 1.2 +; - Writer Rabbit 1.3 +; - Zork Quest +; - Zork Quest II ;------------------------------- !zone { bit gMode ; nothing to do here in verify-only mode @@ -22,7 +103,7 @@ !byte $C6,WILDCARD !byte $F0,WILDCARD !byte $BC,$8C,$C0 - bcs .exit + bcs .exit ; passport-test-suite/Maniac Mansion.woz [C=0] matches sta gDisplayBytes pha lda #s_fbff diff --git a/src/patchers/fbffencrypted.a b/src/patchers/fbffencrypted.a index 3f4fe5a..aedee05 100644 --- a/src/patchers/fbffencrypted.a +++ b/src/patchers/fbffencrypted.a @@ -31,7 +31,7 @@ !byte $39,$FD ; DEC $02 !byte $2F,$FB ; BNE +4 !byte $39,$FC ; DEC $03 - bcs .exit + bcs .exit ; passport-test-suite/Oo-Topos.woz [C=0] matches inx inx inx diff --git a/src/patchers/fbffpascal.a b/src/patchers/fbffpascal.a index 042f9cf..30567c5 100644 --- a/src/patchers/fbffpascal.a +++ b/src/patchers/fbffpascal.a @@ -27,7 +27,7 @@ !byte $C6,$03 ; DEC $03 !byte $F0,WILDCARD; BEQ ... (this branch offset will be used later to build the patch) !byte $AC,$EC,$C0; LDY $C0EC - bcs .exit + bcs .exit ; passport-test-suite/The Typewriter.woz [C=0] matches stx .a+1 sta gDisplayBytes adc #BASEPAGE ; carry is guaranteed to be clear here diff --git a/src/patchers/gamco.a b/src/patchers/gamco.a index 22f818f..bf12c13 100644 --- a/src/patchers/gamco.a +++ b/src/patchers/gamco.a @@ -18,7 +18,7 @@ !byte $33,$32,$01,$30,$03,$31,$39,$31 !byte $03,$31,$32,$38,$02,$31,$31,$02 !byte $39,$36 - bcs .exit + bcs .exit ; passport-test-suite/Essential Grammar.woz [C=0] matches sta gDisplayBytes pha lda #s_poke diff --git a/src/patchers/hallabs.a b/src/patchers/hallabs.a index 4a6a9f2..3b5ceb0 100644 --- a/src/patchers/hallabs.a +++ b/src/patchers/hallabs.a @@ -36,7 +36,7 @@ STA $11 !byte $20 @search2end - bcs .exit + bcs .exit ; passport-test-suite/Super Taxman II.woz [C=0] matches sta gDisplayBytes pha diff --git a/src/patchers/hoffman.a b/src/patchers/hoffman.a index d55b64d..00cc348 100644 --- a/src/patchers/hoffman.a +++ b/src/patchers/hoffman.a @@ -33,7 +33,7 @@ LDX $B7E9 LDA $C089,X ; - bcs .exit + bcs .exit ; passport-test-suite/Good Thinking - Cause and Effect Level Two.woz [C=0] matches lda #s_hoffman jsr PrintByID lda #$0C diff --git a/src/patchers/holle.a b/src/patchers/holle.a index edc63b2..ab589fe 100644 --- a/src/patchers/holle.a +++ b/src/patchers/holle.a @@ -83,7 +83,7 @@ jsr SearchTrack LDA $2F ORA $2E - bcs + + bcs + ; passport-test-suite/Crime Wave.woz [C=0] matches ldy #$04 jsr modify LDA #$00 diff --git a/src/patchers/jmpb400.a b/src/patchers/jmpb400.a index 110b139..621f2eb 100644 --- a/src/patchers/jmpb400.a +++ b/src/patchers/jmpb400.a @@ -46,7 +46,7 @@ ; BNE $00B3 ; LDA $C088,X ; JMP $9D84 - bcs .exit + bcs .exit ; passport-test-suite/Binomial Multiplication.woz [C=0] matches sta gDisplayBytes lda #s_jmpb400 jsr PrintByID diff --git a/src/patchers/jmpb412.a b/src/patchers/jmpb412.a index ee4702a..1318f37 100644 --- a/src/patchers/jmpb412.a +++ b/src/patchers/jmpb412.a @@ -24,7 +24,7 @@ !byte $99,$12,$B4; STA $B412,Y !byte $C8 ; INY !byte $C0,$FF ; CPY #$FF - bcs .exit + bcs .exit ; passport-test-suite/America Coast to Coast.woz [C=0] matches sta gDisplayBytes lda #s_jmpb412 jsr PrintByID diff --git a/src/patchers/jmpb4bb.a b/src/patchers/jmpb4bb.a index 73bfe36..326dbf6 100755 --- a/src/patchers/jmpb4bb.a +++ b/src/patchers/jmpb4bb.a @@ -1,8 +1,42 @@ ;------------------------------- ; #JMPB4BB -; boot2 jumps to $B4BB for a -; nibble check -; e.g. Troll's Tale +; boot2 jumps to $B4BB for a nibble check +; +; tested on +; - Alibi +; - Bellhop +; - Championship Golf +; - College Board 81-82 demo +; - Compu-Math v1.3.1 +; - Conglomerates Collide +; - Crime Stopper +; - Crystal Caverns +; - Early Games - Music +; - Energy Conversions +; - Kamikaze +; - King Cribbage +; - Krell's Logo (first release) +; - Laser Bounce +; - Latin Tutor +; - Max Command +; - Microscopic Journey +; - MultiPloy (first release) +; - Mummy's Curse +; - Prisoner 2 v1.0 +; - Property Management System demo +; - RAF - The Battle of Britain +; - Rhymes and Riddles +; - Rubik's Cube Unlocked +; - Shuttle Intercept +; - Snooper Troops 1 +; - The Brain Surgeon +; - The Counting Bee v1.2 +; - The Final Conflict +; - The Great Maine to California Race +; - Time Traveler (first release) +; - Troll's Tale (first release) +; - Wargle +; - Winged Samurai ;------------------------------- !zone { bit gMode ; nothing to do here in verify-only mode @@ -20,13 +54,13 @@ jsr compare ; and T02,S0x,$D7 == !byte $D8 ; CLD !byte $AD,$FF,$CF; LDA $CFFF - bcc .found + bcc .found ; passport-test-suite/Kamikaze.woz [C=0] matches ldx #$DD ldy #$04 jsr compare ; or T02,S0x,$DD == !byte $D8 ; CLD !byte $AD,$FF,$CF; LDA $CFFF - bcs .exit + bcs .exit ; passport-test-suite/Snooper Troops Case 2.woz [C=0] matches .found pha lda #s_jmpb4bb diff --git a/src/patchers/jmpb660.a b/src/patchers/jmpb660.a index 8587d0c..bf05b13 100755 --- a/src/patchers/jmpb660.a +++ b/src/patchers/jmpb660.a @@ -28,7 +28,7 @@ _jmpb660 !byte $D0,$F2 !byte $A0,$56 !byte $4C,$60,$B6 - bcs .exit + bcs .exit ; passport-test-suite/Analogies Tutorial.woz [C=0] matches lda #s_jmpb660 jsr PrintByID lda #$02 diff --git a/src/patchers/jmpb720.a b/src/patchers/jmpb720.a index 615ddd8..29c89d8 100755 --- a/src/patchers/jmpb720.a +++ b/src/patchers/jmpb720.a @@ -25,7 +25,7 @@ _jmpb720 !byte $CA !byte $10,$F1 !byte $60 - bcs .exit + bcs .exit ; passport-test-suite/Analogies Tutorial.woz [C=0] matches lda #$0B ldx #$08 ldy #$06 diff --git a/src/patchers/jmpbbfe.a b/src/patchers/jmpbbfe.a index 878e228..279eb6f 100755 --- a/src/patchers/jmpbbfe.a +++ b/src/patchers/jmpbbfe.a @@ -1,8 +1,94 @@ ;------------------------------- ; #JMPBBFE -; boot0 jumps to nibble check at -; ($BBFE) instead of ($08FD) -; e.g. Mind Over Matter +; boot0 jumps to ($BBFE) instead of ($08FD) +; for a weakbits check at $BB00 +; +; tested on +; - All About Purim +; - American Government +; - Aphasia I-IV +; - Association Pictures +; - Bible Baseball +; - Bolo +; - Building Compounds +; - Building With Vowels +; - Catch a Falling Star - Dolphin Math Games +; - Challenge Sentence Combining +; - Cloze Thinking +; - Comparing Numbers +; - Congo +; - Correct Behavior - The Mexican Way +; - Counting Patterns I +; - Counting Patterns II +; - Crisis Mountain +; - Cubit +; - Double Trouble +; - Escape from Arcturus +; - Essential Idioms +; - Flockland Island Crisis +; - Function Pictures +; - Geography Adventure USA +; - Guderian +; - Hebrew Phrasebook +; - Ice Demons +; - Identifying Affixes +; - Identifying Compound Words +; - Identifying Matching Letters +; - Identifying Vowel Sounds +; - In Search of The Most Amazing Thing +; - Kindercomp (first release) +; - Knowledge Master (all disks) +; - La Triviata +; - MasterType and Training Ground 2.1 +; - MasterType's Figures and Formulas +; - Mastering Consonants +; - Mastering Vowels +; - Matching Letters and Words +; - Math Item Banks 1-13 +; - Max Dublin's Treasure +; - Microbe (all known releases) +; - Mind Over Matter +; - Mind Prober demo +; - Nightmare Gallery +; - Number Concepts +; - Number Patterns +; - Oil Rig +; - Ordering Letters and Words +; - PSAT Word Attack Skills (all disks) +; - Place Value Recognition I +; - Pollywog +; - Pop 'R Spell +; - Prisoner 2 v1.0.1 +; - Quadrilaterals +; - Read and Spell (all disks) +; - Rhyming Pictures +; - Rocky's Boots v1.0 +; - Search (Davka) +; - Space Games - Appointment at Aldebaran and Procyon Warrior +; - Spanish Classroom Words +; - Spelling Bee Games +; - Spelling and Sound Relationships +; - Stoichiometry +; - Super Sunday 1.0 +; - Syllabication +; - Syllable Stress +; - Syllable Stress, Affixes, and Compounds +; - Tactical Armour Command +; - The Caves of Olympus +; - The Human Fly +; - The Newsroom self-running demo +; - The Philistine Ploy +; - The Planetary Guide +; - The Reading Machine (some releases) +; - The Visible Computer +; - The Vocabulary Machine v1.1 +; - Tsushima +; - Verbal Item Banks 1-13 +; - Viewmax-80 Pre-Boot +; - Vocabulary Flashcards v3.1E +; - Whole Number Practice +; - Word Unscramble +; - World War II ;------------------------------- !zone { _jmpbbfe @@ -14,7 +100,7 @@ _jmpbbfe ldy #$03 jsr compare ; and T00,S00,$4A == !byte $6C,$FE,$BB - bcs .exit + bcs .exit ; passport-test-suite/Quadrilaterals.woz [C=0] matches lda #$00 ldx #$4B ldy #$02 diff --git a/src/patchers/jmpbcf0.a b/src/patchers/jmpbcf0.a index af94b5d..0c6dd30 100755 --- a/src/patchers/jmpbcf0.a +++ b/src/patchers/jmpbcf0.a @@ -19,7 +19,7 @@ _jmpbcf0 !byte $DD,$8C,$C0 !byte $D0,$A9 !byte $4C,$F0,$BC - bcs .exit + bcs .exit ; passport-test-suite/Easy as ABC.woz [C=0] matches lda #s_jmpbcf0 jsr PrintByID lda #$03 diff --git a/src/patchers/jmpbeb1.a b/src/patchers/jmpbeb1.a index bc2abf1..0e22dfb 100755 --- a/src/patchers/jmpbeb1.a +++ b/src/patchers/jmpbeb1.a @@ -1,10 +1,33 @@ ;------------------------------- ; #JMPBEB1 -; RWTS calls $3EB1 or $BEB1 after writing -; data prologue -; e.g. Terrapin Logo 1.2, Starting with Phonics -; NOTE: must be run before RWTS -; patchers due to overlapping bytes +; RWTS calls $3EB1 or $BEB1 after writing data prologue +; +; NOTE: must be run before RWTS patchers due to overlapping bytes +; +; tested on +; - A Puff of Air - The Respiratory System +; - Air Nav Workshop +; - Alien Munchies +; - Basic Drafting - Review and Testmaker v3.0 +; - EasySearch - Sixty Countries Around The World +; - Empire II - Interstellar Sharks v1.2 +; - Flights Into Fiction - Modern Stories +; - Food Group Puzzles +; - Formula 1 Racer +; - Go To The Head Of The Class 1989 +; - Handy Dandy +; - Jenny of the Prairie +; - Krell's College Board SAT Preparation Series (all disks) +; - Let's Eat +; - Micro-Typewriter v3.1 +; - Monster Mash +; - Rendezvous (1.1 and 1.2 only) +; - Spelling Rules (Micro Power and Light) +; - TellStar II +; - Terrapin Logo (v2.00 only) +; - The Disappearing Dinner - The Digestive System +; - The Science Professor (all disks) +; - Word Puzzles for Creative Teaching ;------------------------------- !zone { _jmpbeb1 @@ -37,8 +60,8 @@ _jmpbeb1 ldy #$03 jsr compare ; and T00,S02,$5E == !byte $20,$BB,WILDCARD - bcs .exit - ldx #$49 + bcs .exit ; passport-test-suite/Easy as ABC.woz [C=0] matches + ldx #$49 ; passport-test-suite/Spelling Rules.woz [C=0] matches ldy #$01 jsr modify ; then set T00,S02,$49 = !byte $04 diff --git a/src/patchers/jmpbeca.a b/src/patchers/jmpbeca.a index f2c817d..ef673e8 100755 --- a/src/patchers/jmpbeca.a +++ b/src/patchers/jmpbeca.a @@ -2,9 +2,10 @@ ; #JMPBECA ; RWTS calls $3ECA or $BECA after reading ; data prologue to burn cycles -; e.g. Terrapin Logo 1.2, Starting with Phonics -; NOTE: must be run before RWTS -; patchers due to overlapping bytes +; +; NOTE: must be run before RWTS patchers due to overlapping bytes +; +; see jmpbeb1.a for compatibility list ;------------------------------- !zone { bit gMode ; nothing to do here in verify-only mode @@ -21,7 +22,7 @@ !byte $C9,$AD !byte $D0,$E8 !byte $4C,$CA,WILDCARD - bcc .yes + bcc .yes ; passport-test-suite/Easy as ABC.woz [C=0] matches ; ; variant seen in Library Magic ; @@ -33,10 +34,10 @@ !byte $10,$FB !byte $49 !byte $AD,$D0,$DD - bcs .exit + bcs .exit ; passport-test-suite/Library Magic.woz [C=0] matches .yes - lda #s_jmpbeca + lda #s_jmpbeca ; passport-test-suite/Spelling Rules.woz [C=0] also reaches here jsr PrintByID lda #$02 ldy #$0D diff --git a/src/patchers/jsr8635.a b/src/patchers/jsr8635.a index 9a9a60b..c24826b 100644 --- a/src/patchers/jsr8635.a +++ b/src/patchers/jsr8635.a @@ -27,7 +27,7 @@ !byte WILDCARD,WILDCARD; BLOAD length !byte $4E,$38,$86; LSR $8638 !byte $DD,$3B,$86 - bcs + + bcs + ; passport-test-suite/Moon Bingo.woz [C=0] matches lda #s_d5d5f7 jsr PrintByID lda gDisplayBytes diff --git a/src/patchers/jsr8b3.a b/src/patchers/jsr8b3.a index 54aff1d..d6e1d6a 100644 --- a/src/patchers/jsr8b3.a +++ b/src/patchers/jsr8b3.a @@ -13,7 +13,7 @@ bpl .exit lda gIs8b3 bne .exit - beq + + beq + ; passport-test-suite/Ardy the Aardvark.woz [Z=1] reaches here .sectors !byte $00,$00,$02,$02,$02,$02,$02,$02,$02,$02 diff --git a/src/patchers/laureate.a b/src/patchers/laureate.a index 380dce7..ab59cff 100644 --- a/src/patchers/laureate.a +++ b/src/patchers/laureate.a @@ -8,7 +8,7 @@ bpl .exit lda gIsLaureate bne .exit - beq + + beq + ; passport-test-suite/Sound Ideas- Word Attack - Disk 1 - Ending Consonants.woz [Z=1] reaches here .sectors !byte $04,$04,$04,$04,$04,$04,$04,$04,$04,$05,$05,$05,$05,$05,$05,$05,$06,$06,$06 diff --git a/src/patchers/mecc.a b/src/patchers/mecc.a index 1462c15..6267853 100644 --- a/src/patchers/mecc.a +++ b/src/patchers/mecc.a @@ -15,10 +15,10 @@ bcc .jmpexit cmp #ID_MECC4+1 bcs .jmpexit - asl - asl - asl - sta tmp + asl ; passport-test-suite/Coordinate Math v1.0 (MECC variant 1).woz [C=0] reaches here + asl ; passport-test-suite/Clock Works v1.0 (MECC variant 2).woz [C=0] reaches here + asl ; passport-test-suite/Number Munchers v1.0 (MECC variant 3).woz [C=0] reaches here + sta tmp ; passport-test-suite/Conquering Whole Numbers v1.1 (MECC variant 4).woz [C=0] reaches here asl adc tmp ldx #8 diff --git a/src/patchers/memory.config.a b/src/patchers/memory.config.a index 699bf73..796e06f 100644 --- a/src/patchers/memory.config.a +++ b/src/patchers/memory.config.a @@ -27,7 +27,7 @@ !byte $AE,$C3,$CF,$CE,$C6,$C9,$C7 ; ".CONFIG" !byte $8D,$08,$C0 ; STA $C008 !byte $B5,$42 ; LDA $42,X - bcs .exit + bcs .exit ; passport-test-suite/Rosie the Counting Rabbit.woz [C=0] matches sta gDisplayBytes lda #s_runhello jsr PrintByID diff --git a/src/patchers/microfun.a b/src/patchers/microfun.a index 4198c3d..573ba17 100644 --- a/src/patchers/microfun.a +++ b/src/patchers/microfun.a @@ -21,7 +21,7 @@ !byte $84,$26 ; STY $26 !byte $84,$27 ; STY $27 !byte $BD,$8C,$C0; LDA $C08C,X - bcs .exit + bcs .exit ; passport-test-suite/Miner 2049er.woz [C=0] matches sta gDisplayBytes pha lda #s_microfun diff --git a/src/patchers/microfun2.a b/src/patchers/microfun2.a index 46d3f41..69e30cb 100644 --- a/src/patchers/microfun2.a +++ b/src/patchers/microfun2.a @@ -8,14 +8,14 @@ !zone { bit gMode ; nothing to do here in verify-only mode bpl .exit - lda gIsRWTS ; if DOS 3.3-shaped RWTS + lda gIsRWTS ; if DOS 3.3-shaped RWTS bne .exit lda #$02 ldx #$5E ldy #$03 jsr compare !byte $4C,$B8,$B6 - bcs .exit + bcs .exit ; passort-test-suite/Crown Of Arthain.woz [C=0] matches sta gDisplayBytes ldy #$03 jsr modify diff --git a/src/patchers/micrograms.a b/src/patchers/micrograms.a index e3610a6..8022625 100644 --- a/src/patchers/micrograms.a +++ b/src/patchers/micrograms.a @@ -18,7 +18,7 @@ !byte $10,$FB !byte $C9,$BE !byte $D0,$E5 - bcs .exit + bcs .exit ; passport-test-suite/Shapes and Patterns.woz [C=0] matches tay txa adc #8 diff --git a/src/patchers/milliken.a b/src/patchers/milliken.a index 9f5c5c0..640eda2 100644 --- a/src/patchers/milliken.a +++ b/src/patchers/milliken.a @@ -16,7 +16,7 @@ ldy #$02 jsr compare ; and T00,S01,$48 == !byte $03,$9B - bcs .exit + bcs .exit ; passport-test-suite/Tangrams Puzzler.woz [C=0] matches ldy #$02 jsr modify ; then set T00,S01,$48 = !byte $84,$9D diff --git a/src/patchers/muserwts.a b/src/patchers/muserwts.a index d385575..e4500ab 100644 --- a/src/patchers/muserwts.a +++ b/src/patchers/muserwts.a @@ -16,7 +16,7 @@ ldy #$03 jsr compare ; if T00,S06,$F2 == !byte $20,$B6,$B6 - bcs .exit + bcs .exit ; passport-test-suite/The Function Game.woz [C=0] matches pha lda #6 sta gDisplayBytes diff --git a/src/patchers/optimum.a b/src/patchers/optimum.a index 7bbe701..3aa5d89 100644 --- a/src/patchers/optimum.a +++ b/src/patchers/optimum.a @@ -38,7 +38,7 @@ ;and disable it ldy #$01 - jsr modify + jsr modify ; passport-test-suite/Stickybear Math.woz [Z=0] reaches here !byte $60 ;RTS pla diff --git a/src/patchers/origin.a b/src/patchers/origin.a index 384d9b5..eeebfb5 100644 --- a/src/patchers/origin.a +++ b/src/patchers/origin.a @@ -33,7 +33,7 @@ !byte $A5,$5D ; LDA $5D !byte $E9,$11 ; SBC #$11 !byte $85,$5D ; STA $5D - bcs + + bcs + ; passport-test-suite/Ultima V.woz [C=0] matches lda #s_origin jsr PrintByID inc gPatchCount diff --git a/src/patchers/panglosdos.a b/src/patchers/panglosdos.a index 81b747a..3fbca3e 100644 --- a/src/patchers/panglosdos.a +++ b/src/patchers/panglosdos.a @@ -14,7 +14,7 @@ !byte $C9,$AD ;CMP #$AD !byte $D0,$E7 ;BNE *-$17 !byte $A5,$46 ;LDA $46 - bcs .exit + bcs .exit ; passport-test-suite/Stepwise Multiple Regression.woz [C=0] matches inx inx inx diff --git a/src/patchers/pascalrwts.a b/src/patchers/pascalrwts.a index 5ffadd4..c2ba91f 100644 --- a/src/patchers/pascalrwts.a +++ b/src/patchers/pascalrwts.a @@ -26,7 +26,7 @@ !byte $BD,$8C,$C0 !byte $10,$FB !byte $C9,WILDCARD - bcs + + bcs + ; passport-test-suite/Solar Reading- Flight 1 - Paraphrase - Jupiter.woz [C=0] matches ldx #$51 ldy #$01 jsr compare ; and T00,S0D,$51 != diff --git a/src/patchers/polarware.a b/src/patchers/polarware.a index eb092cd..19d81de 100644 --- a/src/patchers/polarware.a +++ b/src/patchers/polarware.a @@ -25,7 +25,7 @@ !byte $3F,$EB ; BNE +4 !byte $29,$60 ; DEC $8F bcs .tamper - inx + inx ; passport-test-suite/The Crimson Crown.woz [C=0] reaches here inx inx sta gDisplayBytes @@ -46,7 +46,7 @@ !byte $EC,WILDCARD,WILDCARD ; CPX absolute !byte $F0,$09 ; BEQ +9 !byte $AE ; LDX - bcs .exit + bcs .exit ; passport-test-suite/The Crimson Crown.woz [C=0] matches sta gDisplayBytes pha txa diff --git a/src/patchers/prodos6a.a b/src/patchers/prodos6a.a index 81f7865..6cfc725 100644 --- a/src/patchers/prodos6a.a +++ b/src/patchers/prodos6a.a @@ -20,7 +20,7 @@ !byte $10,$FB !byte $4A !byte $C9,$6A - bcs + + bcs + ; passport-test-suite/Investigating Plant Growth.woz [C=0] matches lda #s_lsr6a jsr PrintByID inc gPatchCount @@ -33,7 +33,7 @@ !byte $68 !byte $BD,$8C,$C0 !byte $C9,$08 - bcs .nextsector + bcs .nextsector ; passport-test-suite/Investigating Plant Growth.woz [C=0] matches lda #s_bcs08 jsr PrintByID inc gPatchCount diff --git a/src/patchers/prodosmecc.a b/src/patchers/prodosmecc.a index f085305..cc9d343 100755 --- a/src/patchers/prodosmecc.a +++ b/src/patchers/prodosmecc.a @@ -16,7 +16,7 @@ jsr SearchTrack !byte $50,$54,$58,$5C,$60,$64,$68,$00 !byte $20,$10,$30,WILDCARD,$AA,$EB - bcs + + bcs + ; passport-test-suite/Mystery Objects v1.1.woz [C=0] matches sta gDisplayBytes tay txa @@ -36,7 +36,7 @@ !byte $AD,$C4,$D1,$CD,$C8,$D4,$08,$2C !byte $81,$C0,$28,$D0,$06,$C9,$DE,$F0 !byte $02,$18,$24,$38,$60 - bcs + + bcs + ; passport-test-suite/Mystery Objects v1.1.woz [C=0] matches sta gDisplayBytes tay txa @@ -46,7 +46,7 @@ ldy #$01 jsr compare !byte $38 - bcs + + bcs + ; passport-test-suite/Mystery Objects v1.1.woz [C=0] matches ldy #$01 jsr modify !byte $18 @@ -59,7 +59,7 @@ !byte $AD,$C4,$D1,$CD,$C8,$D4,$08,$2C !byte $81,$C0,$28,$D0,$09,$8D,WILDCARD,WILDCARD !byte $C9,$DE,$F0,$02,$18,$24,$38,$60 - bcs + + bcs + ; passport-test-suite/Spelling Press v1.1.woz [C=0] matches sta gDisplayBytes tay txa @@ -69,7 +69,7 @@ ldy #$01 jsr compare !byte $38 - bcs + + bcs + ; passport-test-suite/Spelling Press v1.1.woz [C=0] matches ldy #$01 jsr modify !byte $18 @@ -83,7 +83,7 @@ !byte $B0,$98 !byte $38 !byte $60 - bcs + + bcs + ; passport-test-suite/Spelling Press v1.1.woz [C=0] matches tay txa adc #$0A @@ -92,7 +92,7 @@ ldy #$01 jsr compare !byte $38 - bcs + + bcs + ; passport-test-suite/Spelling Press v1.1.woz [C=0] matches ldy #$01 jsr modify !byte $18 @@ -100,13 +100,13 @@ ldy #$0B jsr SearchTrack !byte $30,$91,$38,$60,00,$20,00,03,00,03,00 - bcs .exit + bcs .exit ; passport-test-suite/Spelling Press v1.1.woz [C=0] matches inx inx ldy #$01 jsr compare !byte $38 - bcs .exit + bcs .exit ; passport-test-suite/Spelling Press v1.1.woz [C=0] matches ldy #$01 jsr modify !byte $18 diff --git a/src/patchers/prodosrwts.a b/src/patchers/prodosrwts.a index d95ba77..41a957e 100755 --- a/src/patchers/prodosrwts.a +++ b/src/patchers/prodosrwts.a @@ -21,7 +21,7 @@ _prodosrwts !byte $18 !byte $F0,$01 !byte $38 - bcs .exit + bcs .exit ; passport-test-suite/Mystery Objects v1.1.woz [C=0] matches sta gDisplayBytes tay txa diff --git a/src/patchers/protecteddos.a b/src/patchers/protecteddos.a index ed7df51..9cf6069 100755 --- a/src/patchers/protecteddos.a +++ b/src/patchers/protecteddos.a @@ -27,7 +27,7 @@ !byte $8D,$5D,$BD !byte $A9,$D5 !byte $8D,$2C,$BF - bcs .specific + bcs .specific ; passport-test-suite/Moebius.woz [C=0] matches sta .swapper2+1 inx stx .swapper1+1 @@ -164,7 +164,7 @@ ldy #$03 jsr compare ; if T00,S01,$93 == !byte $4C,$00,$B8 - bcs .skipcheck + bcs .skipcheck ; passport-test-suite/Ultima IV.woz [C=0] matches ldy #$03 jsr modify ; then set T00,S01,$93 = !byte $AC,$E5,$B7 @@ -180,7 +180,7 @@ ldy #$02 jsr compare ; if T00,S05,$15 == !byte $A5,$2F - bcs .exit + bcs .exit ; passport-test-suite/Math Blaster v080584.woz [C=0] matches ldy #$02 jsr modify ; then set T00,S05,$15 = !byte $A9,$00 diff --git a/src/patchers/rdos13.a b/src/patchers/rdos13.a index 4c379e1..0d49843 100644 --- a/src/patchers/rdos13.a +++ b/src/patchers/rdos13.a @@ -8,7 +8,7 @@ bit gMode ; nothing to do here in verify-only mode bpl .jmpexit lda gIsRDOS13 - beq .okay + beq .okay ; passport-test-suite/Epidemic.woz [Z=1] branches .jmpexit jmp .exit diff --git a/src/patchers/rdosfmt.a b/src/patchers/rdosfmt.a index f252dc9..1c6abb6 100644 --- a/src/patchers/rdosfmt.a +++ b/src/patchers/rdosfmt.a @@ -17,7 +17,7 @@ !byte $20,WILDCARD,$08; JSR $08xx !byte $BD,WILDCARD,$08; LDA $08xx,X !byte $9D,$00,$02; STA $0200,X - bcs .exit + bcs .exit ; passport-test-suite/Epidemic.woz [Z=1] matches ldy #4 jsr modify diff --git a/src/patchers/rol1e.a b/src/patchers/rol1e.a index f095584..f385949 100755 --- a/src/patchers/rol1e.a +++ b/src/patchers/rol1e.a @@ -19,7 +19,7 @@ _rol1e ldy #$02 jsr compare ; and T00,S03,$64 == !byte $A5,$1E - bcs .exit + bcs .exit ; passport-test-suite/Crypto Cube.woz [C=0] matches lda #s_rol1e jsr PrintByID lda #$03 diff --git a/src/patchers/rwtslog.a b/src/patchers/rwtslog.a index a5829dc..23ef905 100644 --- a/src/patchers/rwtslog.a +++ b/src/patchers/rwtslog.a @@ -26,7 +26,7 @@ !byte $4A !byte WILDCARD,$6A !byte $D0,$EF - bcc .yeslsr + bcc .yeslsr ; passport-test-suite/The Seasons.woz [C=0] matches ; RDOS variant ldx #$4D ldy #$0A @@ -36,7 +36,7 @@ !byte $4A !byte WILDCARD,$6A !byte $D0,$EF - bcs .endlsr + bcs .endlsr ; passport-test-suite/Roadwar 2000.woz [C=0] matches .yeslsr lda #s_lsr6a jsr PrintByID @@ -66,7 +66,7 @@ !byte $EA !byte $18 !byte $60 - bcc .yesbcs + bcc .yesbcs ; passport-test-suite/The Seasons.woz [C=0] matches ; RDOS variant ldx #$89 ldy #$11 @@ -80,7 +80,7 @@ !byte $BD,$8C,$C0 !byte $C9,$80 !byte $B0 - bcs .endbcs + bcs .endbcs ; passport-test-suite/Roadwar 2000.woz [C=0] matches .yesbcs lda #s_bcs08 jsr PrintByID @@ -102,7 +102,7 @@ !byte $10,$FB !byte $C9,WILDCARD !byte $D0,$00 - bcc .yesbne0 + bcc .yesbne0 ; passport-test-suite/The Home Accountant.woz [C=0] matches ; David-DOS variant lda #$05 sta gDisplayBytes @@ -113,7 +113,7 @@ !byte $10,$FB !byte $C9,WILDCARD !byte $D0,$00 - bcs .endbne0 + bcs .endbne0 ; passport-test-suite/Horses.woz [C=0] matches .yesbne0 lda #s_cmpbne0 jsr PrintByID diff --git a/src/patchers/rwtsswap.a b/src/patchers/rwtsswap.a index 64f2172..3652385 100755 --- a/src/patchers/rwtsswap.a +++ b/src/patchers/rwtsswap.a @@ -30,7 +30,7 @@ !byte $99,$94,$B9 !byte $88 !byte $10,$F7 - bcs .exit + bcs .exit ; passport-test-suite/Easy as ABC.woz [C=0] matches ldx #$69 ldy #$01 jsr modify ; then set T00,S04,$69 = diff --git a/src/patchers/rwtsswap2.a b/src/patchers/rwtsswap2.a index 6c57123..875ac2e 100755 --- a/src/patchers/rwtsswap2.a +++ b/src/patchers/rwtsswap2.a @@ -37,7 +37,7 @@ _rwtsswap2 !byte $A9,$96 !byte $8D,$29,$BA !byte $60 - bcs .exit + bcs .exit ; passport-test-suite/Mask Parade.woz [C=0] matches ldx #$69 ldy #$01 jsr modify ; then set T00,S04,$69 = diff --git a/src/patchers/rwtsswapmecc.a b/src/patchers/rwtsswapmecc.a index dc18833..aaff019 100755 --- a/src/patchers/rwtsswapmecc.a +++ b/src/patchers/rwtsswapmecc.a @@ -19,7 +19,7 @@ !byte $8D,$8B,$C0 !byte $B9,WILDCARD,WILDCARD !byte $8D,$AC,$D5 - bcs .exit + bcs .exit ; passport-test-suite/MECC Dataquest - Europe and Soviet Union.woz [C=0] matches sta gDisplayBytes ldy #$03 jsr modify diff --git a/src/patchers/rwtsswapmicrofun.a b/src/patchers/rwtsswapmicrofun.a index db3a316..9f4521e 100644 --- a/src/patchers/rwtsswapmicrofun.a +++ b/src/patchers/rwtsswapmicrofun.a @@ -24,7 +24,7 @@ jsr compare !byte $A9,$01 !byte $8D,$00,$B9 - bcs .exit + bcs .exit ; passport-test-suite/Crown Of Arthain.woz [C=0] matches ldy #$01 jsr modify !byte $60 diff --git a/src/patchers/rwtsswappenguin.a b/src/patchers/rwtsswappenguin.a index cdf4d76..a9e5a27 100644 --- a/src/patchers/rwtsswappenguin.a +++ b/src/patchers/rwtsswappenguin.a @@ -23,7 +23,7 @@ !byte $8D,$91,$B9 !byte $8D,$35,$B9 !byte $8D,$9E,$B8 - bcs .exit + bcs .exit ; passport-test-suite/Arcade Boot Camp.woz [C=0] matches inx ldy #$01 jsr modify ; then set T01,S04,$53 = diff --git a/src/patchers/springboard.a b/src/patchers/springboard.a index 0dfee3c..6cf5112 100644 --- a/src/patchers/springboard.a +++ b/src/patchers/springboard.a @@ -23,7 +23,7 @@ !byte $D0,$AE ; BNE $B942 CMP $C08C,X !byte $D0,$A9 ; BNE $B942 - bcs .exit + bcs .exit ; passport-test-suite/Easy as ABC.woz [C=0] matches lda #s_springboard jsr PrintByID lda #$03 diff --git a/src/patchers/sra.a b/src/patchers/sra.a index 32c0878..361426c 100644 --- a/src/patchers/sra.a +++ b/src/patchers/sra.a @@ -30,7 +30,7 @@ !byte $20,$00,$7B ; JSR $7B00 !byte $8D,$6C,$7A ; STA $7A6C !byte $AD,$B1,$78 ; LDA $78B1 - bcs .nextsector + bcs .nextsector ; passport-test-suite/Computer Drill and Instruction - Multiplication B.woz [C=0] matches lda #s_sra jsr PrintByID lda .sector+1 diff --git a/src/patchers/ssi.a b/src/patchers/ssi.a index 019bc57..41569e6 100644 --- a/src/patchers/ssi.a +++ b/src/patchers/ssi.a @@ -20,7 +20,7 @@ !byte $C1,$00 ; CMP ($00,X) !byte $EA ; NOP !byte $EA ; NOP - bcs .exit + bcs .exit ; passport-test-suite/Epidemic.woz [C=0] matches sta gDisplayBytes pha diff --git a/src/patchers/ssprot.a b/src/patchers/ssprot.a index ce313db..7a6565e 100644 --- a/src/patchers/ssprot.a +++ b/src/patchers/ssprot.a @@ -46,12 +46,12 @@ ldy #$03 jsr compare !byte $23,$2A,$28 - bcc .variant1 + bcc .variant1 ; passport-test-suite/Creative Contraptions.woz [C=0] matches ldy #$03 jsr compare !byte $70,$79,$77 - bcc .variant2 + bcc .variant2 ; passport-test-suite/Wortgefecht.woz [C=0] matches bcs .nextsector .variant1 diff --git a/src/patchers/sunburst.a b/src/patchers/sunburst.a index 23f9db7..19368e7 100755 --- a/src/patchers/sunburst.a +++ b/src/patchers/sunburst.a @@ -86,7 +86,7 @@ ldy #$02 jsr compare ; and T00,S08,$8C == !byte $69,$BA - bcc .yes + bcc .yes ; passport-test-suite/The Incredible Laboratory.woz [C=0] matches .exit bcs .exit2 .yes diff --git a/src/patchers/swordthrust.a b/src/patchers/swordthrust.a index d62603b..95edebe 100644 --- a/src/patchers/swordthrust.a +++ b/src/patchers/swordthrust.a @@ -24,7 +24,7 @@ PLA JSR $BD00 @end_swordthrust - bcs .exit + bcs .exit ; passport-test-suite/Swordthrust 1 The King's Testing Ground.woz [C=0] matches sta gDisplayBytes lda #s_bytrack jsr PrintByID diff --git a/src/patchers/t02volumename.a b/src/patchers/t02volumename.a index edb2546..a6796f6 100644 --- a/src/patchers/t02volumename.a +++ b/src/patchers/t02volumename.a @@ -10,10 +10,10 @@ bne .exit lda #$00 ; look for volume name on T02,S00 (Pronto-DOS) jsr .findVolumeName - bcc + + bcc + ; passport-test-suite/America Coast to Coast.woz [C=0] matches lda #$02 ; also look on T02,S02 (DOS 3.3, Diversi-DOS) jsr .findVolumeName - bcs .exit + bcs .exit ; passport-test-suite/Tangrams Puzzler.log [C=0] matches ; ; We've found what looks like a DOS 3.3-ish disk volume name, so print it diff --git a/src/patchers/trillium.a b/src/patchers/trillium.a index df926a7..52ad119 100644 --- a/src/patchers/trillium.a +++ b/src/patchers/trillium.a @@ -27,7 +27,7 @@ !byte $20,$30,$E0; JSR $E030 !byte $AD,$83,$C0; LDA $C083 !byte $AD,$83,$C0; LDA $C083 - bcs .exit + bcs .exit ; passport-test-suite/Rendezvous with Rama rev. 2.woz [C=0] matches sta gDisplayBytes pha lda #s_trillium diff --git a/src/patchers/trillium2.a b/src/patchers/trillium2.a index d7463f3..2c1563f 100644 --- a/src/patchers/trillium2.a +++ b/src/patchers/trillium2.a @@ -19,7 +19,7 @@ !byte $A0,$19 !byte $20,$2D,$F1 !byte $C9,$00 - bcs .exit + bcs .exit ; passport-test-suite/Nine Princes in Amber.woz [C=0] matches sta gDisplayBytes pha lda #s_trillium diff --git a/src/patchers/universale7.a b/src/patchers/universale7.a index d751256..6ea9af6 100755 --- a/src/patchers/universale7.a +++ b/src/patchers/universale7.a @@ -22,7 +22,7 @@ universale7 bcc .sector bne .eor - lda .sector+2 + lda .sector+2 ; passport-test-suite/Rocky's Boots.woz [C=1] reaches here and #$0F pha sta gDisplayBytes diff --git a/src/patchers/zoomgrafix.a b/src/patchers/zoomgrafix.a index 470abc3..1005315 100644 --- a/src/patchers/zoomgrafix.a +++ b/src/patchers/zoomgrafix.a @@ -15,7 +15,7 @@ jsr SearchTrack !byte $4C,$4D,$D0,$E2,$28,$4B,$42,$C9 ; 'LM = PEEK(KB - 2058)' in BASIC !byte $32,$30,$35,$38 - bcs .exit + bcs .exit ; passport-test-suite/Zoom Grafix 26-JAN-82.woz [C=0] matches sta gDisplayBytes pha lda #s_diskvol0