diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2014-07-22 06:14:55 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2014-07-22 06:14:55 +0000 |
commit | 5d7e1fcc62a7f9dd5441eaccbc274f9327efcf00 (patch) | |
tree | 59a6e5c3c090f1f83dfd20359ab321fb69713e00 /src/mess/machine | |
parent | c4e9058ee26841baae4c0fd51e081949747d5f48 (diff) |
Cleanups and version bump
Diffstat (limited to 'src/mess/machine')
-rw-r--r-- | src/mess/machine/amstrad.c | 2 | ||||
-rw-r--r-- | src/mess/machine/apollo.c | 28 | ||||
-rw-r--r-- | src/mess/machine/apple1.c | 2 | ||||
-rw-r--r-- | src/mess/machine/apple2.c | 4 | ||||
-rw-r--r-- | src/mess/machine/apple3.c | 15 | ||||
-rw-r--r-- | src/mess/machine/beta.c | 2 | ||||
-rw-r--r-- | src/mess/machine/dec_lk201.c | 29 | ||||
-rw-r--r-- | src/mess/machine/genpc.c | 2 | ||||
-rw-r--r-- | src/mess/machine/hp48.c | 6 | ||||
-rw-r--r-- | src/mess/machine/msx.c | 1 | ||||
-rw-r--r-- | src/mess/machine/msx_matsushita.c | 1 | ||||
-rw-r--r-- | src/mess/machine/msx_s1985.c | 1 | ||||
-rw-r--r-- | src/mess/machine/msx_switched.c | 1 | ||||
-rw-r--r-- | src/mess/machine/msx_systemflags.c | 1 | ||||
-rw-r--r-- | src/mess/machine/nes.c | 2 | ||||
-rw-r--r-- | src/mess/machine/radio86.c | 1 | ||||
-rw-r--r-- | src/mess/machine/rmnimbus.c | 1 | ||||
-rw-r--r-- | src/mess/machine/super80.c | 14 |
18 files changed, 51 insertions, 62 deletions
diff --git a/src/mess/machine/amstrad.c b/src/mess/machine/amstrad.c index 00eb19cd089..0040187ec6e 100644 --- a/src/mess/machine/amstrad.c +++ b/src/mess/machine/amstrad.c @@ -2822,7 +2822,7 @@ static const UINT8 amstrad_cycle_table_ex[256]= 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0 }; -#define NEXT_ROM_SLOT m_rom_count++; \ +#define NEXT_ROM_SLOT m_rom_count++; \ if(slot3 && m_rom_count == 3) m_rom_count++; \ if(slot7 && m_rom_count == 7) m_rom_count++; diff --git a/src/mess/machine/apollo.c b/src/mess/machine/apollo.c index 805903146b6..03682652d25 100644 --- a/src/mess/machine/apollo.c +++ b/src/mess/machine/apollo.c @@ -97,13 +97,13 @@ INPUT_PORTS_START( apollo_config ) PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) PORT_CONFSETTING(APOLLO_CONF_25_YEARS_AGO, DEF_STR ( On ) ) -// PORT_CONFNAME(APOLLO_CONF_NODE_ID, APOLLO_CONF_NODE_ID, "Node ID from Disk") -// PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) -// PORT_CONFSETTING(APOLLO_CONF_NODE_ID, DEF_STR ( On ) ) +// PORT_CONFNAME(APOLLO_CONF_NODE_ID, APOLLO_CONF_NODE_ID, "Node ID from Disk") +// PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) +// PORT_CONFSETTING(APOLLO_CONF_NODE_ID, DEF_STR ( On ) ) -// PORT_CONFNAME(APOLLO_CONF_IDLE_SLEEP, 0x00, "Idle Sleep") -// PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) -// PORT_CONFSETTING(APOLLO_CONF_IDLE_SLEEP, DEF_STR ( On ) ) +// PORT_CONFNAME(APOLLO_CONF_IDLE_SLEEP, 0x00, "Idle Sleep") +// PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) +// PORT_CONFSETTING(APOLLO_CONF_IDLE_SLEEP, DEF_STR ( On ) ) PORT_CONFNAME(APOLLO_CONF_TRAP_TRACE, 0x00, "Trap Trace") PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) @@ -113,13 +113,13 @@ INPUT_PORTS_START( apollo_config ) PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) PORT_CONFSETTING(APOLLO_CONF_FPU_TRACE, DEF_STR ( On ) ) -// PORT_CONFNAME(APOLLO_CONF_DISK_TRACE, 0x00, "Disk Trace") -// PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) -// PORT_CONFSETTING(APOLLO_CONF_DISK_TRACE, DEF_STR ( On ) ) +// PORT_CONFNAME(APOLLO_CONF_DISK_TRACE, 0x00, "Disk Trace") +// PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) +// PORT_CONFSETTING(APOLLO_CONF_DISK_TRACE, DEF_STR ( On ) ) -// PORT_CONFNAME(APOLLO_CONF_NET_TRACE, 0x00, "Network Trace") -// PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) -// PORT_CONFSETTING(APOLLO_CONF_NET_TRACE, DEF_STR ( On ) ) +// PORT_CONFNAME(APOLLO_CONF_NET_TRACE, 0x00, "Network Trace") +// PORT_CONFSETTING(0x00, DEF_STR ( Off ) ) +// PORT_CONFSETTING(APOLLO_CONF_NET_TRACE, DEF_STR ( On ) ) INPUT_PORTS_END @@ -740,7 +740,7 @@ void apollo_sio::device_reset() ip3_w((input_data & 0x08) ? ASSERT_LINE : CLEAR_LINE); ip4_w((input_data & 0x10) ? ASSERT_LINE : CLEAR_LINE); ip5_w((input_data & 0x20) ? ASSERT_LINE : CLEAR_LINE); -// ip6_w((input_data & 0x40) ? ASSERT_LINE : CLEAR_LINE); +// ip6_w((input_data & 0x40) ? ASSERT_LINE : CLEAR_LINE); // MC2681 has IP[6] (instead of /IACK on MC68681) m_ip6 = (input_data & 0x40) ? ASSERT_LINE : CLEAR_LINE; @@ -829,7 +829,7 @@ WRITE_LINE_MEMBER(apollo_state::sio_irq_handler) WRITE8_MEMBER(apollo_state::sio_output) { -// CLOG2(("apollo_sio - sio_output %02x", data)); +// CLOG2(("apollo_sio - sio_output %02x", data)); if ((data & 0x80) != (sio_output_data & 0x80)) { diff --git a/src/mess/machine/apple1.c b/src/mess/machine/apple1.c index 84268216947..4ffd0f563ae 100644 --- a/src/mess/machine/apple1.c +++ b/src/mess/machine/apple1.c @@ -400,5 +400,3 @@ TIMER_CALLBACK_MEMBER(apple1_state::apple1_dsp_ready_end) another display write. */ pia->cb1_w(1); } - - diff --git a/src/mess/machine/apple2.c b/src/mess/machine/apple2.c index c18cc1a8f7f..76105da903d 100644 --- a/src/mess/machine/apple2.c +++ b/src/mess/machine/apple2.c @@ -354,7 +354,7 @@ READ8_MEMBER(apple2_state::apple2_c080_r) offset &= 0xf; if (offset >= 8 && offset <= 0xb) { - return m_acia1->read(space, offset-8); + return m_acia1->read(space, offset-8); } } else if (slot == 2) @@ -362,7 +362,7 @@ READ8_MEMBER(apple2_state::apple2_c080_r) offset &= 0xf; if (offset >= 8 && offset <= 0xb) { - return m_acia2->read(space, offset-8); + return m_acia2->read(space, offset-8); } } } diff --git a/src/mess/machine/apple3.c b/src/mess/machine/apple3.c index b48dabe8490..b6acd44537e 100644 --- a/src/mess/machine/apple3.c +++ b/src/mess/machine/apple3.c @@ -39,7 +39,7 @@ bits 0-5: 6-bit audio DAC output bit 6: screen blank bit 7: OR of NMI from slots - + ***************************************************************************/ #include "emu.h" @@ -157,27 +157,27 @@ READ8_MEMBER(apple3_state::apple3_c0xx_r) pdl_handler(offset); break; - case 0x60: // joystick switch 0 + case 0x60: // joystick switch 0 case 0x68: result = (m_joybuttons->read() & 1) ? 0x80 : 0x00; break; - case 0x61: // joystick switch 1 (margin switch for Silentype) + case 0x61: // joystick switch 1 (margin switch for Silentype) case 0x69: result = (m_joybuttons->read() & 4) ? 0x80 : 0x00; break; - case 0x62: // joystick switch 2 + case 0x62: // joystick switch 2 case 0x6a: result = (m_joybuttons->read() & 2) ? 0x80 : 0x00; break; - case 0x63: // joystick switch 3 (serial clock for silentype) + case 0x63: // joystick switch 3 (serial clock for silentype) case 0x6b: result = (m_joybuttons->read() & 8) ? 0x80 : 0x00; break; - case 0x66: // paddle A/D conversion done (bit 7 = 1 while counting, 0 when done) + case 0x66: // paddle A/D conversion done (bit 7 = 1 while counting, 0 when done) case 0x6e: return m_ramp_active ? 0x80 : 0x00; break; @@ -1197,7 +1197,7 @@ void apple3_state::pdl_handler(int offset) } m_pdltimer->adjust(attotime::from_hz(1000000.0)); m_ramp_active = true; - break; + break; case 0x5e: m_analog_sel &= ~2; @@ -1231,4 +1231,3 @@ TIMER_DEVICE_CALLBACK_MEMBER(apple3_state::paddle_timer) m_pdltimer->adjust(attotime::from_hz(1000000.0)); } } - diff --git a/src/mess/machine/beta.c b/src/mess/machine/beta.c index 998f0963a83..a0f6425618f 100644 --- a/src/mess/machine/beta.c +++ b/src/mess/machine/beta.c @@ -142,7 +142,7 @@ WRITE8_MEMBER(beta_disk_device::param_w) { const char *floppy_tags[4] = { FLOPPY_0, FLOPPY_1, FLOPPY_2, FLOPPY_3 }; - if (m_betadisk_active == 1) + if (m_betadisk_active == 1) { m_wd179x->set_drive(data & 3); m_wd179x->set_side ((data & 0x10) ? 0 : 1 ); diff --git a/src/mess/machine/dec_lk201.c b/src/mess/machine/dec_lk201.c index ee822b10b8f..c1537b31555 100644 --- a/src/mess/machine/dec_lk201.c +++ b/src/mess/machine/dec_lk201.c @@ -230,14 +230,14 @@ const rom_entry *lk201_device::device_rom_region() const DEC omitted terms like 'Interrupt', 'Break' and 'Data / Talk' on some keyboards, so Fn numbers are definitely important for end users. - + === CURRENT SPECIAL KEYS === - [PC-AT] ......=> [DEC] - LEFT CONTROL..=> Control - LEFT ALT .....=> Compose - - RIGHT ALT ....=> Help - RIGHT CONTROL => Do + [PC-AT] ......=> [DEC] + LEFT CONTROL..=> Control + LEFT ALT .....=> Compose + + RIGHT ALT ....=> Help + RIGHT CONTROL => Do ============================================================================================== === (PC - AT ) keys above cursor block === * KEYCODE_INSERT * KEYCODE_HOME * KEYCODE_PGUP @@ -249,9 +249,9 @@ const rom_entry *lk201_device::device_rom_region() const ============================================================================================== === CURRENT NUM PAD ASSIGNMENTS === [PF1] to [PF4] are mapped to NUM LOCK, SLASH etc. (=> 4 keys on top on num pad). - Num pad '+' gives ',' on the DEC. + Num pad '+' gives ',' on the DEC. ',' translates to '.' (=> more or less the layout of model 'LK-201-AG') - + Switch between 'full' and 'partial keyboard emulation' with Scroll Lock. */ @@ -276,7 +276,7 @@ INPUT_PORTS_START( lk201 ) PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Compose") PORT_CODE(KEYCODE_LALT) PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Caps Lock") PORT_CODE(KEYCODE_CAPSLOCK) - PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_LCONTROL) + PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_LCONTROL) PORT_START("KBD2") PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Z") PORT_CODE(KEYCODE_Z) @@ -369,8 +369,8 @@ INPUT_PORTS_START( lk201 ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_START("KBD11") - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("/") PORT_CODE(KEYCODE_SLASH) - PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME(";") PORT_CODE(KEYCODE_COLON) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("/") PORT_CODE(KEYCODE_SLASH) + PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME(";") PORT_CODE(KEYCODE_COLON) PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNUSED ) // FIXME - duplicate "Return" PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("P") PORT_CODE(KEYCODE_P) PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("0") PORT_CODE(KEYCODE_0) @@ -394,7 +394,7 @@ INPUT_PORTS_START( lk201 ) PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("'") PORT_CODE(KEYCODE_QUOTE) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("[") PORT_CODE(KEYCODE_OPENBRACE) PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Previous [^]") PORT_CODE(KEYCODE_END) - PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Do (F16) [Ausfuehren]") PORT_CODE(KEYCODE_RCONTROL) + PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Do (F16) [Ausfuehren]") PORT_CODE(KEYCODE_RCONTROL) PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("-") PORT_CODE(KEYCODE_MINUS) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Insert Here") PORT_CODE(KEYCODE_HOME) @@ -433,7 +433,7 @@ INPUT_PORTS_START( lk201 ) PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("Num ,") PORT_CODE(KEYCODE_PLUS_PAD) PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD ) // PORT_NAME("Num -") = duplicate...see KBD13 PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("PF4") PORT_CODE(KEYCODE_MINUS_PAD) - PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("F20") + PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("F20") PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("F19") PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) @@ -755,4 +755,3 @@ WRITE8_MEMBER( lk201_device::spi_w ) // printf("SPI %02x to %x (PC=%x)\n", data, offset, m_maincpu->pc()); } - diff --git a/src/mess/machine/genpc.c b/src/mess/machine/genpc.c index 7c5139b4d1d..c919cceb077 100644 --- a/src/mess/machine/genpc.c +++ b/src/mess/machine/genpc.c @@ -422,7 +422,7 @@ static MACHINE_CONFIG_FRAGMENT( ibm5160_mb_config ) MCFG_I8237_OUT_DACK_1_CB(WRITELINE(ibm5160_mb_device, pc_dack1_w)) MCFG_I8237_OUT_DACK_2_CB(WRITELINE(ibm5160_mb_device, pc_dack2_w)) MCFG_I8237_OUT_DACK_3_CB(WRITELINE(ibm5160_mb_device, pc_dack3_w)) - + MCFG_PIC8259_ADD( "pic8259", INPUTLINE(":maincpu", 0), VCC, NULL ) MCFG_DEVICE_ADD("ppi8255", I8255A, 0) diff --git a/src/mess/machine/hp48.c b/src/mess/machine/hp48.c index e966887c6b2..275d6a09a71 100644 --- a/src/mess/machine/hp48.c +++ b/src/mess/machine/hp48.c @@ -682,7 +682,7 @@ TIMER_CALLBACK_MEMBER(hp48_state::hp48_timer2_cb) NCE1 256KB ROM 512KB ROM 2MB flash ROM - - NCE1 (ROM) cannot be configured, it is always visible at addresses + - NCE1 (ROM) cannot be configured, it is always visible at addresses 00000-7ffff not covered by higher priority modules. - only the address of HDW (I/O) can be configured, its size is constant @@ -712,7 +712,7 @@ void hp48_state::hp48_apply_modules() LOG(( "hp48_apply_modules: high ROM bank is %i\n", bank_hi )); space.install_read_bank( 0x00000, 0x3ffff, 0, 0x80000, "bank5" ); space.install_read_bank( 0x40000, 0x7ffff, 0, 0x80000, "bank6" ); - if ( m_rom ) + if ( m_rom ) { membank("bank5")->set_base( m_rom + bank_lo * 0x40000 ); membank("bank6")->set_base( m_rom + bank_hi * 0x40000 ); @@ -743,7 +743,7 @@ void hp48_state::hp48_apply_modules() LOG(( "hp48_apply_modules: A19 disabled, NCE3 %s\n", nce3_enable ? "enabled" : "disabled" )); space.install_read_bank( 0, 0x7ffff, 0, 0x80000, "bank5" ); } - if ( m_rom ) + if ( m_rom ) membank("bank5")->set_base( m_rom ); } else diff --git a/src/mess/machine/msx.c b/src/mess/machine/msx.c index 5cc78cfa073..1c4d2d10f31 100644 --- a/src/mess/machine/msx.c +++ b/src/mess/machine/msx.c @@ -527,4 +527,3 @@ WRITE8_MEMBER( msx_state::msx_switched_w ) this->space().write_byte( (m_current_switched_device << 8) | offset, data ); } } - diff --git a/src/mess/machine/msx_matsushita.c b/src/mess/machine/msx_matsushita.c index fc2540afa02..52c2ea201b1 100644 --- a/src/mess/machine/msx_matsushita.c +++ b/src/mess/machine/msx_matsushita.c @@ -165,4 +165,3 @@ WRITE8_MEMBER(msx_matsushita_device::io_write) break; } } - diff --git a/src/mess/machine/msx_s1985.c b/src/mess/machine/msx_s1985.c index 588fb668695..ab1ce03c297 100644 --- a/src/mess/machine/msx_s1985.c +++ b/src/mess/machine/msx_s1985.c @@ -62,4 +62,3 @@ WRITE8_MEMBER(msx_s1985_device::io_write) break; } } - diff --git a/src/mess/machine/msx_switched.c b/src/mess/machine/msx_switched.c index 9b416c7df7d..cf81126f94b 100644 --- a/src/mess/machine/msx_switched.c +++ b/src/mess/machine/msx_switched.c @@ -18,4 +18,3 @@ void msx_switched_device::device_start() space.install_read_handler(start, end, read8_delegate(FUNC(msx_switched_device::io_read), this)); space.install_write_handler(start, end, write8_delegate(FUNC(msx_switched_device::io_write), this)); } - diff --git a/src/mess/machine/msx_systemflags.c b/src/mess/machine/msx_systemflags.c index 6f6bb176af6..78b39a9335b 100644 --- a/src/mess/machine/msx_systemflags.c +++ b/src/mess/machine/msx_systemflags.c @@ -36,4 +36,3 @@ WRITE8_MEMBER(msx_systemflags_device::write) { m_system_flags = data; } - diff --git a/src/mess/machine/nes.c b/src/mess/machine/nes.c index f0a299cb3e1..7dd99365950 100644 --- a/src/mess/machine/nes.c +++ b/src/mess/machine/nes.c @@ -158,7 +158,7 @@ void nes_state::machine_start() m_ppu->set_latch(ppu2c0x_latch_delegate(FUNC(device_nes_cart_interface::ppu_latch),m_cartslot->m_cart)); // install additional handlers (read_h, read_ex, write_ex) - if (m_cartslot->get_pcb_id() == STD_EXROM || m_cartslot->get_pcb_id() == STD_NROM368 + if (m_cartslot->get_pcb_id() == STD_EXROM || m_cartslot->get_pcb_id() == STD_NROM368 || m_cartslot->get_pcb_id() == GG_NROM || m_cartslot->get_pcb_id() == CAMERICA_ALADDIN || m_cartslot->get_pcb_id() == SUNSOFT_DCS || m_cartslot->get_pcb_id() == BANDAI_DATACH || m_cartslot->get_pcb_id() == BANDAI_KARAOKE || m_cartslot->get_pcb_id() == BTL_2A03_PURITANS || m_cartslot->get_pcb_id() == AVE_MAXI15 || m_cartslot->get_pcb_id() == KAISER_KS7022 || m_cartslot->get_pcb_id() == KAISER_KS7031 || m_cartslot->get_pcb_id() == BMC_VT5201 diff --git a/src/mess/machine/radio86.c b/src/mess/machine/radio86.c index 21b79efdb94..4e77c33ef15 100644 --- a/src/mess/machine/radio86.c +++ b/src/mess/machine/radio86.c @@ -221,4 +221,3 @@ void radio86_state::video_start() { m_charmap = memregion("gfx1")->base(); } - diff --git a/src/mess/machine/rmnimbus.c b/src/mess/machine/rmnimbus.c index 8a0bb42f457..2aad7a7ef2c 100644 --- a/src/mess/machine/rmnimbus.c +++ b/src/mess/machine/rmnimbus.c @@ -178,7 +178,6 @@ static void decode_dssi_f_rw_sectors(device_t *device,UINT16 ds, UINT16 si, UIN void rmnimbus_state::external_int(UINT8 vector, bool state) { - if(!state && (vector != m_vector)) return; diff --git a/src/mess/machine/super80.c b/src/mess/machine/super80.c index 56e91066006..10123313022 100644 --- a/src/mess/machine/super80.c +++ b/src/mess/machine/super80.c @@ -57,15 +57,15 @@ TIMER_DEVICE_CALLBACK_MEMBER( super80_state::timer_k ) } /* cassette load circuit - This "emulates" U79 CD4046BCN PLL chip and U1 LM311P op-amp. U79 converts a frequency to a voltage, - and U1 amplifies that voltage to digital levels. U1 has a trimpot connected, to set the midpoint. + This "emulates" U79 CD4046BCN PLL chip and U1 LM311P op-amp. U79 converts a frequency to a voltage, + and U1 amplifies that voltage to digital levels. U1 has a trimpot connected, to set the midpoint. - The MDS homebrew input circuit consists of 2 op-amps followed by a D-flipflop. - The "read-any-system" cassette circuit is a CA3140 op-amp, the smarts being done in software. + The MDS homebrew input circuit consists of 2 op-amps followed by a D-flipflop. + The "read-any-system" cassette circuit is a CA3140 op-amp, the smarts being done in software. - bit 0 = original system (U79 and U1) - bit 1 = MDS fast system - bit 2 = CA3140 */ + bit 0 = original system (U79 and U1) + bit 1 = MDS fast system + bit 2 = CA3140 */ TIMER_DEVICE_CALLBACK_MEMBER( super80_state::timer_p ) { UINT8 cass_ws=0; |