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

Function ProDOS_Get24

source/ProDOS_FileSystem.h:189–197  ·  view source on GitHub ↗

------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

187
188 // ------------------------------------------------------------------------
189 inline uint32_t ProDOS_Get24 ( uint8_t *pDiskBytes, int offset )
190 {
191 uint32_t n = 0
192 | (((uint32_t)pDiskBytes[ offset + 0 ]) << 0)
193 | (((uint32_t)pDiskBytes[ offset + 1 ]) << 8)
194 | (((uint32_t)pDiskBytes[ offset + 2 ]) << 16)
195 ;
196 return n;
197 }
198
199 // ------------------------------------------------------------------------
200 inline void ProDOS_Put16 ( uint8_t *pDiskBytes, int offset, int val )

Callers 1

ProDOS_GetFileHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected