Skip to content

Conversation

@FozzTexx
Copy link
Contributor

@FozzTexx FozzTexx commented Oct 13, 2024

Added a SmartPort STATUS and CONTROL command which allows CONFIG to see which /DRIVEn lines are connected to the FujiNet.

New IWM_CTRL_CLEAR_ENSEEN and IWM_STATUS_ENSEEN are both defined as 0x08 since it was available. Not sure if it should be a different value, but seems like both should be identical.

CLEAR will reset the "sticky" variable d2_enable_seen to 0x00. After that whenever a Disk II enable is seen the appropriate bit will be set in d2_enable_seen (bit 0 is drive 1, bit 1 is drive 2). STATUS will fetch the current value so that CONFIG can determine if FujiNet saw the drive access.

This change is for use with the change on CONFIG, see the diskii_drive_detect PR there. FujiNetWIFI/fujinet-config#101

@tschak909 tschak909 merged commit 68290fa into FujiNetWIFI:master Oct 13, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants