What is different about "booting a disk" in AppleWIn (as an Apple IIe-enhanced) from an actual Apple IIe machine that would mean that a disk that does boot-up on an actual Apple IIe will instead crash when an image of it is booted in AppleWin? The disk(and image thereof) contains a modified version of DOS 3.3 which, as I say, boots up fine on an actual Apple IIe.
Here is the last screen-height portion of what appears when the boot-up crashes:
00DD- FF ???
00DE- 00 BRK
00DF- 00 BRK
00E0- FF ???
00E1- FF ???
00E2- 00 BRK
00E3- 00 BRK
00E4- FF ???
00E5- FF ???
00E6- 00 BRK
00E7- 00 BRK
00E8- FF ???
00E9- FF ???
00EA- 00 BRK
00EB- 00 BRK
00EC- FF ???
00ED- FF ???
00EE- 00 BRK
00EF- 00 BRK
00F0- FF ???
00F1- 01 00 ORA ($00,X)
*
A343- A=00 X=57 Y=98 P=36 S=E4
*
What is different about "booting a disk" in AppleWIn (as an Apple IIe-enhanced) from an actual Apple IIe machine that would mean that a disk that does boot-up on an actual Apple IIe will instead crash when an image of it is booted in AppleWin?
Also, I might ask, is there a substantive difference between a .DSK file and a .DO file? Someone converted some actual disks for me, and I was expecting .DSK files, but instead he gave me .DO files; but when simply changing the extension from .DO to .DSK the "disk" could still be CATALOGged, LOADed from, SAVEd to, etc. by AppleWin either way. But these .DO files are the ones from disks which booted on my Apple IIe that won't boot in AppleWin.
Also, I might ask, is there a substantive difference between a .DSK file and a .DO file? Someone converted some actual disks for me, and I was expecting .DSK files, but instead he gave me .DO files; but when simply changing the extension from .DO to .DSK the "disk" could still be CATALOGged, LOADed from, SAVEd to, etc. by AppleWin either way. But these .DO files are the ones from disks which booted on my Apple IIe that won't boot in AppleWin.
On Tuesday, July 19, 2022 at 3:53:57 AM UTC-7, alanr...@yahoo.com wrote:
Also, I might ask, is there a substantive difference between a .DSKfile and a .DO file? Someone converted some actual disks for me, and I
was expecting .DSK files, but instead he gave me .DO files; but when
simply changing the extension from .DO to .DSK the "disk" could still be >CATALOGged, LOADed from, SAVEd to, etc. by AppleWin either way. But
these .DO files are the ones from disks which booted on my Apple IIe
that won't boot in AppleWin.
Disk images can be in sector order ("DOS order" / .do) or block order >("ProDOS order" / .po). The .do/.po extension makes the ordering
explicit. ".dsk" can be either, so the program using it has to make an >educated guess.
Here is the last screen-height portion of what appears when the boot-up crashes:
00DD- FF ???
00DE- 00 BRK
00DF- 00 BRK
00E0- FF ???
00E1- FF ???
00E2- 00 BRK
00E3- 00 BRK
00E4- FF ???
00E5- FF ???
00E6- 00 BRK
00E7- 00 BRK
00E8- FF ???
00E9- FF ???
00EA- 00 BRK
00EB- 00 BRK
00EC- FF ???
00ED- FF ???
00EE- 00 BRK
00EF- 00 BRK
00F0- FF ???
00F1- 01 00 ORA ($00,X)
*
A343- A=00 X=57 Y=98 P=36 S=E4
*
On 7/19/22 6:43 AM, Alan Rat wrote:
Here is the last screen-height portion of what appears when the
boot-up crashes:
00DD- FF ???
00DE- 00 BRK
00DF- 00 BRK
00E0- FF ???
00E1- FF ???
00E2- 00 BRK
00E3- 00 BRK
00E4- FF ???
00E5- FF ???
00E6- 00 BRK
00E7- 00 BRK
00E8- FF ???
00E9- FF ???
00EA- 00 BRK
00EB- 00 BRK
00EC- FF ???
00ED- FF ???
00EE- 00 BRK
00EF- 00 BRK
00F0- FF ???
00F1- 01 00 ORA ($00,X)
*
A343- A=00 X=57 Y=98 P=36 S=E4
*
I have my hands on the disk image now. It's a perfectly normal
DOS-order disk. And, it boots it's DOS fine - but it tries to run
something like the HELLO program, finds what seems to be some random
garbage, and spews the above.
What I did was boot the disk to the same monitor prompt in AppleWin
(doesn't matter if you give it a //e or II+), give it a 3D0G, and boom,
I'm in DOS. I was going to INIT another disk and give it a real HELLO program, but this DOS that is purporting to save space saw fit to
eliminate the INIT function. Shrug.
I reconstituted the disk image to a real disk and booted it on a GS, and
got exactly the same results. So my guess is there's some sort of
problem with the boot program/specification. I brought it up under Copy
II+ to see what it thought the boot program was, and it just said there wasn't one. So there's definitely something wrong with the way the boot program is specified (or laid out or executed or...?). Or something
went wrong in the ripping process, but since just about everything else works, I'm not clear about how that might have happened unless there's
some out-of-band data like the volume number that matters.
What is different about "booting a disk" in AppleWin (as an Apple IIe-enhanced) from an actual Apple IIe machine that would mean that a disk that does boot-up on an actual Apple IIe will instead crash when an image of it is booted in AppleWin? The disk(and image thereof) contains a modified version of DOS 3.3 which, as I say, boots up fine on an actual Apple IIe.
Just did a quick -memclear 0 .. -memclear 7 tests and that didn't solve the crashing at $AA41: 00 BRK. (I've updated the GitHub issue.)
Next step will be to transfer this over to a real floppy and boot on real hardware.
Thanks for the update. I've closed the AppleWin issue since you found the cause of bad random bytes on the copies. (I verified that the T0/SF/3F patch of 14 good bytes indeed fixes the disk enough to boot.)
Minor point. I believe .dsk should always be "DOS order"...but there are a lot of images which violate that rule.
Thanks back; I went back to my floppy and got the other patch corrections for the errors on the disk:)
T10/S3/5B: 90 F6 A2 8A BD F2 B3 F0 0B E6 44 D0 02 E6 — this affects CATVACA that I discussed in another post
T19/SD/69: XXXX — tail end of TRI-STAR: only affects postgame continuation T21/S7/77: C1 C7 CF D2 D9 01 20 06 0E 60 D3 C3 2D D0 — affects YAHTZEE: I didn't look into how, but it can't be good
I believe these are the only defects on the disk; given that the errors are at regular intervals, and a large file called SLOTS occupying most of what's between T10 and T19 seems to be intact. (BTW so no one is confused, you meant T0/SF/3F in your post.
On Wednesday, July 20, 2022 at 11:43:00 AM UTC-4, Michael AppleWin Debugger Dev wrote:
Thanks for the update. I've closed the AppleWin issue since you found the cause of bad random bytes on the copies. (I verified that the T0/SF/3F patch of 14 good bytes indeed fixes the disk enough to boot.)
On Tuesday, July 19, 2022 at 3:06:50 PM UTC-7, Kent Dickey wrote:
Minor point. I believe .dsk should always be "DOS order"...but there are a >> lot of images which violate that rule.
...unless it's an 800KB disk image, in which case it's in block order, because it doesn't make sense for an 800KB image to be anything else.
I'd prefer it if everyone stopped using ".dsk" to name raw data images.
Of course, if we're going to get pedantic, the suffixes should be ".so"
/ ".bo".
(FWIW, ".dsk" is also used by DiskCopy 4.2, but those can be identified fairly reliably, and aren't as common in the Apple II world.)
I blame Larry Wall ("... strict in what they emit, and liberal in what
they accept").
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 468 |
Nodes: | 16 (2 / 14) |
Uptime: | 19:22:32 |
Calls: | 9,440 |
Calls today: | 3 |
Files: | 13,594 |
Messages: | 6,109,829 |