summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/alto2/a2dht.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-09-13 08:41:44 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-09-13 08:41:44 +0200
commitf88cefad27a1737c76e09d99c9fb43e173506081 (patch)
tree2d8167d03579c46e226471747eb4407bd00ed6fa /src/devices/cpu/alto2/a2dht.h
parente92ac9e0fa8e99869894bea00589bbb526be30aa (diff)
Move all devices into separate part of src tree (nw)
Diffstat (limited to 'src/devices/cpu/alto2/a2dht.h')
-rw-r--r--src/devices/cpu/alto2/a2dht.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/devices/cpu/alto2/a2dht.h b/src/devices/cpu/alto2/a2dht.h
new file mode 100644
index 00000000000..9ff7acc17f4
--- /dev/null
+++ b/src/devices/cpu/alto2/a2dht.h
@@ -0,0 +1,27 @@
+// license:BSD-3-Clause
+// copyright-holders:Juergen Buchmueller
+/*****************************************************************************
+ *
+ * Xerox AltoII display horizontal task (DHT)
+ *
+ *****************************************************************************/
+#ifdef ALTO2_DEFINE_CONSTANTS
+
+#else // ALTO2_DEFINE_CONSTANTS
+#ifndef _A2DHT_H_
+#define _A2DHT_H_
+
+//! F2 functions for display horizontal task
+enum {
+ f2_dht_evenfield = f2_task_10, //!< f2 10: load even field
+ f2_dht_setmode = f2_task_11 //!< f2 11: set mode
+};
+
+void f1_early_dht_block(); //!< F1 func: disable the display word task
+void f2_late_dht_setmode(); //!< F2 func: set the next scanline's mode inverse and half clock and branch
+void activate_dht(); //!< called by the CPU when the display horizontal task becomes active
+void init_dht(int task = task_dht); //!< initialize display horizontal task
+void exit_dht(); //!< deinitialize display horizontal task
+void reset_dht(); //!< reset the display horizontal task
+#endif // _A2DHT_H_
+#endif // ALTO2_DEFINE_CONSTANTS