mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
47 lines
1.6 KiB
Protocol Buffer
47 lines
1.6 KiB
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "arch/aeslanier/aeslanier.proto";
|
|
import "arch/amiga/amiga.proto";
|
|
import "arch/apple2/apple2.proto";
|
|
import "arch/brother/brother.proto";
|
|
import "arch/c64/c64.proto";
|
|
import "arch/f85/f85.proto";
|
|
import "arch/fb100/fb100.proto";
|
|
import "arch/ibm/ibm.proto";
|
|
import "arch/macintosh/macintosh.proto";
|
|
import "arch/micropolis/micropolis.proto";
|
|
import "arch/mx/mx.proto";
|
|
import "arch/tids990/tids990.proto";
|
|
import "arch/victor9k/victor9k.proto";
|
|
import "arch/zilogmcz/zilogmcz.proto";
|
|
import "lib/common.proto";
|
|
|
|
message DecoderProto {
|
|
optional double pulse_debounce_threshold = 1 [default = 0.30,
|
|
(help) = "ignore pulses with intervals shorter than this, in fractions of a clock"];
|
|
optional double bit_error_threshold = 2 [default = 0.40,
|
|
(help) = "amount of error to tolerate in pulse timing, in fractions of a clock"];
|
|
optional double clock_interval_bias = 3 [default = -0.02,
|
|
(help) = "adjust intervals between pulses by this many clocks before decoding"];
|
|
optional double minimum_clock_us = 4 [default = 0.75,
|
|
(help) = "refuse to detect clocks shorter than this, to avoid false positives"];
|
|
|
|
oneof format {
|
|
IBMInputProto ibm = 5;
|
|
BrotherInputProto brother = 6;
|
|
AesLanierInputProto aeslanier = 7;
|
|
AmigaInputProto amiga = 8;
|
|
Commodore64InputProto c64 = 9;
|
|
F85InputProto f85 = 10;
|
|
Fb100InputProto fb100 = 11;
|
|
MacintoshInputProto macintosh = 12;
|
|
Apple2InputProto apple2 = 13;
|
|
MicropolisInputProto micropolis = 14;
|
|
MxInputProto mx = 15;
|
|
Tids990InputProto tids990 = 16;
|
|
Victor9kInputProto victor9k = 17;
|
|
ZilogMczInputProto zilogmcz = 18;
|
|
}
|
|
}
|
|
|