X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fhw_constants.hh;h=6c85e56f24d04ea0a9f2f33a3f5db6541365798a;hb=7ced2dbeb1a104912fbdd041ce18b0e29a72d893;hp=2ec1c87312f52bf844a3be07586e3c36c5187149;hpb=97b26985c0190e2fded0f098819a23e892b381f0;p=h316.git diff --git a/pc-tools/ldc2/src/hw_constants.hh b/pc-tools/ldc2/src/hw_constants.hh index 2ec1c87..6c85e56 100644 --- a/pc-tools/ldc2/src/hw_constants.hh +++ b/pc-tools/ldc2/src/hw_constants.hh @@ -1,15 +1,29 @@ +/****************************************************************************** + * + * LDC2 source code + * + * $Date: 2007/03/26 01:00:40 $ + * $Author: hachti $ + * + * $Log: hw_constants.hh,v $ + * Revision 2.0 2007/03/26 01:00:40 hachti + * *** empty log message *** + * + * + ******************************************************************************/ + #ifndef HW_CONSTANTS_H #define HW_CONSTANTS_H /* Block start delimiter */ -#define BLOCK_START_DELIMITER 0x81 +#define BLOCK_START_DELIMITER 0x81 //0201 (SOM:Start of Message) #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 +#define EOB_LENGTH 2 +#define BLOCK_END_DELIMITER_1 0223 // XOFF 0x93 +#define BLOCK_END_DELIMITER_2 0xFF /* End of Tape sequence * If EOT_LENGTH is set to 2, EOT_1 becomes insignificant and so on @@ -19,5 +33,4 @@ #define EOT_SEQ_2 0x93 #define EOT_SEQ_3 0xff - #endif