X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fhw_constants.hh;fp=pc-tools%2Fldc2%2Fsrc%2Fhw_constants.hh;h=2ec1c87312f52bf844a3be07586e3c36c5187149;hb=97b26985c0190e2fded0f098819a23e892b381f0;hp=0000000000000000000000000000000000000000;hpb=70896a91a15781c49bce37b0101466c83c51dd24;p=h316.git diff --git a/pc-tools/ldc2/src/hw_constants.hh b/pc-tools/ldc2/src/hw_constants.hh new file mode 100644 index 0000000..2ec1c87 --- /dev/null +++ b/pc-tools/ldc2/src/hw_constants.hh @@ -0,0 +1,23 @@ +#ifndef HW_CONSTANTS_H +#define HW_CONSTANTS_H + +/* Block start delimiter */ +#define BLOCK_START_DELIMITER 0x81 + +#define MINIMUM_DATA_BLOCK_WORDSIZE 1 + +/* Block end delimiters */ +#define EOB_LENGTH 1 +#define BLOCK_END_DELIMITER_1 0223 +#define BLOCK_END_DELIMITER_2 0223 + +/* End of Tape sequence + * If EOT_LENGTH is set to 2, EOT_1 becomes insignificant and so on + */ +#define EOT_LENGTH 3 +#define EOT_SEQ_1 0x83 +#define EOT_SEQ_2 0x93 +#define EOT_SEQ_3 0xff + + +#endif