| Previous | 199869 Revisions | Next |
| r26010 Tuesday 5th November, 2013 at 17:58:50 UTC by Osso |
|---|
| Some legacy macros cleanups. (nw) |
| [src/emu] | devlegcy.h drivlgcy.h |
| [src/emu/video] | v9938.c |
| [src/mame/audio] | dkong.c |
| [src/mame/drivers] | asteroid.c bwidow.c bzone.c mhavoc.c omegrace.c quantum.c starwars.c tempest.c tomcat.c |
| r26009 | r26010 | |
|---|---|---|
| 212 | 212 | #include "includes/bzone.h" |
| 213 | 213 | #include "sound/pokey.h" |
| 214 | 214 | #include "drivlgcy.h" |
| 215 | #include "scrlegcy.h" | |
| 216 | 215 | |
| 217 | 216 | #include "bzone.lh" |
| 218 | 217 | #include "redbaron.lh" |
| r26009 | r26010 | |
|---|---|---|
| 51 | 51 | #include "sound/discrete.h" |
| 52 | 52 | #include "machine/nvram.h" |
| 53 | 53 | #include "drivlgcy.h" |
| 54 | #include "scrlegcy.h" | |
| 55 | 54 | |
| 56 | 55 | |
| 57 | 56 | class quantum_state : public driver_device |
| r26009 | r26010 | |
|---|---|---|
| 227 | 227 | #include "includes/bwidow.h" |
| 228 | 228 | |
| 229 | 229 | #include "drivlgcy.h" |
| 230 | #include "scrlegcy.h" | |
| 231 | 230 | |
| 232 | 231 | |
| 233 | ||
| 234 | 232 | #define IN_LEFT (1 << 0) |
| 235 | 233 | #define IN_RIGHT (1 << 1) |
| 236 | 234 | #define IN_FIRE (1 << 2) |
| r26009 | r26010 | |
|---|---|---|
| 192 | 192 | #include "sound/discrete.h" |
| 193 | 193 | #include "sound/pokey.h" |
| 194 | 194 | #include "drivlgcy.h" |
| 195 | #include "scrlegcy.h" | |
| 196 | 195 | |
| 197 | 196 | #include "astdelux.lh" |
| 198 | 197 |
| r26009 | r26010 | |
|---|---|---|
| 35 | 35 | #include "sound/tms5220.h" |
| 36 | 36 | #include "sound/2151intf.h" |
| 37 | 37 | #include "drivlgcy.h" |
| 38 | #include "scrlegcy.h" | |
| 39 | 38 | |
| 40 | 39 | |
| 40 | ||
| 41 | 41 | class tomcat_state : public driver_device |
| 42 | 42 | { |
| 43 | 43 | public: |
| r26009 | r26010 | |
|---|---|---|
| 32 | 32 | #include "includes/starwars.h" |
| 33 | 33 | #include "includes/slapstic.h" |
| 34 | 34 | #include "drivlgcy.h" |
| 35 | #include "scrlegcy.h" | |
| 36 | 35 | |
| 36 | ||
| 37 | 37 | #define MASTER_CLOCK (12096000) |
| 38 | 38 | #define CLOCK_3KHZ (MASTER_CLOCK / 4096) |
| 39 | 39 |
| r26009 | r26010 | |
|---|---|---|
| 281 | 281 | #include "machine/atari_vg.h" |
| 282 | 282 | #include "sound/pokey.h" |
| 283 | 283 | #include "drivlgcy.h" |
| 284 | #include "scrlegcy.h" | |
| 285 | 284 | |
| 286 | 285 | |
| 287 | 286 | class tempest_state : public driver_device |
| r26009 | r26010 | |
|---|---|---|
| 193 | 193 | #include "machine/nvram.h" |
| 194 | 194 | #include "includes/mhavoc.h" |
| 195 | 195 | #include "drivlgcy.h" |
| 196 | #include "scrlegcy.h" | |
| 197 | 196 | |
| 197 | ||
| 198 | 198 | READ8_MEMBER(mhavoc_state::quad_pokeyn_r) |
| 199 | 199 | { |
| 200 | 200 | static const char *const devname[4] = { "pokey1", "pokey2", "pokey3", "pokey4" }; |
| r26009 | r26010 | |
|---|---|---|
| 220 | 220 | #include "sound/ay8910.h" |
| 221 | 221 | #include "machine/nvram.h" |
| 222 | 222 | #include "drivlgcy.h" |
| 223 | #include "scrlegcy.h" | |
| 224 | 223 | |
| 225 | 224 | #include "omegrace.lh" |
| 226 | 225 |
| r26009 | r26010 | |
|---|---|---|
| 6 | 6 | #include "sound/tms5110.h" |
| 7 | 7 | |
| 8 | 8 | #include "includes/dkong.h" |
| 9 | #include "drivlgcy.h" | |
| 10 | 9 | |
| 10 | ||
| 11 | 11 | /**************************************************************** |
| 12 | 12 | * |
| 13 | 13 | * Defines and Macros |
| r26009 | r26010 | |
|---|---|---|
| 16 | 16 | |
| 17 | 17 | #include "emu.h" |
| 18 | 18 | #include "v9938.h" |
| 19 | #include "drivlgcy.h" | |
| 20 | 19 | |
| 21 | 20 | #define VERBOSE 0 |
| 22 | 21 | #define LOG(x) do { if (VERBOSE) logerror x; } while (0) |
| r26009 | r26010 | |
|---|---|---|
| 23 | 23 | #define MCFG_MACHINE_RESET(_func) \ |
| 24 | 24 | driver_device::static_set_callback(*owner, driver_device::CB_MACHINE_RESET, MACHINE_RESET_NAME(_func)); |
| 25 | 25 | |
| 26 | #define MCFG_SOUND_RESET(_func) \ | |
| 27 | driver_device::static_set_callback(*owner, driver_device::CB_SOUND_RESET, SOUND_RESET_NAME(_func)); | |
| 28 | ||
| 29 | 26 | #define MCFG_PALETTE_INIT(_func) \ |
| 30 | 27 | driver_device::static_set_callback(*owner, driver_device::CB_PALETTE_INIT, PALETTE_INIT_NAME(_func)); |
| 31 | 28 |
| r26009 | r26010 | |
|---|---|---|
| 23 | 23 | |
| 24 | 24 | #define DEVICE_STOP_NAME(name) device_stop_##name |
| 25 | 25 | #define DEVICE_STOP(name) void DEVICE_STOP_NAME(name)(device_t *device) |
| 26 | #define DEVICE_STOP_CALL(name) DEVICE_STOP_NAME(name)(device) | |
| 27 | 26 | |
| 28 | 27 | #define DEVICE_RESET_NAME(name) device_reset_##name |
| 29 | 28 | #define DEVICE_RESET(name) void DEVICE_RESET_NAME(name)(device_t *device) |
| Previous | 199869 Revisions | Next |