| Previous | 15994 Revisions | Next |
| r7506 Friday 5th March, 2010 at 13:05:00 UTC by Fabio Priuli |
|---|
| Fixing compile, part 3 |
| [src/mess/includes] | coco.h comx35.h cosmicos.h crvision.h elf.h eti660.h exp85.h huebler.h jtc.h kyocera.h lc80.h |
| r7505 | r7506 | |
|---|---|---|
| 9 | 9 | #define DM9368_H_TAG "a8" |
| 10 | 10 | #define CASSETTE_TAG "cassette" |
| 11 | 11 | |
| 12 | typedef struct _elf2_state elf2_state; | |
| 13 | struct _elf2_state | |
| 12 | class elf2_state | |
| 14 | 13 | { |
| 14 | public: | |
| 15 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, elf2_state(machine)); } | |
| 16 | ||
| 17 | elf2_state(running_machine &machine) { } | |
| 18 | ||
| 15 | 19 | /* display state */ |
| 16 | 20 | int cdp1861_efx; /* EFx */ |
| 17 | 21 | UINT8 data; |
| r7505 | r7506 | |
|---|---|---|
| 8 | 8 | #define CASSETTE_TAG "cassette" |
| 9 | 9 | #define SPEAKER_TAG "speaker" |
| 10 | 10 | |
| 11 | typedef struct _exp85_state exp85_state; | |
| 12 | struct _exp85_state | |
| 11 | class exp85_state | |
| 13 | 12 | { |
| 13 | public: | |
| 14 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, exp85_state(machine)); } | |
| 15 | ||
| 16 | exp85_state(running_machine &machine) { } | |
| 17 | ||
| 14 | 18 | /* cassette state */ |
| 15 | 19 | int tape_control; |
| 16 | 20 |
| r7505 | r7506 | |
|---|---|---|
| 29 | 29 | TYPE DEFINITIONS |
| 30 | 30 | ***************************************************************************/ |
| 31 | 31 | |
| 32 | typedef struct _coco_state coco_state; | |
| 33 | struct _coco_state | |
| 32 | class coco_state | |
| 34 | 33 | { |
| 34 | public: | |
| 35 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, coco_state(machine)); } | |
| 36 | ||
| 37 | coco_state(running_machine &machine) { } | |
| 38 | ||
| 35 | 39 | running_device *cococart_device; |
| 36 | 40 | running_device *cassette_device; |
| 37 | 41 | running_device *bitbanger_device; |
| r7505 | r7506 | |
|---|---|---|
| 15 | 15 | LED_PULSE |
| 16 | 16 | }; |
| 17 | 17 | |
| 18 | typedef struct _eti660_state eti660_state; | |
| 19 | struct _eti660_state | |
| 18 | class eti660_state | |
| 20 | 19 | { |
| 20 | public: | |
| 21 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, eti660_state(machine)); } | |
| 22 | ||
| 23 | eti660_state(running_machine &machine) { } | |
| 24 | ||
| 21 | 25 | /* cpu state */ |
| 22 | 26 | cdp1802_control_mode cdp1802_mode; |
| 23 | 27 |
| r7505 | r7506 | |
|---|---|---|
| 9 | 9 | #define CASSETTE_TAG "cassette" |
| 10 | 10 | #define SPEAKER_TAG "b237" |
| 11 | 11 | |
| 12 | typedef struct _lc80_state lc80_state; | |
| 13 | struct _lc80_state | |
| 12 | class lc80_state | |
| 14 | 13 | { |
| 14 | public: | |
| 15 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, lc80_state(machine)); } | |
| 16 | ||
| 17 | lc80_state(running_machine &machine) { } | |
| 18 | ||
| 15 | 19 | /* display state */ |
| 16 | 20 | UINT8 digit; |
| 17 | 21 | UINT8 segment; |
| r7505 | r7506 | |
|---|---|---|
| 12 | 12 | #define BANK_ROM1 "bank1" |
| 13 | 13 | #define BANK_ROM2 "bank2" |
| 14 | 14 | |
| 15 | typedef struct _crvision_state crvision_state; | |
| 16 | struct _crvision_state | |
| 15 | class crvision_state | |
| 17 | 16 | { |
| 17 | public: | |
| 18 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, crvision_state(machine)); } | |
| 19 | ||
| 20 | crvision_state(running_machine &machine) { } | |
| 21 | ||
| 18 | 22 | /* keyboard state */ |
| 19 | 23 | int keylatch; |
| 20 | 24 |
| r7505 | r7506 | |
|---|---|---|
| 18 | 18 | #define TCM5089_TAG "m11" |
| 19 | 19 | #define MSM8251_TAG "m20" |
| 20 | 20 | |
| 21 | typedef struct _kc85_state kc85_state; | |
| 22 | struct _kc85_state | |
| 21 | class kc85_state | |
| 23 | 22 | { |
| 23 | public: | |
| 24 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, kc85_state(machine)); } | |
| 25 | ||
| 26 | kc85_state(running_machine &machine) { } | |
| 27 | ||
| 24 | 28 | /* memory state */ |
| 25 | 29 | UINT8 bank; /* memory bank selection */ |
| 26 | 30 |
| r7505 | r7506 | |
|---|---|---|
| 37 | 37 | BANK_RAMCARD |
| 38 | 38 | }; |
| 39 | 39 | |
| 40 | typedef struct _comx35_state comx35_state; | |
| 41 | struct _comx35_state | |
| 40 | class comx35_state | |
| 42 | 41 | { |
| 42 | public: | |
| 43 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, comx35_state(machine)); } | |
| 44 | ||
| 45 | comx35_state(running_machine &machine) { } | |
| 46 | ||
| 43 | 47 | /* processor state */ |
| 44 | 48 | int cdp1802_mode; /* CPU mode */ |
| 45 | 49 | int cdp1802_q; /* Q flag */ |
| r7505 | r7506 | |
|---|---|---|
| 9 | 9 | |
| 10 | 10 | #define JTC_ES40_VIDEORAM_SIZE 0x2000 |
| 11 | 11 | |
| 12 | typedef struct _jtc_state jtc_state; | |
| 13 | struct _jtc_state | |
| 12 | class jtc_state | |
| 14 | 13 | { |
| 14 | public: | |
| 15 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, jtc_state(machine)); } | |
| 16 | ||
| 17 | jtc_state(running_machine &machine) { } | |
| 18 | ||
| 15 | 19 | /* video state */ |
| 16 | 20 | UINT8 video_bank; |
| 17 | 21 | UINT8 *video_ram; |
| r7505 | r7506 | |
|---|---|---|
| 28 | 28 | LED_CASSETTE |
| 29 | 29 | }; |
| 30 | 30 | |
| 31 | typedef struct _cosmicos_state cosmicos_state; | |
| 32 | struct _cosmicos_state | |
| 31 | class cosmicos_state | |
| 33 | 32 | { |
| 33 | public: | |
| 34 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, cosmicos_state(machine)); } | |
| 35 | ||
| 36 | cosmicos_state(running_machine &machine) { } | |
| 37 | ||
| 34 | 38 | /* CPU state */ |
| 35 | 39 | cdp1802_control_mode cdp1802_mode; |
| 36 | 40 | int sc1; |
| r7505 | r7506 | |
|---|---|---|
| 9 | 9 | #define Z80PIO2_TAG "z80pio2" |
| 10 | 10 | #define CASSETTE_TAG "cassette" |
| 11 | 11 | |
| 12 | typedef struct _amu880_state amu880_state; | |
| 13 | struct _amu880_state | |
| 12 | class amu880_state | |
| 14 | 13 | { |
| 14 | public: | |
| 15 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, amu880_state(machine)); } | |
| 16 | ||
| 17 | amu880_state(running_machine &machine) { } | |
| 18 | ||
| 15 | 19 | /* keyboard state */ |
| 16 | 20 | int key_y; |
| 17 | 21 | int keylatch; |
| Previous | 15994 Revisions | Next |