97b26985 |
1 | #ifndef HW_CONSTANTS_H |
2 | #define HW_CONSTANTS_H |
3 | |
4 | /* Block start delimiter */ |
5 | #define BLOCK_START_DELIMITER 0x81 |
6 | |
7 | #define MINIMUM_DATA_BLOCK_WORDSIZE 1 |
8 | |
9 | /* Block end delimiters */ |
fed2c751 |
10 | #define EOB_LENGTH 2 |
97b26985 |
11 | #define BLOCK_END_DELIMITER_1 0223 |
fed2c751 |
12 | //#define BLOCK_END_DELIMITER_2 0223 // ==0x93 |
13 | #define BLOCK_END_DELIMITER_2 0xFF |
14 | |
97b26985 |
15 | |
16 | /* End of Tape sequence |
17 | * If EOT_LENGTH is set to 2, EOT_1 becomes insignificant and so on |
18 | */ |
19 | #define EOT_LENGTH 3 |
20 | #define EOT_SEQ_1 0x83 |
21 | #define EOT_SEQ_2 0x93 |
22 | #define EOT_SEQ_3 0xff |
23 | |
24 | |
25 | #endif |