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

Function decode_data_gcr

arch/apple2/decoder.cc:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 {&SECTOR_RECORD_PATTERN, &DATA_RECORD_PATTERN});
21
22static int decode_data_gcr(uint8_t gcr)
23{
24 switch (gcr)
25 {
26#define GCR_ENTRY(gcr, data) \
27 case gcr: \
28 return data;
29#include "data_gcr.h"
30#undef GCR_ENTRY
31 }
32 return -1;
33}
34
35/* This is extremely inspired by the MESS implementation, written by Nathan
36 * Woods and R. Belmont:

Callers 1

decode_crazy_dataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected