test suite comments

This commit is contained in:
4am 2019-06-17 11:45:57 -04:00
parent a6a7227cc5
commit b0c980d184
68 changed files with 364 additions and 114 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 !=

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 =

View File

@ -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 =

View File

@ -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

View File

@ -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

View File

@ -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 =

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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