apple2ts icon indicating copy to clipboard operation
apple2ts copied to clipboard

King's Quest floppy disk does not boot properly

Open ct6502 opened this issue 1 year ago • 2 comments

King's Quest (woz-a-day collection).zip

Uncompress zip, insert King's Quest disk A into floppy, then boot. Hangs at "Please wait..." screen. Debugger shows that it's oscillating between PC=0xFFFF and 0x0.

Screenshot 2024-02-08 at 12 19 24 PM

Debugging shows that it might be messing up in the following block: Screenshot 2024-02-08 at 12 28 07 PM

Perhaps the LDA $C08C,X is doing something wrong with the memory softswitches?

ct6502 avatar Feb 08 '24 19:02 ct6502

If I put a breakpoint at $FF26, the accumulator contains $C0, which was presumably just read from the woz disk image. If I change the accumulator to $C9, then the game boots properly. This might be some sort of copy protection which my emulator fails to emulate. I tried this in Virtual II - it has $C9 when it hits $FF26, and has no problem booting the game.

Screenshot 2024-03-24 at 9 35 14 PM

ct6502 avatar Mar 25 '24 03:03 ct6502

Space Quest has the exact same issue - break at $FF26, change the accumulator to $C9, then continue. https://archive.org/download/wozaday_Space_Quest

ct6502 avatar Mar 25 '24 03:03 ct6502

The recent fixes in WOZ handling, somehow allow the King Quest and Space Quest to boot and reach the main screen

univta0001 avatar Sep 20 '24 16:09 univta0001

Fixed as part of fixes for #81

ct6502 avatar Sep 20 '24 19:09 ct6502