| 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 |
| r7507 | r7508 | |
|---|---|---|
| 31 | 31 | #define VIP_LED_Q 1 |
| 32 | 32 | #define VIP_LED_TAPE 2 |
| 33 | 33 | |
| 34 | typedef struct _vip_state vip_state; | |
| 35 | struct _vip_state | |
| 34 | class vip_state | |
| 36 | 35 | { |
| 36 | public: | |
| 37 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, vip_state(machine)); } | |
| 38 | ||
| 39 | vip_state(running_machine &machine) { } | |
| 40 | ||
| 37 | 41 | /* cpu state */ |
| 38 | 42 | int reset; /* reset activated */ |
| 39 | 43 |
| r7507 | r7508 | |
|---|---|---|
| 13 | 13 | #define MC6845_TAG "u11" |
| 14 | 14 | #define CENTRONICS_TAG "j2" |
| 15 | 15 | |
| 16 | typedef struct _trs80m2_state trs80m2_state; | |
| 17 | struct _trs80m2_state | |
| 16 | class trs80m2_state | |
| 18 | 17 | { |
| 18 | public: | |
| 19 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, trs80m2_state(machine)); } | |
| 20 | ||
| 21 | trs80m2_state(running_machine &machine) { } | |
| 22 | ||
| 19 | 23 | /* memory state */ |
| 20 | 24 | int boot_rom; |
| 21 | 25 | int bank; |
| r7507 | r7508 | |
|---|---|---|
| 13 | 13 | #define CENTRONICS_TAG "centronics" |
| 14 | 14 | #define TERMINAL_TAG "terminal" |
| 15 | 15 | |
| 16 | typedef struct _xor100_state xor100_state; | |
| 17 | struct _xor100_state | |
| 16 | class xor100_state | |
| 18 | 17 | { |
| 18 | public: | |
| 19 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, xor100_state(machine)); } | |
| 20 | ||
| 21 | xor100_state(running_machine &machine) { } | |
| 22 | ||
| 19 | 23 | /* memory state */ |
| 20 | 24 | int mode; |
| 21 | 25 | int bank; |
| r7507 | r7508 | |
|---|---|---|
| 10 | 10 | #define TMC600_PAGE_RAM_SIZE 0x400 |
| 11 | 11 | #define TMC600_PAGE_RAM_MASK 0x3ff |
| 12 | 12 | |
| 13 | typedef struct _tmc600_state tmc600_state; | |
| 14 | struct _tmc600_state | |
| 13 | class tmc600_state | |
| 15 | 14 | { |
| 15 | public: | |
| 16 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tmc600_state(machine)); } | |
| 17 | ||
| 18 | tmc600_state(running_machine &machine) { } | |
| 19 | ||
| 16 | 20 | /* video state */ |
| 17 | 21 | int vismac_reg_latch; /* video register latch */ |
| 18 | 22 | int vismac_color_latch; /* color latch */ |
| r7507 | r7508 | |
|---|---|---|
| 14 | 14 | #define CASSETTE_TAG "cassette" |
| 15 | 15 | #define TIMER_C1530_TAG "c1530" |
| 16 | 16 | |
| 17 | typedef struct _vic20_state vic20_state; | |
| 18 | struct _vic20_state | |
| 17 | class vic20_state | |
| 19 | 18 | { |
| 19 | public: | |
| 20 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, vic20_state(machine)); } | |
| 21 | ||
| 22 | vic20_state(running_machine &machine) { } | |
| 23 | ||
| 20 | 24 | /* keyboard state */ |
| 21 | 25 | int key_col; |
| 22 | 26 |
| r7507 | r7508 | |
|---|---|---|
| 33 | 33 | running_device *image; |
| 34 | 34 | }; |
| 35 | 35 | |
| 36 | typedef struct _victor9k_state victor9k_state; | |
| 37 | struct _victor9k_state | |
| 36 | class victor9k_state | |
| 38 | 37 | { |
| 38 | public: | |
| 39 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, victor9k_state(machine)); } | |
| 40 | ||
| 41 | victor9k_state(running_machine &machine) { } | |
| 42 | ||
| 39 | 43 | /* video state */ |
| 40 | 44 | UINT8 *video_ram; |
| 41 | 45 | int vert; |
| r7507 | r7508 | |
|---|---|---|
| 34 | 34 | #define INT_EXPANSION_B 0x40 |
| 35 | 35 | #define INT_EXPANSION_A 0x80 |
| 36 | 36 | |
| 37 | typedef struct _v1050_state v1050_state; | |
| 38 | struct _v1050_state | |
| 37 | class v1050_state | |
| 39 | 38 | { |
| 39 | public: | |
| 40 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, v1050_state(machine)); } | |
| 41 | ||
| 42 | v1050_state(running_machine &machine) { } | |
| 43 | ||
| 40 | 44 | /* interrupt state */ |
| 41 | 45 | UINT8 int_mask; /* interrupt mask */ |
| 42 | 46 | UINT8 int_state; /* interrupt status */ |
| r7507 | r7508 | |
|---|---|---|
| 8 | 8 | |
| 9 | 9 | #define TMC2000E_COLORRAM_SIZE 0x100 // ??? |
| 10 | 10 | |
| 11 | typedef struct _tmc2000e_state tmc2000e_state; | |
| 12 | struct _tmc2000e_state | |
| 11 | class tmc2000e_state | |
| 13 | 12 | { |
| 13 | public: | |
| 14 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tmc2000e_state(machine)); } | |
| 15 | ||
| 16 | tmc2000e_state(running_machine &machine) { } | |
| 17 | ||
| 14 | 18 | /* video state */ |
| 15 | 19 | int cdp1864_efx; /* EFx */ |
| 16 | 20 | UINT8 *colorram; /* color memory */ |
| r7507 | r7508 | |
|---|---|---|
| 7 | 7 | #define CDP1864_TAG "m3" |
| 8 | 8 | #define CASSETTE_TAG "cassette" |
| 9 | 9 | |
| 10 | typedef struct _tmc1800_state tmc1800_state; | |
| 11 | struct _tmc1800_state | |
| 10 | class tmc1800_state | |
| 12 | 11 | { |
| 12 | public: | |
| 13 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tmc1800_state(machine)); } | |
| 14 | ||
| 15 | tmc1800_state(running_machine &machine) { } | |
| 16 | ||
| 13 | 17 | /* cpu state */ |
| 14 | 18 | int reset; /* reset activated */ |
| 15 | 19 | |
| r7507 | r7508 | |
| 24 | 28 | running_device *cassette; |
| 25 | 29 | }; |
| 26 | 30 | |
| 27 | typedef struct _osc1000b_state osc1000b_state; | |
| 28 | struct _osc1000b_state | |
| 31 | class osc1000b_state | |
| 29 | 32 | { |
| 33 | public: | |
| 34 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, osc1000b_state(machine)); } | |
| 35 | ||
| 36 | osc1000b_state(running_machine &machine) { } | |
| 37 | ||
| 30 | 38 | /* cpu state */ |
| 31 | 39 | int reset; /* reset activated */ |
| 32 | 40 | |
| r7507 | r7508 | |
| 37 | 45 | running_device *cassette; |
| 38 | 46 | }; |
| 39 | 47 | |
| 40 | typedef struct _tmc2000_state tmc2000_state; | |
| 41 | struct _tmc2000_state | |
| 48 | class tmc2000_state | |
| 42 | 49 | { |
| 50 | public: | |
| 51 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tmc2000_state(machine)); } | |
| 52 | ||
| 53 | tmc2000_state(running_machine &machine) { } | |
| 54 | ||
| 43 | 55 | /* video state */ |
| 44 | 56 | int cdp1864_efx; /* EFx */ |
| 45 | 57 | int reset; /* reset activated */ |
| r7507 | r7508 | |
| 55 | 67 | running_device *cassette; |
| 56 | 68 | }; |
| 57 | 69 | |
| 58 | typedef struct _oscnano_state oscnano_state; | |
| 59 | struct _oscnano_state | |
| 70 | class oscnano_state | |
| 60 | 71 | { |
| 72 | public: | |
| 73 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, oscnano_state(machine)); } | |
| 74 | ||
| 75 | oscnano_state(running_machine &machine) { } | |
| 76 | ||
| 61 | 77 | /* cpu state */ |
| 62 | 78 | int monitor_ef4; /* EF4 line */ |
| 63 | 79 | int reset; /* reset activated */ |
| r7507 | r7508 | |
|---|---|---|
| 16 | 16 | #define BANK_RAM 1 |
| 17 | 17 | #define BANK_VIDEO_RAM 2 |
| 18 | 18 | |
| 19 | typedef struct _tiki100_state tiki100_state; | |
| 20 | struct _tiki100_state | |
| 19 | class tiki100_state | |
| 21 | 20 | { |
| 21 | public: | |
| 22 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tiki100_state(machine)); } | |
| 23 | ||
| 24 | tiki100_state(running_machine &machine) { } | |
| 25 | ||
| 22 | 26 | /* memory state */ |
| 23 | 27 | int rome; |
| 24 | 28 | int vire; |
| r7507 | r7508 | |
|---|---|---|
| 15 | 15 | #define XEROX820_VIDEORAM_SIZE 0x1000 |
| 16 | 16 | #define XEROX820_VIDEORAM_MASK 0x0fff |
| 17 | 17 | |
| 18 | typedef struct _xerox820_state xerox820_state; | |
| 19 | struct _xerox820_state | |
| 18 | class xerox820_state | |
| 20 | 19 | { |
| 20 | public: | |
| 21 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, xerox820_state(machine)); } | |
| 22 | ||
| 23 | xerox820_state(running_machine &machine) { } | |
| 24 | ||
| 21 | 25 | /* keyboard state */ |
| 22 | 26 | int pbrdy; /* key pressed */ |
| 23 | 27 | int keydata; /* keyboard data */ |
| r7507 | r7508 | |
|---|---|---|
| 5 | 5 | #define Z80_TAG "z80" |
| 6 | 6 | #define Z80PIO_TAG "z80pio" |
| 7 | 7 | |
| 8 | typedef struct _vcs80_state vcs80_state; | |
| 9 | struct _vcs80_state | |
| 8 | class vcs80_state | |
| 10 | 9 | { |
| 10 | public: | |
| 11 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, vcs80_state(machine)); } | |
| 12 | ||
| 13 | vcs80_state(running_machine &machine) { } | |
| 14 | ||
| 11 | 15 | /* keyboard state */ |
| 12 | 16 | int keylatch; |
| 13 | 17 | int keyclk; |
| r7507 | r7508 | |
|---|---|---|
| 16 | 16 | #define SPEAKER_TAG "speaker" |
| 17 | 17 | #define CENTRONICS_TAG "centronics" |
| 18 | 18 | |
| 19 | typedef struct _tandy2k_state tandy2k_state; | |
| 20 | struct _tandy2k_state | |
| 19 | class tandy2k_state | |
| 21 | 20 | { |
| 21 | public: | |
| 22 | static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, tandy2k_state(machine)); } | |
| 23 | ||
| 24 | tandy2k_state(running_machine &machine) { } | |
| 25 | ||
| 22 | 26 | /* keyboard state */ |
| 23 | 27 | int kben; |
| 24 | 28 | UINT16 keylatch; |
| Previous | 15994 Revisions | Next |