Skip to content
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

No Disk II write support on PC. #803

Merged
merged 1 commit into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/bus/iwm/iwm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@ void IRAM_ATTR iwmBus::service()
if (!serviceSmartPort())
serviceDiskII();

#ifndef DEV_RELAY_SLIP
serviceDiskIIWrite();
#endif
}

// Returns true if SmartPort was handled
Expand Down Expand Up @@ -598,6 +600,7 @@ bool IRAM_ATTR iwmBus::serviceDiskII()
return true;
}

#ifndef DEV_RELAY_SLIP
// Returns true if a Disk II write was received
bool IRAM_ATTR iwmBus::serviceDiskIIWrite()
{
Expand Down Expand Up @@ -685,7 +688,6 @@ bool IRAM_ATTR iwmBus::serviceDiskIIWrite()
return true;
}

#ifndef DEV_RELAY_SLIP
iwm_enable_state_t IRAM_ATTR iwmBus::iwm_drive_enabled()
{
uint8_t phases = smartport.iwm_phase_vector();
Expand Down
2 changes: 2 additions & 0 deletions lib/bus/iwm/iwm.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@ class iwmBus
void service();
bool serviceSmartPort();
bool serviceDiskII();
#ifndef DEV_RELAY_SLIP
bool serviceDiskIIWrite();
#endif
void shutdown();

int numDevices();
Expand Down