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

Function mzosChecksum

arch/micropolis/decoder.cc:49–62  ·  view source on GitHub ↗

Vector MZOS does not use the standard Micropolis checksum. * The checksum is initially 0. * For each data byte in the 256-byte payload, rotate left, * carrying bit 7 to bit 0. XOR with the current checksum. * * Unlike the Micropolis checksum, this does not cover the 12-byte * header (track, sector, 10 OS-specific bytes.) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

decodeSectorRecordMethod · 0.85

Calls 2

read_8Method · 0.80
eofMethod · 0.45

Tested by

no test coverage detected