diff options
author | 2018-10-16 17:39:31 +0200 | |
---|---|---|
committer | 2018-10-16 17:39:31 +0200 | |
commit | 830c3203f5773e4097a1fc7a000e23243222bffc (patch) | |
tree | f7a4f0ae1985331952be999f014b01a70b7ca97b /src/lib/formats/hti_tape.h | |
parent | c5df218215d2321423ea6227a5254921449804f3 (diff) |
hp9825: added DC100 tape drive
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; |