Occurs on these conditions: . spin > 2 bytes (empirical from inspecting DOS3.3-INIT/ProDOS-FORMAT operations) . drive stepper track change . drive motor state change . switch to read mode after having written a complete track
| 68 | // . drive motor state change |
| 69 | // . switch to read mode after having written a complete track |
| 70 | void FormatTrack::DriveNotWritingTrack(void) |
| 71 | { |
| 72 | m_bmWrittenSectorAddrFields = 0x0000; |
| 73 | m_WriteTrackStartIndex = 0; |
| 74 | m_WriteTrackHasWrapped = false; |
| 75 | m_WriteDataFieldPrologueCount = 0; |
| 76 | m_bAddressPrologueIsDOS3_2 = false; |
| 77 | |
| 78 | #if LOG_DISK_NIBBLES_WRITE_TRACK_GAPS |
| 79 | m_DbgGap1Size = 0; |
| 80 | m_DbgGap2Size = 0; |
| 81 | m_DbgGap3Size = -1; // Data Field's epilogue has an extra 0xFF, which isn't part of the Gap3 sync-FF field |
| 82 | #endif |
| 83 | } |
| 84 | |
| 85 | void FormatTrack::UpdateOnWriteLatch(UINT uSpinNibbleCount, const FloppyDisk* const pFloppy) |
| 86 | { |
no outgoing calls
no test coverage detected