Previous 15994 Revisions Next

r7505 Friday 5th March, 2010 at 13:00:17 UTC by Fabio Priuli
Fixing compile, part 2
[src/mess/includes]abc80.h abc80x.h advision.h at.h atarist.h b2m.h beta.h bw12.h bw2.h c16.h c80.h cbmb.h

src/mess/includes/cbmb.h
r7504r7505
1515#include "machine/6526cia.h"
1616#include "devices/cartslot.h"
1717
18typedef struct _cbmb_state cbmb_state;
19struct _cbmb_state
18class cbmb_state
2019{
20public:
21   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, cbmb_state(machine)); }
22
23   cbmb_state(running_machine &machine) { }
24
2125   /* keyboard lines */
2226   int cbmb_keyline_a;
2327   int cbmb_keyline_b;
src/mess/includes/bw12.h
r7504r7505
1515#define BW12_VIDEORAM_MASK   0x7ff
1616#define BW12_CHARROM_MASK   0xfff
1717
18typedef struct _bw12_state bw12_state;
19struct _bw12_state
18class bw12_state
2019{
20public:
21   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bw12_state(machine)); }
22
23   bw12_state(running_machine &machine) { }
24
2125   /* memory state */
2226   int bank;
2327
src/mess/includes/advision.h
r7504r7505
1111#define I8048_TAG   "i8048"
1212#define COP411_TAG   "cop411"
1313
14typedef struct _advision_state advision_state;
15struct _advision_state
14class advision_state
1615{
16public:
17   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, advision_state(machine)); }
18
19   advision_state(running_machine &machine) { }
20
1721   /* external RAM state */
1822   UINT8 *extram;
1923   int rambank;
src/mess/includes/b2m.h
r7504r7505
1313#include "sound/speaker.h"
1414#include "sound/wave.h"
1515
16typedef struct _b2m_state b2m_state;
17struct _b2m_state
16class b2m_state
1817{
18public:
19   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, b2m_state(machine)); }
20
21   b2m_state(running_machine &machine) { }
22
1923   UINT8 b2m_8255_porta;
2024   UINT8 b2m_video_scroll;
2125   UINT8 b2m_8255_portc;
src/mess/includes/abc80.h
r7504r7505
5050#define SN76477_TAG      "g8"
5151#define CASSETTE_TAG   "cassette"
5252
53typedef struct _abc80_state abc80_state;
54struct _abc80_state
53class abc80_state
5554{
55public:
56   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, abc80_state(machine)); }
57
58   abc80_state(running_machine &machine) { }
59
5660   /* keyboard state */
5761   int key_data;
5862   int key_strobe;
src/mess/includes/atarist.h
r7504r7505
4141   IKBD_MOUSE_PHASE_NEGATIVE
4242};
4343
44typedef struct _atarist_state atarist_state;
45struct _atarist_state
44class atarist_state
4645{
46public:
47   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, atarist_state(machine)); }
48
49   atarist_state(running_machine &machine) { }
50
4751   /* memory state */
4852   UINT8 mmu;
4953   UINT16 megaste_cache;
src/mess/includes/beta.h
r7504r7505
77#define EPROM_TAG      "eprom"
88#define SPEAKER_TAG      "b237"
99
10typedef struct _beta_state beta_state;
11struct _beta_state
10class beta_state
1211{
12public:
13   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, beta_state(machine)); }
14
15   beta_state(running_machine &machine) { }
16
1317   /* EPROM state */
1418   int eprom_oe;
1519   int eprom_ce;
src/mess/includes/c16.h
r7504r7505
77#ifndef __C16_H__
88#define __C16_H__
99
10typedef struct _c16_state c16_state;
11struct _c16_state
10class c16_state
1211{
12public:
13   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, c16_state(machine)); }
14
15   c16_state(running_machine &machine) { }
16
1317   /* memory pointers */
1418   UINT8 *      mem10000;
1519   UINT8 *      mem14000;
src/mess/includes/bw2.h
r7504r7505
2424   BANK_ROM
2525};
2626
27typedef struct _bw2_state bw2_state;
28struct _bw2_state
27class bw2_state
2928{
29public:
30   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bw2_state(machine)); }
31
32   bw2_state(running_machine &machine) { }
33
34
3035   /* keyboard state */
3136   UINT8 keyboard_row;
3237
src/mess/includes/at.h
r7504r7505
1111
1212#include "machine/8237dma.h"
1313
14typedef struct _at_state at_state;
15struct _at_state
14class at_state
1615{
16public:
17   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, at_state(machine)); }
18
19   at_state(running_machine &machine) { }
20
1721   running_device *maincpu;
1822   running_device *pic8259_master;
1923   running_device *pic8259_slave;
src/mess/includes/abc80x.h
r7504r7505
3636#define ABC800_CHAR_WIDTH   6
3737#define ABC800_CCLK         ABC800_X01/ABC800_CHAR_WIDTH
3838
39typedef struct _abc800_state abc800_state;
40struct _abc800_state
39class abc800_state
4140{
41public:
42   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, abc800_state(machine)); }
43
44   abc800_state(running_machine &machine) { }
45
4246   /* cpu state */
4347   int fetch_charram;         /* opcode fetched from character RAM region (0x7800-0x7fff) */
4448
r7504r7505
6266   running_device *cassette;
6367};
6468
65typedef struct _abc802_state abc802_state;
66struct _abc802_state
69class abc802_state
6770{
71public:
72   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, abc802_state(machine)); }
73
74   abc802_state(running_machine &machine) { }
75
6876   /* cpu state */
6977   int lrs;            /* low RAM select */
7078
r7504r7505
8896   running_device *cassette;
8997};
9098
91typedef struct _abc806_state abc806_state;
92struct _abc806_state
99class abc806_state
93100{
101public:
102   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, abc806_state(machine)); }
103
104   abc806_state(running_machine &machine) { }
105
94106   /* memory state */
95107   int keydtr;            /* keyboard DTR */
96108   int eme;            /* extended memory enable */
src/mess/includes/c80.h
r7504r7505
77#define Z80PIO2_TAG      "d12"
88#define CASSETTE_TAG   "cassette"
99
10typedef struct _c80_state c80_state;
11struct _c80_state
10class c80_state
1211{
12public:
13   static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, c80_state(machine)); }
14
15   c80_state(running_machine &machine) { }
16
1317   /* keyboard state */
1418   int keylatch;
1519

Previous 15994 Revisions Next


© 1998-2018 The MESS Team