summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/tourvis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tourvis.cpp')
-rw-r--r--src/mame/drivers/tourvis.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/tourvis.cpp b/src/mame/drivers/tourvis.cpp
index c7992e3626a..439c637fbe5 100644
--- a/src/mame/drivers/tourvis.cpp
+++ b/src/mame/drivers/tourvis.cpp
@@ -394,13 +394,13 @@ WRITE_LINE_MEMBER(tourvision_state::tourvision_timer_out)
MACHINE_CONFIG_START(tourvision_state::tourvision)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", H6280, PCE_MAIN_CLOCK/3)
- MCFG_CPU_PROGRAM_MAP(pce_mem)
- MCFG_CPU_IO_MAP(pce_io)
+ MCFG_DEVICE_ADD("maincpu", H6280, PCE_MAIN_CLOCK/3)
+ MCFG_DEVICE_PROGRAM_MAP(pce_mem)
+ MCFG_DEVICE_IO_MAP(pce_io)
MCFG_QUANTUM_TIME(attotime::from_hz(60))
- MCFG_CPU_ADD("subcpu", I8085A, 18000000/3 /*?*/)
- MCFG_CPU_PROGRAM_MAP(tourvision_8085_map)
+ MCFG_DEVICE_ADD("subcpu", I8085A, 18000000/3 /*?*/)
+ MCFG_DEVICE_PROGRAM_MAP(tourvision_8085_map)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -409,22 +409,22 @@ MACHINE_CONFIG_START(tourvision_state::tourvision)
MCFG_SCREEN_PALETTE("huc6260:palette")
MCFG_DEVICE_ADD( "huc6260", HUC6260, PCE_MAIN_CLOCK )
- MCFG_HUC6260_NEXT_PIXEL_DATA_CB(DEVREAD16("huc6270", huc6270_device, next_pixel))
- MCFG_HUC6260_TIME_TIL_NEXT_EVENT_CB(DEVREAD16("huc6270", huc6270_device, time_until_next_event))
- MCFG_HUC6260_VSYNC_CHANGED_CB(DEVWRITELINE("huc6270", huc6270_device, vsync_changed))
- MCFG_HUC6260_HSYNC_CHANGED_CB(DEVWRITELINE("huc6270", huc6270_device, hsync_changed))
+ MCFG_HUC6260_NEXT_PIXEL_DATA_CB(READ16("huc6270", huc6270_device, next_pixel))
+ MCFG_HUC6260_TIME_TIL_NEXT_EVENT_CB(READ16("huc6270", huc6270_device, time_until_next_event))
+ MCFG_HUC6260_VSYNC_CHANGED_CB(WRITELINE("huc6270", huc6270_device, vsync_changed))
+ MCFG_HUC6260_HSYNC_CHANGED_CB(WRITELINE("huc6270", huc6270_device, hsync_changed))
MCFG_DEVICE_ADD( "huc6270", HUC6270, 0 )
MCFG_HUC6270_VRAM_SIZE(0x10000)
MCFG_HUC6270_IRQ_CHANGED_CB(INPUTLINE("maincpu", 0))
MCFG_DEVICE_ADD("i8155", I8155, 1000000 /*?*/)
- MCFG_I8155_OUT_PORTA_CB(WRITE8(tourvision_state, tourvision_i8155_a_w))
- MCFG_I8155_OUT_PORTB_CB(WRITE8(tourvision_state, tourvision_i8155_b_w))
- MCFG_I8155_OUT_PORTC_CB(WRITE8(tourvision_state, tourvision_i8155_c_w))
- MCFG_I8155_OUT_TIMEROUT_CB(WRITELINE(tourvision_state, tourvision_timer_out))
+ MCFG_I8155_OUT_PORTA_CB(WRITE8(*this, tourvision_state, tourvision_i8155_a_w))
+ MCFG_I8155_OUT_PORTB_CB(WRITE8(*this, tourvision_state, tourvision_i8155_b_w))
+ MCFG_I8155_OUT_PORTC_CB(WRITE8(*this, tourvision_state, tourvision_i8155_c_w))
+ MCFG_I8155_OUT_TIMEROUT_CB(WRITELINE(*this, tourvision_state, tourvision_timer_out))
MCFG_SPEAKER_STANDARD_STEREO("lspeaker","rspeaker")
- MCFG_SOUND_ADD("c6280", C6280, PCE_MAIN_CLOCK/6)
+ MCFG_DEVICE_ADD("c6280", C6280, PCE_MAIN_CLOCK/6)
MCFG_C6280_CPU("maincpu")
MCFG_SOUND_ROUTE(0, "lspeaker", 1.00)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.00)
span>/+19 * Various input related bug-fixes to Wild Pilot: [Angelo Salese] angelosa2016-10-051-0/+3 * cischeat.cpp: irq notes, bumped framerate to 60 Hz to all minus captflag/scud... angelosa2016-10-051-0/+2 * Add tilemap device to cischeat.cpp; fix a few soundlatches (nw) AJR2016-09-221-37/+28 * remove legacy forms of (required|optional)_(shared_ptr|ioport)_array Vas Crabb2016-08-251-2/+2 * some more gen_latch.cpp (nw) Ivan Vangelista2016-05-271-0/+7 * Make watchdog timer a separate device AJR2016-04-301-0/+3 * reverting: Miodrag Milanovic2016-01-201-1/+1 * tags are now strings (nw) Miodrag Milanovic2016-01-161-1/+1 * New machines added or promoted from NOT_WORKING status Luca Elia2015-12-291-1/+36 * Done work for Luca Elia (nw) Miodrag Milanovic2015-05-131-1/+1 * Sync other dirs with main driver license for MAME (nw) Miodrag Milanovic2015-05-131-1/+1 * Added dummy license headers for MAME part (nw) Miodrag Milanovic2015-05-071-0/+2 * misc drivers: Moved functions into driver class, cleanups (nw) Ivan Vangelista2014-10-041-1/+1 * some more palette cleanups (nw) David Haywood2014-03-061-4/+0 * Moved optional_device<screen_device> m_screen and optional_device<palette_dev... Miodrag Milanovic2014-03-051-1/+3 * moved optional_device<gfxdecode_device> to specific drivers state classes (nw) Miodrag Milanovic2014-02-171-1/+3 * various cpu lookup cleanup (nw) Miodrag Milanovic2013-04-151-0/+8 * cleanup (nw) Miodrag Milanovic2013-04-141-0/+2 * oki tag lookup removal (nw) Miodrag Milanovic2013-04-121-1/+6 * changed machine().device("soundcpu") with m_soundcpu (nw) Miodrag Milanovic2013-04-111-1/+3 * unified formating of state class constructors, no functional change (nw) Miodrag Milanovic2013-04-101-1/+1 * Modernization of drivers part 2 (no whatsnew) Miodrag Milanovic2013-02-051-0/+8 * TIMER_CALLBACK_DEVICE_MEMBER modernization part 1 (no whatsnew) Miodrag Milanovic2012-09-251-0/+3 * manual cleanup of mame and mess includes (no whatsnew) Miodrag Milanovic2012-09-181-15/+0 * Modernized screen update calls (no whatsnew) Miodrag Milanovic2012-09-171-4/+8 * Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT chang... Miodrag Milanovic2012-09-131-3/+6 * TILE/TILEMAP modernization part 2 (no whatsnew) Miodrag Milanovic2012-09-061-0/+4 * All driver inits are now member of state classes. Miodrag Milanovic2012-08-101-0/+4 * Conversion of _DEVICE_HA​NDLER to _MEMBER methods - part 2 (no whatsnew)