src/mess/includes/tandy2k.h
| r0 | r7432 | |
| 1 | /***************************************************************************** |
| 2 | * |
| 3 | * includes/tandy2k.h |
| 4 | * |
| 5 | ****************************************************************************/ |
| 6 | |
| 7 | #ifndef __TANDY2K_H__ |
| 8 | #define __TANDY2K_H__ |
| 9 | |
| 10 | typedef struct _tandy2k_state tandy2k_state; |
| 11 | struct _tandy2k_state |
| 12 | { |
| 13 | UINT8 kben; |
| 14 | UINT8 extclk; |
| 15 | UINT8 spkrdata; |
| 16 | UINT8 keylatch; |
| 17 | UINT8 rxrdy; |
| 18 | UINT8 txrdy; |
| 19 | UINT8 outspkr; |
| 20 | UINT8 pb_sel; |
| 21 | |
| 22 | |
| 23 | /* devices */ |
| 24 | running_device *speaker; |
| 25 | running_device *pit; |
| 26 | running_device *fdc; |
| 27 | running_device *pic0; |
| 28 | running_device *pic1; |
| 29 | running_device *uart; |
| 30 | running_device *centronics; |
| 31 | }; |
| 32 | |
| 33 | |
| 34 | #define I8272A_TAG "i8272a" |
| 35 | #define I8251A_TAG "i8251a" |
| 36 | #define I8253_TAG "pit" |
| 37 | #define I8255A_TAG "pio" |
| 38 | #define I8259A_0_TAG "pic0" |
| 39 | #define I8259A_1_TAG "pic1" |
| 40 | #define CENTRONICS_TAG "centronics" |
| 41 | #define I80186_TAG "maincpu" |
| 42 | #define I8048_TAG "subcpu" |
| 43 | #define SCREEN_TAG "screen" |
| 44 | #define SPEAKER_TAG "speaker" |
| 45 | |
| 46 | #endif /* __TANDY2K_H__ */ |