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
Add Support for Additional Hard Disks #1186
Comments
This has been requested in other issues before, but ultimately depends on #853. NB. The backend work for this was done in #996, so it just needs exposing in the UI. See #1033 - there were some proposed command line options. |
wouldn't it be possible to add a way to select "Block Mode" $Cn07 = $3C with 2 devices so that Apple ][+ could boot and "Smartport Mode" $Cn07 = $00 with more than 2 devices so that Slot 7 being seen as a SmartPort device by ProDOS and Enh //e could boot ? |
@paulhlee1967 - I released a new AppleWin 1.30.14.0, and if you are okay with using command line options, then you can put a 2nd hard disk controller (hdc) into slot 5, eg:
(I will leave this issue open - I still need to investigate and reply to @burniouf) |
From the current firmware (hddrvr.a65):
The obvious idea is if the Apple II model is "Enh //e", then modify the firmware so that $Cn07 = $00 (otherwise just leave it as $3C). Then for this Smartport version, there'd need to be a way to specify more devices. The command line is the simplest way initially (with some GUI support following). The firmware may need extending to better support Smartport commands (currently it just assumes STATUS, READBLOCK or WRITEBLOCK). The emulator may need extending to support more Smartport commands (eg. INIT, FORMAT, CONTROL). Best to spin this off into a new issue. |
Would you like me to write some "smartport" ROM for Applewin ? |
About switching from Cn07 = $3C <-> $00....should be more an option...putting a $00 device in a ][+ is absolutely possible in real hardawre.....the only difference is that you cannot autoboot on it.... |
Thanks, but maybe the current firmware (here) is "good enough" (except for the $Cn07 value)? EG, here I already have a regression test that uses the current firmware's Smartport entrypoint to do READBLOCK: And if it is "good enough", then the extra support just needs adding in the AppleWin emulation of the hard disk controller. Reading your A2osX ProDOS doc, you say:
So I think I can use that to test this. |
You need proper support for Smartport STATUS call, because ProDOS (and maybe Pascal 1.3...etc...) uses STATUS:0:0 to build device list while booting...and most utilities use STATUS:ID:0 and STATUS:ID:3 to query devices for DIB to at least get the blocksize to create ProDOS catalog / bitmap while formatting. Your regression test only check for block I/O...but actual ROM may not be enough to be handled properly by OSes. |
I think this (eg. STATUS) should be handled in the emulator - leaving the firmware to just be a simple, thin layer. |
I've spun this off to #1207, and I will close this issue. |
@tomcw Is a hard disk attached to slot 5 expected to be bootable? It always boots to a slot 6 floppy drive instead (and just goes to monitor without the floppy), and would appreciate any hints/guesses before I go digging. Thanks! |
You'll need to remove the Disk II Controller card from slot 6.
|
Would like to be able to have multiple hard disk controllers so I can mount more than two large disk volumes at the same time.
The text was updated successfully, but these errors were encountered: