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

Function encode_data_gcr

arch/apple2/encoder.cc:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "lib/core/bytes.h"
12
13static int encode_data_gcr(uint8_t data)
14{
15 switch (data)
16 {
17#define GCR_ENTRY(gcr, data) \
18 case data: \
19 return gcr;
20#include "data_gcr.h"
21#undef GCR_ENTRY
22 }
23 return -1;
24}
25
26class Apple2Encoder : public Encoder
27{

Callers 1

writeSectorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected