This adds the ability for CONFIG to determine which Disk II drive(s) the FujiNet is connected as. Requires the CONTROL/STATUS commands added to the firmware on diskii_drive_detect PR. https://github.com/FujiNetWIFI/fujinet-firmware/pull/805
During startup CONFIG will locate all the Disk II controllers in the Apple II and spin them quickly and query the FujiNet if it saw the drive spin. After determining which drives are connected to the FujiNet, the Disk II drives will display the slot & drive instead of a simple "1" or "2". If a drive is not detected then it will display as NA. If older firmware is installed which doesn't support IWM_CTRL_CLEAR_ENSEEN then the Disk II drives will use the simple "1" or "2".
Mainly intended for use on the IIc since many people are confused about which FujiNet Disk II drive represents the external drive, however the display of slot/drive for the Disk II drives is useful on all Apple IIs.
Tested on IIe with Disk II card, IIc as external drive, IIe with Dsub19 IO controller, and IIc+.
Note: I had to workaround an issue with sp_get_fuji_id() because for some reason it sometimes returns 1 instead of 8 and leaves sp_fuji_id == 0. (Lines 61-65 in diskii.c)
This adds the ability for CONFIG to determine which Disk II drive(s) the FujiNet is connected as. Requires the CONTROL/STATUS commands added to the firmware on
diskii_drive_detect
PR. https://github.com/FujiNetWIFI/fujinet-firmware/pull/805During startup CONFIG will locate all the Disk II controllers in the Apple II and spin them quickly and query the FujiNet if it saw the drive spin. After determining which drives are connected to the FujiNet, the Disk II drives will display the slot & drive instead of a simple "1" or "2". If a drive is not detected then it will display as
NA
. If older firmware is installed which doesn't supportIWM_CTRL_CLEAR_ENSEEN
then the Disk II drives will use the simple "1" or "2".Mainly intended for use on the IIc since many people are confused about which FujiNet Disk II drive represents the external drive, however the display of slot/drive for the Disk II drives is useful on all Apple IIs.
Tested on IIe with Disk II card, IIc as external drive, IIe with Dsub19 IO controller, and IIc+.
Note: I had to workaround an issue with
sp_get_fuji_id()
because for some reason it sometimes returns1
instead of8
and leavessp_fuji_id == 0
. (Lines 61-65 in diskii.c)