diff options
author | smf- <smf-@users.noreply.github.com> | 2014-01-10 23:24:45 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2014-01-10 23:24:45 +0000 |
commit | 8dc57a3427791c9e6d76f2020a6c4af8c94568f0 (patch) | |
tree | 8527ffce968d2a4d1aca30aca16a08ff2d218906 /src/mame/drivers/galaxold.c | |
parent | f9047310cc79ced2583621ac271aedc7f991cd40 (diff) |
Added write_sense to S2650 CPU and use it for pipbug serial port, Hunchback (Galaxian Hardware) and replace calls to set_input_line(1 in lazercmd.c & meadows.c [smf]
Diffstat (limited to 'src/mame/drivers/galaxold.c')
-rw-r--r-- | src/mame/drivers/galaxold.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/galaxold.c b/src/mame/drivers/galaxold.c index 9e8d38728c0..917123bf138 100644 --- a/src/mame/drivers/galaxold.c +++ b/src/mame/drivers/galaxold.c @@ -873,12 +873,8 @@ static ADDRESS_MAP_START( hunchbkg, AS_PROGRAM, 8, galaxold_state ) AM_RANGE(0x6000, 0x6fff) AM_ROM ADDRESS_MAP_END -/* the nmi line seems to be inverted on the cpu plugin board */ -READ8_MEMBER(galaxold_state::ttl7474_trampoline){ device_t *device = machine().device("7474_9m_1"); return downcast<ttl7474_device *>(device)->output_comp_r(); } - static ADDRESS_MAP_START( hunchbkg_io, AS_IO, 8, galaxold_state ) AM_RANGE(S2650_DATA_PORT, S2650_DATA_PORT) AM_READNOP // not used - AM_RANGE(S2650_SENSE_PORT, S2650_SENSE_PORT) AM_READ(ttl7474_trampoline) ADDRESS_MAP_END @@ -2597,6 +2593,10 @@ static MACHINE_CONFIG_DERIVED( hunchbkg, galaxold_base ) MCFG_CPU_PROGRAM_MAP(hunchbkg) MCFG_CPU_IO_MAP(hunchbkg_io) + MCFG_DEVICE_MODIFY("7474_9m_1") + /* the nmi line seems to be inverted on the cpu plugin board */ + MCFG_7474_COMP_OUTPUT_CB(DEVWRITELINE("maincpu", s2650_device, write_sense)) + MCFG_MACHINE_RESET_OVERRIDE(galaxold_state,hunchbkg) MCFG_FRAGMENT_ADD(galaxian_audio) |