Previous 15994 Revisions Next

r7508 Friday 5th March, 2010 at 13:18:38 UTC by Fabio Priuli
Fixing compile, part 5
[src/mess/includes]tandy2k.h tiki100.h tmc1800.h tmc2000e.h tmc600.h trs80m2.h v1050.h vcs80.h vic20.h victor9k.h vip.h xerox820.h xor100.h

src/mess/includes/vip.h
r7507r7508
3131#define VIP_LED_Q            1
3232#define VIP_LED_TAPE         2
3333
34typedef struct _vip_state vip_state;
35struct _vip_state
34class vip_state
3635{
36public:
37   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, vip_state(machine)); }
38
39   vip_state(running_machine &machine) { }
40
3741   /* cpu state */
3842   int reset;                  /* reset activated */
3943
src/mess/includes/trs80m2.h
r7507r7508
1313#define MC6845_TAG      "u11"
1414#define CENTRONICS_TAG   "j2"
1515 
16typedef struct _trs80m2_state trs80m2_state;
17struct _trs80m2_state
16class trs80m2_state
1817{
18public:
19   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, trs80m2_state(machine)); }
20 
21   trs80m2_state(running_machine &machine) { }
22 
1923   /* memory state */
2024   int boot_rom;
2125   int bank;
src/mess/includes/xor100.h
r7507r7508
1313#define CENTRONICS_TAG   "centronics"
1414#define TERMINAL_TAG   "terminal"
1515
16typedef struct _xor100_state xor100_state;
17struct _xor100_state
16class xor100_state
1817{
18public:
19   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, xor100_state(machine)); }
20
21   xor100_state(running_machine &machine) { }
22
1923   /* memory state */
2024   int mode;
2125   int bank;
src/mess/includes/tmc600.h
r7507r7508
1010#define TMC600_PAGE_RAM_SIZE   0x400
1111#define TMC600_PAGE_RAM_MASK   0x3ff
1212
13typedef struct _tmc600_state tmc600_state;
14struct _tmc600_state
13class tmc600_state
1514{
15public:
16   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tmc600_state(machine)); }
17
18   tmc600_state(running_machine &machine) { }
19
1620   /* video state */
1721   int vismac_reg_latch;   /* video register latch */
1822   int vismac_color_latch;   /* color latch */
src/mess/includes/vic20.h
r7507r7508
1414#define CASSETTE_TAG   "cassette"
1515#define TIMER_C1530_TAG   "c1530"
1616 
17typedef struct _vic20_state vic20_state;
18struct _vic20_state
17class vic20_state
1918{
19public:
20   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, vic20_state(machine)); }
21 
22   vic20_state(running_machine &machine) { }
23 
2024   /* keyboard state */
2125   int key_col;
2226 
src/mess/includes/victor9k.h
r7507r7508
3333   running_device *image;
3434};
3535 
36typedef struct _victor9k_state victor9k_state;
37struct _victor9k_state
36class victor9k_state
3837{
38public:
39   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, victor9k_state(machine)); }
40 
41   victor9k_state(running_machine &machine) { }
42 
3943   /* video state */
4044   UINT8 *video_ram;
4145   int vert;
src/mess/includes/v1050.h
r7507r7508
3434#define INT_EXPANSION_B      0x40
3535#define INT_EXPANSION_A      0x80
3636
37typedef struct _v1050_state v1050_state;
38struct _v1050_state
37class v1050_state
3938{
39public:
40   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, v1050_state(machine)); }
41
42   v1050_state(running_machine &machine) { }
43
4044   /* interrupt state */
4145   UINT8 int_mask;            /* interrupt mask */
4246   UINT8 int_state;         /* interrupt status */
src/mess/includes/tmc2000e.h
r7507r7508
88
99#define TMC2000E_COLORRAM_SIZE 0x100 // ???
1010
11typedef struct _tmc2000e_state tmc2000e_state;
12struct _tmc2000e_state
11class tmc2000e_state
1312{
13public:
14   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tmc2000e_state(machine)); }
15
16   tmc2000e_state(running_machine &machine) { }
17
1418   /* video state */
1519   int cdp1864_efx;      /* EFx */
1620   UINT8 *colorram;      /* color memory */
src/mess/includes/tmc1800.h
r7507r7508
77#define CDP1864_TAG      "m3"
88#define CASSETTE_TAG   "cassette"
99
10typedef struct _tmc1800_state tmc1800_state;
11struct _tmc1800_state
10class tmc1800_state
1211{
12public:
13   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tmc1800_state(machine)); }
14
15   tmc1800_state(running_machine &machine) { }
16
1317   /* cpu state */
1418   int reset;            /* reset activated */
1519
r7507r7508
2428   running_device *cassette;
2529};
2630
27typedef struct _osc1000b_state osc1000b_state;
28struct _osc1000b_state
31class osc1000b_state
2932{
33public:
34   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, osc1000b_state(machine)); }
35
36   osc1000b_state(running_machine &machine) { }
37
3038   /* cpu state */
3139   int reset;            /* reset activated */
3240
r7507r7508
3745   running_device *cassette;
3846};
3947
40typedef struct _tmc2000_state tmc2000_state;
41struct _tmc2000_state
48class tmc2000_state
4249{
50public:
51   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tmc2000_state(machine)); }
52
53   tmc2000_state(running_machine &machine) { }
54
4355   /* video state */
4456   int cdp1864_efx;      /* EFx */
4557   int reset;            /* reset activated */
r7507r7508
5567   running_device *cassette;
5668};
5769
58typedef struct _oscnano_state oscnano_state;
59struct _oscnano_state
70class oscnano_state
6071{
72public:
73   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, oscnano_state(machine)); }
74
75   oscnano_state(running_machine &machine) { }
76
6177   /* cpu state */
6278   int monitor_ef4;      /* EF4 line */
6379   int reset;            /* reset activated */
src/mess/includes/tiki100.h
r7507r7508
1616#define BANK_RAM      1
1717#define BANK_VIDEO_RAM   2
1818
19typedef struct _tiki100_state tiki100_state;
20struct _tiki100_state
19class tiki100_state
2120{
21public:
22   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tiki100_state(machine)); }
23
24   tiki100_state(running_machine &machine) { }
25
2226   /* memory state */
2327   int rome;
2428   int vire;
src/mess/includes/xerox820.h
r7507r7508
1515#define XEROX820_VIDEORAM_SIZE   0x1000
1616#define XEROX820_VIDEORAM_MASK   0x0fff
1717
18typedef struct _xerox820_state xerox820_state;
19struct _xerox820_state
18class xerox820_state
2019{
20public:
21   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, xerox820_state(machine)); }
22
23   xerox820_state(running_machine &machine) { }
24
2125   /* keyboard state */
2226   int pbrdy;                     /* key pressed */
2327   int keydata;                  /* keyboard data */
src/mess/includes/vcs80.h
r7507r7508
55#define Z80_TAG         "z80"
66#define Z80PIO_TAG      "z80pio"
77
8typedef struct _vcs80_state vcs80_state;
9struct _vcs80_state
8class vcs80_state
109{
10public:
11   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, vcs80_state(machine)); }
12
13   vcs80_state(running_machine &machine) { }
14
1115   /* keyboard state */
1216   int keylatch;
1317   int keyclk;
src/mess/includes/tandy2k.h
r7507r7508
1616#define SPEAKER_TAG      "speaker"
1717#define CENTRONICS_TAG   "centronics"
1818
19typedef struct _tandy2k_state tandy2k_state;
20struct _tandy2k_state
19class tandy2k_state
2120{
21public:
22   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tandy2k_state(machine)); }
23
24   tandy2k_state(running_machine &machine) { }
25
2226   /* keyboard state */
2327   int kben;
2428   UINT16 keylatch;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team