2 * Copyright © 2017 Keith Packard <keithp@keithp.com>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
18 /* Decoded address driven by TPA/TPB signals */
19 extern uint16_t ADDRESS;
21 /* Decoded data, driven by TPB signal */
28 MRD_set(uint8_t value);
34 MWR_set(uint8_t value);
54 /* Tri-state data bus */
68 /* Pins controlled by 1802 */
78 /* Pins controlled by STM */
89 DMA_IN_set(uint8_t dma_in);
95 DMA_OUT_set(uint8_t dma_out);
101 INT_set(uint8_t dma_out);
107 CLEAR_set(uint8_t dma_out);
113 WAIT_set(uint8_t dma_out);
118 #define SC_INTERRUPT 3
129 #endif /* _AO_1802_H_ */