-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WOZ: Fishies doesn't boot reliably #779
Comments
In DataLatchReadWriteWOZ(), with Also after the intro boots, then I've never got it to start the "game"... it either reloads the intro, or crashes/hangs. |
The Slack discussion centred on the "~30% chance of a 1 bit" when the head window has a run of 4 zero-bits. Epple-II used 50%... when this was reduced to 33% then it too would fail (1 in 7 times). I tried AppleWin: upping (from 30%) to 50% chance of a 1 bit... and it works every time. |
After the intro, it hits $BC56. (Full routine from $BC56-BCF6)
|
On Slack, Antoine identified this code as "The faulty code" :
|
Only do "50% chance of 1 bit" if
|
For a normal nibblized sector:
Just looking at track $00: Fishies-T00.txt
In "The faulty code" above, it's checking for a regular "DE" nibble (at the end of the field).
|
It's interesting that the person who posted the a2r on Slack said the original disk boots on his machine. Something is amiss. I found your explanation of the problem very helpful. Thanks for the details and the quick workaround. |
I'm at a bit of a loss with this woz image. Here are a few random thoughts... Just because an original Fishies disk boots on real hardware doesn't tell us the whole story, eg:
Someone on Slack also mentioned a ramp (eg. gradually going from 30% to 50%), perhaps there's some physical reason (eg. temperature) that could influence this? It would be interesting to better reverse engineer the protection to understand if any particular sector(s) are more key to the whole protection system that others. EG. maybe the woz image is just a little bit too ideal for a few key sectors... so maybe changing a few run of 4 zero bits to 0010 (eg. flipping a single bit) is enough to "fix" the image. |
Using AppleWin 1.29.11.0, it only boots ~1 in 10 times, and even when it boots, it never gets past the intro screen. (After the short tune, the fish goes back and forth a few more times, then it should boot to the aquarium mode. Use F(eed), T(ouch) and SPACE to interact!)
Running in stepping mode, then often it'll hit a BRK or undefined opcode. Sometimes it'll stop at the Applesoft prompt (but in HIRES mode, so
text
to show). RETURN causes it to retry booting.I disabled the Wasteland fix, but that didn't seem to make any difference.
NB. The image must be write enabled, otherwise it'll show an error msg "REMOVE WRITE PROTECT TAB"... but the disk is never written to (neither .woz or .dsk).
Both attached images from apple2infinitum.slack.com on 16/4/2020.
John Morris' image: Fishies.zip
Other emulators with this .woz:
Antoine Vignau's "pseudo crack": Fishies - Disk 1, Side A cracked pfew.zip
The text was updated successfully, but these errors were encountered: