--------Five in a Row: Division-------- A 4am crack 2016-03-22 --------------------------------------- Name: Five in a Row: Division Version: 2.0 Genre: educational Year: 1990 Credits: By Dr. Jerzy T. Cwirko-Godyki Program by Eric Thornton Publisher: Critical Thinking Press & Software Media: single-sided 5.25-inch floppy OS: ProDOS 1.0.1 Previous cracks: none Similar cracks: #339 SuperPrint! #146 Math Shop ~ Chapter 0 In Which Various Automated Tools Fail In Interesting Ways COPYA no read errors, but copy just reboots endlessly Locksmith Fast Disk Backup ditto EDD 4 bit copy (no sync, no count) ditto Copy ][+ nibble editor nothing suspicious Disk Fixer T00 -> ProDOS boot0 and disk catalog Why didn't any of my copies work? Probably a nibble check during boot. In my experience, computers do not spontaneously reboot unless someone tells them to. Next steps: 1. Trace the boot 2. Find nibble check and bypass it 3. Declare victory(*) (*) take a nap ~ Chapter 1 In Which We Run Into An Old Friend In An Unexpected Place [S6,D1=original disk] [S5,D1=my work disk] ]PR#5 ... CAPTURING BOOT0 ...reboots slot 6... ...reboots slot 5... SAVING BOOT0 ]BLOAD BOOT0,A$800 ]CALL -151 *801L ; This looks like the standard ProDOS ; boot0 code, which is unsurprising, ; since the original disk loads ProDOS 0801- 38 SEC 0802- B0 03 BCS $0807 0804- 4C 32 A1 JMP $A132 0807- 86 43 STX $43 0809- C9 03 CMP #$03 080B- 08 PHP 080C- 8A TXA 080D- 29 70 AND #$70 080F- 4A LSR 0810- 4A LSR 0811- 4A LSR 0812- 4A LSR 0813- 09 C0 ORA #$C0 0815- 85 49 STA $49 0817- A0 FF LDY #$FF 0819- 84 48 STY $48 081B- 28 PLP 081C- C8 INY 081D- B1 48 LDA ($48),Y 081F- D0 3A BNE $085B 0821- B0 0E BCS $0831 0823- A9 03 LDA #$03 0825- 8D 00 08 STA $0800 0828- E6 3D INC $3D 082A- A5 49 LDA $49 082C- 48 PHA 082D- A9 5B LDA #$5B 082F- 48 PHA 0830- 60 RTS ; this is not standard 0831- 4C 00 09 JMP $0900 Let's see what's lurking at $0900. To do this, I'll need to interrupt the boot process at $0831, after the code is loaded into memory but before it gets executed. *9600