Added SmartPort STATUS and CONTROL commands to monitor Disk II #805
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a SmartPort STATUS and CONTROL command which allows CONFIG to see which /DRIVEn lines are connected to the FujiNet.
New
IWM_CTRL_CLEAR_ENSEENandIWM_STATUS_ENSEENare both defined as0x08since 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_seento 0x00. After that whenever a Disk II enable is seen the appropriate bit will be set ind2_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