MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / decode_side

Function decode_side

arch/macintosh/decoder.cc:121–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121uint8_t decode_side(uint8_t side)
122{
123 /* Mac disks, being weird, use the side byte to encode both the side (in
124 * bit 5) and also whether we're above track 0x3f (in bit 0).
125 */
126
127 return !!(side & 0x20);
128}
129
130class MacintoshDecoder : public Decoder
131{

Callers 1

decodeSectorRecordMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected