| 1945 | //=========================================================================== |
| 1946 | |
| 1947 | void __stdcall Disk2InterfaceCard::SetWriteMode(WORD, WORD, BYTE, BYTE, ULONG uExecutedCycles) |
| 1948 | { |
| 1949 | m_formatTrack.DriveSwitchedToWriteMode(m_floppyDrive[m_currDrive].m_disk.m_byte); |
| 1950 | |
| 1951 | BOOL modechange = !m_floppyDrive[m_currDrive].m_writelight; |
| 1952 | #if LOG_DISK_RW_MODE |
| 1953 | LOG_DISK("rw mode: write (mode changed=%d)\r\n", modechange ? 1 : 0); |
| 1954 | #endif |
| 1955 | #if LOG_DISK_NIBBLES_WRITE |
| 1956 | m_uWriteLastCycle = 0; |
| 1957 | #endif |
| 1958 | |
| 1959 | m_floppyDrive[m_currDrive].m_writelight = WRITELIGHT_CYCLES; |
| 1960 | |
| 1961 | if (modechange) |
| 1962 | GetFrame().FrameDrawDiskLEDS(); |
| 1963 | } |
| 1964 | |
| 1965 | //=========================================================================== |
| 1966 |
no test coverage detected