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

Function Util_GetTrackSectorOffset

source/ProDOS_Utils.cpp:50–53  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

48
49 //===========================================================================
50 int Util_GetTrackSectorOffset( const int nTrack, const int nSector )
51 {
52 return (TRACK_DENIBBLIZED_SIZE * nTrack) + (nSector * 256);
53 }
54
55 // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
56

Callers 2

Util_DOS33_SetTrackUsedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected