| 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 */ |
| 10 | #define EOB_LENGTH 2 |
| 11 | #define BLOCK_END_DELIMITER_1 0223 |
| 12 | //#define BLOCK_END_DELIMITER_2 0223 // ==0x93 |
| 13 | #define BLOCK_END_DELIMITER_2 0xFF |
| 14 | |
| 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 |