blob: 2415e9133f14ef631a77e78771a05114832cede0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*****************************************************************************
*
* Xerox AltoII display horizontal task (DHT)
*
* Copyright Juergen Buchmueller <pullmoll@t-online.de>
*
* Licenses: MAME, GPLv2
*
*****************************************************************************/
#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
|