Previous 15994 Revisions Next

r7442 Monday 22nd February, 2010 at 08:15:24 UTC by Curt Coder
[TANDY2K] Added correct header file.
[src/mess/includes]tandy2k.h

src/mess/includes/tandy2k.h
r7441r7442
1/*****************************************************************************
2 *
3 * includes/tandy2k.h
4 *
5 ****************************************************************************/
1#ifndef __TANDY2K__
2#define __TANDY2K__
63
7#ifndef __TANDY2K_H__
8#define __TANDY2K_H__
4#define SCREEN_TAG      "screen"
5#define I80186_TAG      "u76"
6#define I8048_TAG      "m1"
7#define I8255A_TAG      "u75"
8#define I8251A_TAG      "u41"
9#define I8253_TAG      "u40"
10#define I8259A_0_TAG   "u42"
11#define I8259A_1_TAG   "u43"
12#define I8272A_TAG      "u121"
13#define CRT9007_TAG      "u16"
14#define CRT9021_TAG      "u14"
15#define WD1010_TAG      "u18"
16#define SPEAKER_TAG      "speaker"
17#define CENTRONICS_TAG   "centronics"
918
1019typedef struct _tandy2k_state tandy2k_state;
1120struct _tandy2k_state
1221{
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   
22   /* keyboard state */
23   int kben;
24   UINT16 keylatch;
25
26   /* serial state */
27   int extclk;
28   int rxrdy;
29   int txrdy;
30
31   /* PPI state */
32   int pb_sel;
33
34   /* sound state */
35   int outspkr;
36   int spkrdata;
37
2338   /* devices */
24   running_device *speaker;
39   running_device *uart;
2540   running_device *pit;
2641   running_device *fdc;
2742   running_device *pic0;
2843   running_device *pic1;
29   running_device *uart;
3044   running_device *centronics;
45   running_device *speaker;
3146};
3247
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__ */
48#endif

Previous 15994 Revisions Next


© 1998-2018 The MESS Team