MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / IsWriteProtected

Method IsWriteProtected

source/DiskImageHelper.h:212–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 virtual UINT GetMaxHdrSize(void) { return sizeof(WOZHeader); }
211 eDetectResult ProcessChunks(ImageInfo* pImageInfo, uint32_t& dwOffset);
212 bool IsWriteProtected(void) { return m_pInfo->v1.writeProtected == 1; }
213 BYTE GetOptimalBitTiming(void) { return (m_pInfo->v1.version >= 2) ? m_pInfo->optimalBitTiming : InfoChunkv2::optimalBitTiming5_25; }
214 UINT GetMaxNibblesPerTrack(void) { return (m_pInfo->v1.version >= 2) ? m_pInfo->largestTrack*CWOZHelper::BLOCK_SIZE : WOZ1_TRACK_SIZE; }
215 BYTE GetBootSectorFormat(void) { return (m_pInfo->v1.version >= 2) ? m_pInfo->bootSectorFormat : bootUnknown; }

Callers 1

WOZUpdateInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected