Expand description
16-bit word order of SGI (MIPS / 68020) disk images, shared by the volume label and EFS.
Enums§
- SgiLabel
Byte Order - Which way round the 16-bit words of an image sit. Byte-swapped images come from controllers that wired the data bus the other way round.
Functions§
- apply_
byte_ order - Apply
orderto a freshly-read buffer so its 16-bit words read as the 68020 wrote them. - swab16_
in_ place - Reverse the two bytes of every 16-bit word in
buf. A trailing odd byte is left alone, which only matters for callers that read unaligned tails.