diff options
Diffstat (limited to 'src/lib/formats/hti_tape.h')
-rw-r--r-- | src/lib/formats/hti_tape.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/formats/hti_tape.h b/src/lib/formats/hti_tape.h index 3366b48f697..4c5e5ed3279 100644 --- a/src/lib/formats/hti_tape.h +++ b/src/lib/formats/hti_tape.h @@ -33,6 +33,12 @@ public: // Tape length: 140 ft of usable tape + 72" of punched tape at either end static constexpr tape_pos_t TAPE_LENGTH = (140 * 12 + 72 * 2) * ONE_INCH_POS; + // Length of 0 bits at slow tape speed: 1/(35200 Hz) + static constexpr tape_pos_t ZERO_BIT_LEN = 619; + + // Length of 1 bits at slow tape speed: 1.75 times ZERO_BIT_LEN + static constexpr tape_pos_t ONE_BIT_LEN = 1083; + // Words stored on tape typedef uint16_t tape_word_t; |