*** empty log message ***
[h316.git] / pc-tools / ldc2 / src / hw_constants.hh
diff --git a/pc-tools/ldc2/src/hw_constants.hh b/pc-tools/ldc2/src/hw_constants.hh
new file mode 100644 (file)
index 0000000..2ec1c87
--- /dev/null
@@ -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