---------------Up'N Down--------------- A 4am crack 2015-08-03 --------------------------------------- Name: Up'N Down Genre: arcade Year: 1984 Publisher: Sega Media: single-sided 5.25-inch floppy OS: custom Previous cracks: The Cloak / Black Bag ~ Chapter 0 In Which Various Automated Tools Fail In Interesting Ways COPYA immediate disk read error Locksmith Fast Disk Backup unable to read any track EDD 4 bit copy (no sync, no count) works Copy ][+ nibble editor modified address and data epilogues ("AA DE EB" instead of "DE AA EB") Disk Fixer custom bootloader no sign of DOS, ProDOS, or any OS Also, this: --v-- -------------- DISK EDIT -------------- TRACK $00/SECTOR $0F/VOLUME $FE/BYTE$00 --------------------------------------- $00: >H - Advance to next parm - Exit edit mode R - Restore DOS 3.3 parameters O - Edit Original disk's parameters C - Edit Copy disk's parameters G - Begin demuffin process --^-- Pressing "G" switches to the Locksmith Fast Disk Copy UI. It assumes that both disks are in slot 6, and that drive 1 is the original and drive 2 is the copy. [S6,D1=original disk] [S6,D2=blank disk] --v-- LOCKSMITH 7.0 FAST DISK BACKUP R................................... W*********************************** HEX 00000000000000001111111111111111222 TRK 0123456789ABCDEF0123456789ABCDEF012 0................................... 1................................... 2................................... 3................................... 4................................... 5................................... 6................................... 7................................... 8................................... 9................................... A................................... B................................... C................................... D................................... 12 E................................... F................................... [ ] PRESS [RESET] TO EXIT --^-- ]PR#6 ...boots to title screen then grinds... Interesting. It booted much further than I would have expected. (Usually disks either work completely or fail much sooner.) My semi-educated guess: the disk is using a flexible RWTS for most of the initial loading, but not all of it. At some point, it's switching to an RWTS RWTS that cares about epilogue bytes, and it grinds and fails because they've now been standardized. Of course, I could be totally wrong about all of that. ~ Chapter 1 In Which We Confirm That Hard Work Pays Off Over Time, But Laziness Pays Off Right Now Before I jump to full-on boot tracing, I turn to my trusty Disk Fixer sector editor and see if there is an RWTS in evidence. [Disk Fixer] ["F"ind] ["H"ex] "BD 8C C0" ; "LDA $C08C,X" There are several matches on track $00, but as I suspected, that RWTS doesn't care about epilogue bytes. But there are also more matches on track $03. Let's see what that's about... T03,S03 ----------- DISASSEMBLY MODE ---------- 0040:A0 20 LDY #$20 0042:AE 25 0E LDX $0E25 0045:88 DEY 0046:F0 56 BEQ $009E ; find data prologue ("D5 AA AD") 0048:BD 8C C0 LDA $C08C,X 004B:10 FB BPL $0048 004D:49 D5 EOR #$D5 004F:D0 F4 BNE $0045 0051:BD 8C C0 LDA $C08C,X 0054:10 FB BPL $0051 0056:C9 AA CMP #$AA 0058:D0 F3 BNE $004D 005A:A0 56 LDY #$56 005C:BD 8C C0 LDA $C08C,X 005F:10 FB BPL $005C 0061:C9 AD CMP #$AD 0063:D0 E8 BNE $004D . . . ; check one nibble of data epilogue 0095:BD 8C C0 LDA $C08C,X 0098:10 FB BPL $0095 009A:C9 AA CMP #$AA <-- ! 009C:F0 4E BEQ $00EC 009E:38 SEC 009F:60 RTS ; find address prologue ("D5 AA 96") 00A0:A0 00 LDY #$00 00A2:AE 25 0E LDX $0E25 00A5:C8 INY 00A6:F0 F6 BEQ $009E 00A8:BD 8C C0 LDA $C08C,X 00AB:10 FB BPL $00A8 00AD:C9 D5 CMP #$D5 00AF:D0 F4 BNE $00A5 00B1:BD 8C C0 LDA $C08C,X 00B4:10 FB BPL $00B1 00B6:C9 AA CMP #$AA 00B8:D0 F3 BNE $00AD 00BA:BD 8C C0 LDA $C08C,X 00BD:10 FB BPL $00BA 00BF:C9 96 CMP #$96 00C1:D0 EA BNE $00AD . . . ; check one nibble of address epilogue 00E3:BD 8C C0 LDA $C08C,X 00E6:10 FB BPL $00E3 00E8:C9 AA CMP #$AA <-- ! 00EA:D0 B2 BNE $009E 00EC:18 CLC 00ED:60 RTS Jackpot! It looks like it only checks the first nibble of the address and data epilogues, so let's try patching those "AA" bytes to match the now- standardized epilogues on my copy. T03,S03,$9B change "AA" to "DE" T03,S03,$E9 change "AA" to "DE" ]PR#6 ...works... There doesn't appear to be any further protection. Quod erat liberandum. --------------------------------------- A 4am crack No. 391 ------------------EOF------------------