mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Rework the bytecode format to use a much simplified setup: a six-bit timer with
the top two bits reserved for pulse and index state. This is actually smaller, bandwidth-wise, than the old version, and may be smaller than the crunched version.
This commit is contained in:
@@ -35,7 +35,7 @@ void AbstractDecoder::decodeToSectors(Track& track)
|
||||
return;
|
||||
if ((r == UNKNOWN_RECORD) || (r == DATA_RECORD))
|
||||
{
|
||||
fmr.readNextMatchingOpcode(F_OP_PULSE);
|
||||
fmr.findEvent(F_BIT_PULSE);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ void AbstractDecoder::decodeToSectors(Track& track)
|
||||
r = advanceToNextRecord();
|
||||
if (r != UNKNOWN_RECORD)
|
||||
break;
|
||||
if (fmr.readNextMatchingOpcode(F_OP_PULSE) == 0)
|
||||
if (fmr.findEvent(F_BIT_PULSE) == 0)
|
||||
break;
|
||||
}
|
||||
recordStart = fmr.tell();
|
||||
|
||||
Reference in New Issue
Block a user