diff --git a/hash/ibm5170.xml b/hash/ibm5170.xml
index 3555f88b961..5a1f7075439 100644
--- a/hash/ibm5170.xml
+++ b/hash/ibm5170.xml
@@ -2859,7 +2859,7 @@ Missing files come here
-
+
Genius Scroll Mouse
2004
@@ -3760,86 +3760,86 @@ Missing files come here
1989
Borland
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/devices/bus/hp_hil/hil_devices.h b/src/devices/bus/hp_hil/hil_devices.h
index 90a45fd5922..23c0d5ed6ee 100644
--- a/src/devices/bus/hp_hil/hil_devices.h
+++ b/src/devices/bus/hp_hil/hil_devices.h
@@ -10,13 +10,13 @@
#define __HP_HIL_DEVICES_H__
-#define STR_KBD_HP_46020A "hp_46020a" // ITF Keyboard
-#define STR_KBD_HP_46021A "hp_46021a" // ITF Keyboard
-#define STR_KBD_HP_46030A "hp_46030a" // Vectra Keyboard
-#define STR_KBD_HP_INTEGRAL "hp_ipc_kbd" // Integral Keyboard
+#define STR_KBD_HP_46020A "hp_46020a" // ITF Keyboard
+#define STR_KBD_HP_46021A "hp_46021a" // ITF Keyboard
+#define STR_KBD_HP_46030A "hp_46030a" // Vectra Keyboard
+#define STR_KBD_HP_INTEGRAL "hp_ipc_kbd" // Integral Keyboard
-#define STR_MOUSE_HP_46060A "hp_46060a" // 2-button mouse
-#define STR_MOUSE_HP_46060B "hp_46060b" // 3-button mouse
+#define STR_MOUSE_HP_46060A "hp_46060a" // 2-button mouse
+#define STR_MOUSE_HP_46060B "hp_46060b" // 3-button mouse
SLOT_INTERFACE_EXTERN(hp_hil_devices);
diff --git a/src/devices/bus/hp_hil/hlekbd.cpp b/src/devices/bus/hp_hil/hlekbd.cpp
index f575e9108a7..980d373750d 100644
--- a/src/devices/bus/hp_hil/hlekbd.cpp
+++ b/src/devices/bus/hp_hil/hlekbd.cpp
@@ -288,7 +288,7 @@ void hle_device_base::device_timer(emu_timer &timer, device_timer_id id, int par
void hle_device_base::hil_write(uint16_t data)
{
int frames = 0;
-// printf("rx from mlc %04X (%s %02X)\n", data, BIT(data, 11) ? "command" : "data", data & 255);
+// printf("rx from mlc %04X (%s %02X)\n", data, BIT(data, 11) ? "command" : "data", data & 255);
if (BIT(data, 11)) switch (data & 255)
{
@@ -314,7 +314,7 @@ void hle_device_base::hil_write(uint16_t data)
case HPHIL_POL:
if (!m_fifo.empty())
{
- m_hp_hil_mlc->hil_write(m_device_id16 | 0x40); // Keycode Set 1, no coordinate data
+ m_hp_hil_mlc->hil_write(m_device_id16 | 0x40); // Keycode Set 1, no coordinate data
frames = 1;
while (!m_fifo.empty())
{
@@ -348,18 +348,18 @@ void hle_device_base::hil_write(uint16_t data)
if (!m_passthru)
m_hp_hil_mlc->hil_write(data);
-// else
-// m_next->hil_write(data);
+// else
+// m_next->hil_write(data);
}
void hle_device_base::transmit_byte(uint8_t byte)
{
if (!m_fifo.full()) {
-// printf("queuing %02X\n", byte);
+// printf("queuing %02X\n", byte);
m_fifo.enqueue(byte);
}
-// else
-// printf("queuing fail (fifo full)\n");
+// else
+// printf("queuing fail (fifo full)\n");
}
/*--------------------------------------------------
diff --git a/src/devices/bus/hp_hil/hp_hil.cpp b/src/devices/bus/hp_hil/hp_hil.cpp
index 79b57f9b8de..991cb808667 100644
--- a/src/devices/bus/hp_hil/hp_hil.cpp
+++ b/src/devices/bus/hp_hil/hp_hil.cpp
@@ -119,7 +119,7 @@ WRITE8_MEMBER(hp_hil_mlc_device::write)
{
case 0:
DBG_LOG(1,"Transmit", ("%scommand 0x%02x to device %d\n", !m_loop?"loopback ":"", data, m_w1 & 7));
- if (m_loop & 2) // no devices on 2nd link loop
+ if (m_loop & 2) // no devices on 2nd link loop
return;
if (m_loop == 0)
{
@@ -160,7 +160,7 @@ WRITE8_MEMBER(hp_hil_mlc_device::write)
m_w3 = data;
break;
- case 32: // loopback switch: bit 0 = loop0, bit 1 = loop1
+ case 32: // loopback switch: bit 0 = loop0, bit 1 = loop1
m_loop = data;
break;
}
@@ -170,7 +170,7 @@ READ8_MEMBER(hp_hil_mlc_device::read)
{
uint8_t data = 0;
- switch (offset)
+ switch (offset)
{
case 0:
if (!m_fifo.empty())
@@ -201,16 +201,16 @@ READ8_MEMBER(hp_hil_mlc_device::read)
void hp_hil_mlc_device::hil_write(uint16_t data)
{
- DBG_LOG(1,"Receive", ("%s %04X fifo %s\n",
+ DBG_LOG(1,"Receive", ("%s %04X fifo %s\n",
BIT(data, 11)?"command":"data", data, m_fifo.full()?"full":(m_fifo.empty()?"empty":"ok")));
- if (!m_fifo.full())
+ if (!m_fifo.full())
{
- if (!BIT(data, 11))
+ if (!BIT(data, 11))
{
m_fifo.enqueue(data);
}
- else if (!m_fifo.empty() || !(m_w2 & HPMLC_W2_IPF))
+ else if (!m_fifo.empty() || !(m_w2 & HPMLC_W2_IPF))
{
m_fifo.enqueue(data);
m_r3 |= HPMLC_R3_INT;
diff --git a/src/devices/bus/hp_hil/hp_hil.h b/src/devices/bus/hp_hil/hp_hil.h
index ec531c6c3ff..7b805f1528f 100644
--- a/src/devices/bus/hp_hil/hp_hil.h
+++ b/src/devices/bus/hp_hil/hp_hil.h
@@ -14,51 +14,51 @@
#include "emu.h"
-#define HPMLC_R1_OB 0x10
+#define HPMLC_R1_OB 0x10
-#define HPMLC_W1_C 0x0800
+#define HPMLC_W1_C 0x0800
-#define HPMLC_R2_PERR 0x01
-#define HPMLC_R2_FERR 0x02
-#define HPMLC_R2_FOF 0x04
+#define HPMLC_R2_PERR 0x01
+#define HPMLC_R2_FERR 0x02
+#define HPMLC_R2_FOF 0x04
-#define HPMLC_W2_TEST 0x01
-#define HPMLC_W2_IPF 0x04
+#define HPMLC_W2_TEST 0x01
+#define HPMLC_W2_IPF 0x04
-#define HPMLC_R3_INT 0x01
-#define HPMLC_R3_NMI 0x02
-#define HPMLC_R3_LERR 0x04
+#define HPMLC_R3_INT 0x01
+#define HPMLC_R3_NMI 0x02
+#define HPMLC_R3_LERR 0x04
-#define HPMLC_W3_APE 0x02
+#define HPMLC_W3_APE 0x02
// commands
-#define HPHIL_IFC 0x00 // Interface Clear
-#define HPHIL_EPT 0x01 // Enter Pass-Thru Mode
-#define HPHIL_ELB 0x02 // Enter Loop-Back Mode
-#define HPHIL_IDD 0x03 // Identify and Describe
-#define HPHIL_DSR 0x04 // Device Soft Reset
-#define HPHIL_PST 0x05 // Perform Self Test
-#define HPHIL_RRG 0x06 // Read Register
-#define HPHIL_WRG 0x07 // Write Register
-#define HPHIL_ACF 0x08 // Auto Configure [08..0f]
-#define HPHIL_POL 0x10 // Poll [10..1f]
-#define HPHIL_RPL 0x20 // RePoll [20..2f]
-#define HPHIL_RNM 0x30 // Report Name
-#define HPHIL_RST 0x31 // Report Status
-#define HPHIL_EXD 0x32 // Extended Describe
-#define HPHIL_RSC 0x33 // Report Security Code
-#define HPHIL_DKA 0x3D // Disable Keyswitch AutoRepeat
-#define HPHIL_EK1 0x3E // Enable Keyswitch AutoRepeat 30cps
-#define HPHIL_EK2 0x3F // Enable Keyswitch AutoRepeat 60cps
-#define HPHIL_PR1 0x40 // Prompt 1..7 [40..46]
-#define HPHIL_PRM 0x47 // Prompt (General Purpose)
-#define HPHIL_AK1 0x48 // Acknowledge 1..7 [40..46]
-#define HPHIL_ACK 0x4F // Acknowledge (General Purpose)
-#define HPHIL_RIO 0xFA // Register I/O Error
-#define HPHIL_SHR 0xFB // System Hard Reset
-#define HPHIL_TER 0xFC // Transmission Error
-#define HPHIL_CAE 0xFD // Configuration Address Error
-#define HPHIL_DHR 0xFE // Device Hard Reset
+#define HPHIL_IFC 0x00 // Interface Clear
+#define HPHIL_EPT 0x01 // Enter Pass-Thru Mode
+#define HPHIL_ELB 0x02 // Enter Loop-Back Mode
+#define HPHIL_IDD 0x03 // Identify and Describe
+#define HPHIL_DSR 0x04 // Device Soft Reset
+#define HPHIL_PST 0x05 // Perform Self Test
+#define HPHIL_RRG 0x06 // Read Register
+#define HPHIL_WRG 0x07 // Write Register
+#define HPHIL_ACF 0x08 // Auto Configure [08..0f]
+#define HPHIL_POL 0x10 // Poll [10..1f]
+#define HPHIL_RPL 0x20 // RePoll [20..2f]
+#define HPHIL_RNM 0x30 // Report Name
+#define HPHIL_RST 0x31 // Report Status
+#define HPHIL_EXD 0x32 // Extended Describe
+#define HPHIL_RSC 0x33 // Report Security Code
+#define HPHIL_DKA 0x3D // Disable Keyswitch AutoRepeat
+#define HPHIL_EK1 0x3E // Enable Keyswitch AutoRepeat 30cps
+#define HPHIL_EK2 0x3F // Enable Keyswitch AutoRepeat 60cps
+#define HPHIL_PR1 0x40 // Prompt 1..7 [40..46]
+#define HPHIL_PRM 0x47 // Prompt (General Purpose)
+#define HPHIL_AK1 0x48 // Acknowledge 1..7 [40..46]
+#define HPHIL_ACK 0x4F // Acknowledge (General Purpose)
+#define HPHIL_RIO 0xFA // Register I/O Error
+#define HPHIL_SHR 0xFB // System Hard Reset
+#define HPHIL_TER 0xFC // Transmission Error
+#define HPHIL_CAE 0xFD // Configuration Address Error
+#define HPHIL_DHR 0xFE // Device Hard Reset
/*
* init sequnce (p. 4-13)
diff --git a/src/devices/bus/isa/mc1502_fdc.cpp b/src/devices/bus/isa/mc1502_fdc.cpp
index e904b44bdb1..b943c1a191b 100644
--- a/src/devices/bus/isa/mc1502_fdc.cpp
+++ b/src/devices/bus/isa/mc1502_fdc.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Electronika MC 1502 FDC device
+ Electronika MC 1502 FDC device
**********************************************************************/
diff --git a/src/devices/bus/isa/mc1502_fdc.h b/src/devices/bus/isa/mc1502_fdc.h
index 350dcde39c2..af8c3ee7d54 100644
--- a/src/devices/bus/isa/mc1502_fdc.h
+++ b/src/devices/bus/isa/mc1502_fdc.h
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Electronika MC 1502 FDC device
+ Electronika MC 1502 FDC device
**********************************************************************/
diff --git a/src/devices/bus/isa/mc1502_rom.cpp b/src/devices/bus/isa/mc1502_rom.cpp
index c2d3ed81bc5..d5a5b189ac1 100644
--- a/src/devices/bus/isa/mc1502_rom.cpp
+++ b/src/devices/bus/isa/mc1502_rom.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- MC-1502 ROM cartridge device
+ MC-1502 ROM cartridge device
**********************************************************************/
diff --git a/src/devices/bus/isa/mc1502_rom.h b/src/devices/bus/isa/mc1502_rom.h
index f5874075e2b..193a9bf3274 100644
--- a/src/devices/bus/isa/mc1502_rom.h
+++ b/src/devices/bus/isa/mc1502_rom.h
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- MC-1502 ROM cartridge device
+ MC-1502 ROM cartridge device
**********************************************************************/
diff --git a/src/devices/bus/isa/p1_fdc.cpp b/src/devices/bus/isa/p1_fdc.cpp
index 6617f6c3fae..27983e5abdd 100644
--- a/src/devices/bus/isa/p1_fdc.cpp
+++ b/src/devices/bus/isa/p1_fdc.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Poisk-1 FDC device (model B504)
+ Poisk-1 FDC device (model B504)
**********************************************************************/
diff --git a/src/devices/bus/isa/p1_fdc.h b/src/devices/bus/isa/p1_fdc.h
index 6e0afa62c93..672d80f7773 100644
--- a/src/devices/bus/isa/p1_fdc.h
+++ b/src/devices/bus/isa/p1_fdc.h
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Poisk-1 FDC device (model B504)
+ Poisk-1 FDC device (model B504)
**********************************************************************/
diff --git a/src/devices/bus/isa/p1_hdc.cpp b/src/devices/bus/isa/p1_hdc.cpp
index 60a2696328e..206c3c04360 100644
--- a/src/devices/bus/isa/p1_hdc.cpp
+++ b/src/devices/bus/isa/p1_hdc.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Poisk-1 HDC device (model B942)
+ Poisk-1 HDC device (model B942)
**********************************************************************/
diff --git a/src/devices/bus/isa/p1_hdc.h b/src/devices/bus/isa/p1_hdc.h
index 9574da126f9..ef3e16c526e 100644
--- a/src/devices/bus/isa/p1_hdc.h
+++ b/src/devices/bus/isa/p1_hdc.h
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Poisk-1 HDC device (model B942)
+ Poisk-1 HDC device (model B942)
**********************************************************************/
diff --git a/src/devices/bus/isa/p1_rom.cpp b/src/devices/bus/isa/p1_rom.cpp
index 0a57aa1a9af..b46b495b6a0 100644
--- a/src/devices/bus/isa/p1_rom.cpp
+++ b/src/devices/bus/isa/p1_rom.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Poisk-1 ROM cartridge device
+ Poisk-1 ROM cartridge device
**********************************************************************/
diff --git a/src/devices/bus/isa/p1_rom.h b/src/devices/bus/isa/p1_rom.h
index 079cbdedc5b..fc88dd08222 100644
--- a/src/devices/bus/isa/p1_rom.h
+++ b/src/devices/bus/isa/p1_rom.h
@@ -2,7 +2,7 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Poisk-1 ROM cartridge device
+ Poisk-1 ROM cartridge device
**********************************************************************/
diff --git a/src/devices/bus/isa/p1_sound.cpp b/src/devices/bus/isa/p1_sound.cpp
index 593774a1f81..d0c37039030 100644
--- a/src/devices/bus/isa/p1_sound.cpp
+++ b/src/devices/bus/isa/p1_sound.cpp
@@ -2,12 +2,12 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Poisk-1 sound card. DAC, ADC, MIDI in/out and 6 music channels.
+ Poisk-1 sound card. DAC, ADC, MIDI in/out and 6 music channels.
- Memory-mapped, uses IRQ3 and IRQ7, no DMA.
+ Memory-mapped, uses IRQ3 and IRQ7, no DMA.
- Copyright MESS Team.
- Visit http://mamedev.org for licensing and usage restrictions.
+ Copyright MESS Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
**********************************************************************/
@@ -141,7 +141,7 @@ READ8_MEMBER(p1_sound_device::adc_r)
WRITE8_MEMBER(p1_sound_device::dac_w)
{
-// logerror("DAC write: %02x <- %02x\n", offset>>1, data);
+// logerror("DAC write: %02x <- %02x\n", offset>>1, data);
m_dac_data[offset >> 1] = data;
m_isa->irq7_w(CLEAR_LINE);
}
diff --git a/src/devices/bus/isa/p1_sound.h b/src/devices/bus/isa/p1_sound.h
index c130db813e6..039d5b7868a 100644
--- a/src/devices/bus/isa/p1_sound.h
+++ b/src/devices/bus/isa/p1_sound.h
@@ -2,10 +2,10 @@
// copyright-holders:Sergey Svishchev
/**********************************************************************
- Poisk-1 sound card
+ Poisk-1 sound card
- Copyright MESS Team.
- Visit http://mamedev.org for licensing and usage restrictions.
+ Copyright MESS Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
**********************************************************************/
diff --git a/src/devices/bus/nes/subor.cpp b/src/devices/bus/nes/subor.cpp
index 7be953cd72d..581c9ce5acd 100644
--- a/src/devices/bus/nes/subor.cpp
+++ b/src/devices/bus/nes/subor.cpp
@@ -146,7 +146,7 @@ void nes_subor2_device::pcb_reset()
and studying VirtuaNESEx. The latter makes the
read at 0x5300 return 0x8F, perhaps as a form
of copy protection?
-
+
There are two revisions of Type 2 that are
currently known;
@@ -322,4 +322,4 @@ WRITE8_MEMBER(nes_subor2_device::write_l)
update_banks();
break;
}
-}
\ No newline at end of file
+}
diff --git a/src/devices/bus/nes/subor.h b/src/devices/bus/nes/subor.h
index c58ad8ea2a4..77839add137 100644
--- a/src/devices/bus/nes/subor.h
+++ b/src/devices/bus/nes/subor.h
@@ -75,4 +75,4 @@ extern const device_type NES_SUBOR0;
extern const device_type NES_SUBOR1;
extern const device_type NES_SUBOR2;
-#endif /* MAME_BUS_NES_SUBOR_H */
\ No newline at end of file
+#endif /* MAME_BUS_NES_SUBOR_H */
diff --git a/src/devices/bus/nes/zemina.cpp b/src/devices/bus/nes/zemina.cpp
index bc20a8b3efb..2328b7485a8 100644
--- a/src/devices/bus/nes/zemina.cpp
+++ b/src/devices/bus/nes/zemina.cpp
@@ -65,12 +65,12 @@ void nes_zemina_device::pcb_reset()
-------------------------------------------------*/
/*-------------------------------------------------
-
+
Zemina board emulation
Currently, this board is only known to be used
by one game: Magic Kid GooGoo.
-
+
Info from kevtris at NESDev, who dumped the game:
wiki.nesdev.com/w/index.php/INES_Mapper_190
diff --git a/src/devices/bus/nes/zemina.h b/src/devices/bus/nes/zemina.h
index 825e9109657..d52f2db803c 100644
--- a/src/devices/bus/nes/zemina.h
+++ b/src/devices/bus/nes/zemina.h
@@ -28,4 +28,4 @@ public:
// device type definition
extern const device_type NES_ZEMINA;
-#endif /* MAME_BUS_NES_ZEMINA_H */
\ No newline at end of file
+#endif /* MAME_BUS_NES_ZEMINA_H */
diff --git a/src/devices/bus/ti8x/bitsocket.h b/src/devices/bus/ti8x/bitsocket.h
index f4c635c9dfc..de4ff6ca060 100644
--- a/src/devices/bus/ti8x/bitsocket.h
+++ b/src/devices/bus/ti8x/bitsocket.h
@@ -52,4 +52,4 @@ private:
} } // namespace bus::ti8x
-#endif // MAME_DEVICES_BUS_TI8X_BITSOCKET_H
\ No newline at end of file
+#endif // MAME_DEVICES_BUS_TI8X_BITSOCKET_H
diff --git a/src/devices/bus/ti8x/graphlinkhle.h b/src/devices/bus/ti8x/graphlinkhle.h
index 8f2d0eaf242..c0fef8cfbb9 100644
--- a/src/devices/bus/ti8x/graphlinkhle.h
+++ b/src/devices/bus/ti8x/graphlinkhle.h
@@ -63,4 +63,4 @@ private:
} } // namespace bus::ti8x
-#endif // MAME_DEVICES_BUS_TI8X_GRAPHLINKHLE_H
\ No newline at end of file
+#endif // MAME_DEVICES_BUS_TI8X_GRAPHLINKHLE_H
diff --git a/src/devices/cpu/drccache.cpp b/src/devices/cpu/drccache.cpp
index b2fb20db8a0..5906a641fee 100644
--- a/src/devices/cpu/drccache.cpp
+++ b/src/devices/cpu/drccache.cpp
@@ -243,7 +243,7 @@ void drc_cache::request_oob_codegen(drc_oob_delegate callback, void *param1, voi
oob_handler *oob = (oob_handler *)alloc(sizeof(*oob));
assert(oob != nullptr);
new (oob) oob_handler();
-
+
// fill it in
oob->m_callback = callback;
oob->m_param1 = param1;
diff --git a/src/devices/cpu/m6502/n2a03.h b/src/devices/cpu/m6502/n2a03.h
index 3faff1fb202..3f406af15e9 100644
--- a/src/devices/cpu/m6502/n2a03.h
+++ b/src/devices/cpu/m6502/n2a03.h
@@ -74,7 +74,7 @@ private:
/* These are the official XTAL values and clock rates used by Nintendo for
manufacturing throughout the production of the 2A03. PALC_APU_CLOCK is
- the clock rate devised by UMC(?) for PAL Famicom clone hardware. */
+ the clock rate devised by UMC(?) for PAL Famicom clone hardware. */
#define N2A03_NTSC_XTAL XTAL_21_4772MHz
#define N2A03_PAL_XTAL XTAL_26_601712MHz
diff --git a/src/devices/cpu/mb86233/mb86233d.cpp b/src/devices/cpu/mb86233/mb86233d.cpp
index bbc6cda4934..0919ca1ef58 100644
--- a/src/devices/cpu/mb86233/mb86233d.cpp
+++ b/src/devices/cpu/mb86233/mb86233d.cpp
@@ -10,7 +10,7 @@
0 1 2 3 4 5 6 7 8 9 a b c d e f
0 b0 b1 x0 x1 x2 i0 i1 i2 sp pag vsm dmc c0 c1 pc -
1 a ah al b bh bl c ch cl d dh dl p ph pl sft
-
+
Second register bank:
0 1 2 3 4 5 6 7 8 9 a b c d e f
2
@@ -69,7 +69,7 @@
1011 11.c 0110 1110 .... .... .... .... iret
Top 3 bits = instruction group, except when it isn't.
-
+
*/
@@ -161,7 +161,7 @@ static std::string memory(uint32_t reg, bool x1)
else
util::stream_format(stream, "x0");
}
-
+
if(reg & 0x10) {
if((0x10 - (reg & 0xf)) < 10)
util::stream_format(stream, "-%d", 0x10 - (reg & 0xf));
@@ -334,7 +334,7 @@ static unsigned dasm_mb86233(std::ostream &stream, uint32_t opcode )
default:
util::stream_format(stream, "mov {%d} %s, %s", op, memory(r1, false), memory(r2, true));
break;
- }
+ }
break;
}
@@ -398,7 +398,7 @@ static unsigned dasm_mb86233(std::ostream &stream, uint32_t opcode )
case 0x10: case 0x11: case 0x12: case 0x13: case 0x14: case 0x15: case 0x16: case 0x17:
util::stream_format(stream, "ldi #0x%x, %s", opcode & 0xffffff, regnames[(opcode >> 24) & 0x3f]); break;
break;
-
+
case 0x2f: case 0x3f: {
uint32_t cond = ( opcode >> 20 ) & 0x1f;
uint32_t subtype = ( opcode >> 17 ) & 7;
diff --git a/src/devices/cpu/mips/mips3.cpp b/src/devices/cpu/mips/mips3.cpp
index bf262bd1476..595ad22f970 100644
--- a/src/devices/cpu/mips/mips3.cpp
+++ b/src/devices/cpu/mips/mips3.cpp
@@ -983,7 +983,7 @@ inline bool mips3_device::RBYTE(offs_t address, uint32_t *result)
*result = (*m_memory.read_byte)(*m_program, address);
return true;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_READ_ALLOWED)
{
@@ -1022,7 +1022,7 @@ inline bool mips3_device::RHALF(offs_t address, uint32_t *result)
*result = (*m_memory.read_word)(*m_program, address);
return true;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_READ_ALLOWED)
{
@@ -1061,7 +1061,7 @@ inline bool mips3_device::RWORD(offs_t address, uint32_t *result)
*result = (*m_memory.read_dword)(*m_program, address);
return true;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_READ_ALLOWED)
{
@@ -1100,7 +1100,7 @@ inline bool mips3_device::RWORD_MASKED(offs_t address, uint32_t *result, uint32_
*result = (*m_memory.read_dword_masked)(*m_program, address, mem_mask);
return true;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_READ_ALLOWED)
{
@@ -1157,7 +1157,7 @@ inline bool mips3_device::RDOUBLE_MASKED(offs_t address, uint64_t *result, uint6
*result = (*m_memory.read_qword_masked)(*m_program, address, mem_mask);
return true;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_READ_ALLOWED)
{
@@ -1186,7 +1186,7 @@ inline void mips3_device::WBYTE(offs_t address, uint8_t data)
(*m_memory.write_byte)(*m_program, address, data);
return;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_WRITE_ALLOWED)
{
@@ -1265,7 +1265,7 @@ inline void mips3_device::WWORD(offs_t address, uint32_t data)
(*m_memory.write_dword)(*m_program, address, data);
return;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_WRITE_ALLOWED)
{
@@ -1305,7 +1305,7 @@ inline void mips3_device::WWORD_MASKED(offs_t address, uint32_t data, uint32_t m
(*m_memory.write_dword_masked)(*m_program, address, data, mem_mask);
return;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_WRITE_ALLOWED)
{
@@ -1365,7 +1365,7 @@ inline void mips3_device::WDOUBLE_MASKED(offs_t address, uint64_t data, uint64_t
(*m_memory.write_qword_masked)(*m_program, address, data, mem_mask);
return;
}
-
+
const uint32_t tlbval = vtlb_table()[address >> 12];
if (tlbval & VTLB_WRITE_ALLOWED)
{
diff --git a/src/devices/cpu/mips/mips3drc.cpp b/src/devices/cpu/mips/mips3drc.cpp
index defef4c486b..a3bd2e1469c 100644
--- a/src/devices/cpu/mips/mips3drc.cpp
+++ b/src/devices/cpu/mips/mips3drc.cpp
@@ -840,68 +840,68 @@ void mips3_device::static_generate_memory_accessor(int mode, int size, int iswri
UML_LABEL(block, addrok); // addrok:
}
- /* TX4925 on-board peripherals pass-through */
- if (m_flavor == MIPS3_TYPE_TX4925)
- {
- int addrok;
- UML_AND(block, I3, I0, 0xffff0000); // and i3, i0, 0xffff0000
- UML_CMP(block, I3, 0xff1f0000); // cmp i3, 0xff1f0000
- UML_JMPc(block, COND_NZ, addrok = label++);
-
- switch (size)
- {
- case 1:
- if (iswrite)
- UML_WRITE(block, I0, I1, SIZE_BYTE, SPACE_PROGRAM); // write i0,i1,program_byte
- else
- UML_READ(block, I0, I0, SIZE_BYTE, SPACE_PROGRAM); // read i0,i0,program_byte
- break;
-
- case 2:
- if (iswrite)
- UML_WRITE(block, I0, I1, SIZE_WORD, SPACE_PROGRAM); // write i0,i1,program_word
- else
- UML_READ(block, I0, I0, SIZE_WORD, SPACE_PROGRAM); // read i0,i0,program_word
- break;
-
- case 4:
- if (iswrite)
- {
- if (!ismasked)
- UML_WRITE(block, I0, I1, SIZE_DWORD, SPACE_PROGRAM); // write i0,i1,program_dword
- else
- UML_WRITEM(block, I0, I1, I2, SIZE_DWORD, SPACE_PROGRAM); // writem i0,i1,i2,program_dword
- }
- else
- {
- if (!ismasked)
- UML_READ(block, I0, I0, SIZE_DWORD, SPACE_PROGRAM); // read i0,i0,program_dword
- else
- UML_READM(block, I0, I0, I2, SIZE_DWORD, SPACE_PROGRAM); // readm i0,i0,i2,program_dword
- }
- break;
-
- case 8:
- if (iswrite)
- {
- if (!ismasked)
- UML_DWRITE(block, I0, I1, SIZE_QWORD, SPACE_PROGRAM); // dwrite i0,i1,program_qword
- else
- UML_DWRITEM(block, I0, I1, I2, SIZE_QWORD, SPACE_PROGRAM); // dwritem i0,i1,i2,program_qword
- }
- else
- {
- if (!ismasked)
- UML_DREAD(block, I0, I0, SIZE_QWORD, SPACE_PROGRAM); // dread i0,i0,program_qword
- else
- UML_DREADM(block, I0, I0, I2, SIZE_QWORD, SPACE_PROGRAM); // dreadm i0,i0,i2,program_qword
- }
- break;
- }
- UML_RET(block);
-
- UML_LABEL(block, addrok);
- }
+ /* TX4925 on-board peripherals pass-through */
+ if (m_flavor == MIPS3_TYPE_TX4925)
+ {
+ int addrok;
+ UML_AND(block, I3, I0, 0xffff0000); // and i3, i0, 0xffff0000
+ UML_CMP(block, I3, 0xff1f0000); // cmp i3, 0xff1f0000
+ UML_JMPc(block, COND_NZ, addrok = label++);
+
+ switch (size)
+ {
+ case 1:
+ if (iswrite)
+ UML_WRITE(block, I0, I1, SIZE_BYTE, SPACE_PROGRAM); // write i0,i1,program_byte
+ else
+ UML_READ(block, I0, I0, SIZE_BYTE, SPACE_PROGRAM); // read i0,i0,program_byte
+ break;
+
+ case 2:
+ if (iswrite)
+ UML_WRITE(block, I0, I1, SIZE_WORD, SPACE_PROGRAM); // write i0,i1,program_word
+ else
+ UML_READ(block, I0, I0, SIZE_WORD, SPACE_PROGRAM); // read i0,i0,program_word
+ break;
+
+ case 4:
+ if (iswrite)
+ {
+ if (!ismasked)
+ UML_WRITE(block, I0, I1, SIZE_DWORD, SPACE_PROGRAM); // write i0,i1,program_dword
+ else
+ UML_WRITEM(block, I0, I1, I2, SIZE_DWORD, SPACE_PROGRAM); // writem i0,i1,i2,program_dword
+ }
+ else
+ {
+ if (!ismasked)
+ UML_READ(block, I0, I0, SIZE_DWORD, SPACE_PROGRAM); // read i0,i0,program_dword
+ else
+ UML_READM(block, I0, I0, I2, SIZE_DWORD, SPACE_PROGRAM); // readm i0,i0,i2,program_dword
+ }
+ break;
+
+ case 8:
+ if (iswrite)
+ {
+ if (!ismasked)
+ UML_DWRITE(block, I0, I1, SIZE_QWORD, SPACE_PROGRAM); // dwrite i0,i1,program_qword
+ else
+ UML_DWRITEM(block, I0, I1, I2, SIZE_QWORD, SPACE_PROGRAM); // dwritem i0,i1,i2,program_qword
+ }
+ else
+ {
+ if (!ismasked)
+ UML_DREAD(block, I0, I0, SIZE_QWORD, SPACE_PROGRAM); // dread i0,i0,program_qword
+ else
+ UML_DREADM(block, I0, I0, I2, SIZE_QWORD, SPACE_PROGRAM); // dreadm i0,i0,i2,program_qword
+ }
+ break;
+ }
+ UML_RET(block);
+
+ UML_LABEL(block, addrok);
+ }
/* general case: assume paging and perform a translation */
UML_SHR(block, I3, I0, 12); // shr i3,i0,12
@@ -1165,8 +1165,8 @@ void mips3_device::generate_checksum_block(drcuml_block *block, compiler_state *
UML_LOAD(block, I0, base, 0, SIZE_DWORD, SCALE_x4); // load i0,base,0,dword
if (seqhead->delay.first() != nullptr
- && !(seqhead->delay.first()->flags & OPFLAG_VIRTUAL_NOOP)
- && seqhead->physpc != seqhead->delay.first()->physpc)
+ && !(seqhead->delay.first()->flags & OPFLAG_VIRTUAL_NOOP)
+ && seqhead->physpc != seqhead->delay.first()->physpc)
{
base = m_direct->read_ptr(seqhead->delay.first()->physpc);
assert(base != nullptr);
@@ -1208,8 +1208,8 @@ void mips3_device::generate_checksum_block(drcuml_block *block, compiler_state *
sum += curdesc->opptr.l[0];
if (curdesc->delay.first() != nullptr
- && !(curdesc->delay.first()->flags & OPFLAG_VIRTUAL_NOOP)
- && (curdesc == seqlast || (curdesc->next() != nullptr && curdesc->next()->physpc != curdesc->delay.first()->physpc)))
+ && !(curdesc->delay.first()->flags & OPFLAG_VIRTUAL_NOOP)
+ && (curdesc == seqlast || (curdesc->next() != nullptr && curdesc->next()->physpc != curdesc->delay.first()->physpc)))
{
base = m_direct->read_ptr(curdesc->delay.first()->physpc);
assert(base != nullptr);
diff --git a/src/devices/cpu/upd7725/upd7725.h b/src/devices/cpu/upd7725/upd7725.h
index 3630ef5f4ca..be2610b3854 100644
--- a/src/devices/cpu/upd7725/upd7725.h
+++ b/src/devices/cpu/upd7725/upd7725.h
@@ -195,7 +195,7 @@ private:
// m_irq_firing: if an irq has fired; 0 = not fired or has already finished firing
// 1 = next opcode is the first half of int firing 'NOP+push pc'
// 2 = next opcode is the second half of int firing 'JMP 0100'
- int m_irq_firing;
+ int m_irq_firing;
address_space *m_program, *m_data;
direct_read_data *m_direct;
diff --git a/src/devices/cpu/z180/z180.cpp b/src/devices/cpu/z180/z180.cpp
index 58272e70f2c..0fa37cc5524 100644
--- a/src/devices/cpu/z180/z180.cpp
+++ b/src/devices/cpu/z180/z180.cpp
@@ -1573,12 +1573,12 @@ int z180_device::z180_dma0(int max_cycles)
offs_t sar0 = 65536 * IO_SAR0B + 256 * IO_SAR0H + IO_SAR0L;
offs_t dar0 = 65536 * IO_DAR0B + 256 * IO_DAR0H + IO_DAR0L;
int bcr0 = 256 * IO_BCR0H + IO_BCR0L;
-
- if (bcr0 == 0)
+
+ if (bcr0 == 0)
{
bcr0 = 0x10000;
}
-
+
int count = (IO_DMODE & Z180_DMODE_MMOD) ? bcr0 : 1;
int cycles = 0;
@@ -1710,12 +1710,12 @@ int z180_device::z180_dma1()
offs_t mar1 = 65536 * IO_MAR1B + 256 * IO_MAR1H + IO_MAR1L;
offs_t iar1 = 256 * IO_IAR1H + IO_IAR1L;
int bcr1 = 256 * IO_BCR1H + IO_BCR1L;
-
- if (bcr1 == 0)
+
+ if (bcr1 == 0)
{
bcr1 = 0x10000;
}
-
+
int cycles = 0;
if ((m_iol & Z180_DREQ1) == 0)
@@ -2391,7 +2391,7 @@ again:
else
{
do
- {
+ {
curcycles = check_interrupts();
m_icount -= curcycles;
handle_io_timers(curcycles);
@@ -2413,7 +2413,7 @@ again:
m_icount -= curcycles;
handle_io_timers(curcycles);
-
+
/* if channel 0 was started in burst mode, go recheck the mode */
if ((IO_DSTAT & Z180_DSTAT_DE0) == Z180_DSTAT_DE0 &&
(IO_DMODE & Z180_DMODE_MMOD) == Z180_DMODE_MMOD)
@@ -2434,7 +2434,7 @@ again:
curcycles = z180_dma1();
m_icount -= curcycles;
handle_io_timers(curcycles);
-
+
/* If DMA is done break out to the faster loop */
if ((IO_DSTAT & Z180_DSTAT_DME) != Z180_DSTAT_DME)
break;
@@ -2449,7 +2449,7 @@ again:
/* If DMA is started go to check the mode */
if ((IO_DSTAT & Z180_DSTAT_DME) == Z180_DSTAT_DME)
goto again;
-
+
curcycles = check_interrupts();
m_icount -= curcycles;
handle_io_timers(curcycles);
diff --git a/src/devices/machine/6821pia.cpp b/src/devices/machine/6821pia.cpp
index 354fec84a0f..489391e043f 100644
--- a/src/devices/machine/6821pia.cpp
+++ b/src/devices/machine/6821pia.cpp
@@ -1111,7 +1111,7 @@ WRITE_LINE_MEMBER( pia6821_device::cb2_w )
bool pia6821_device::cb2_output()
{
m_out_cb2_needs_pulled = false;
-
+
return m_out_cb2;
}
@@ -1130,17 +1130,17 @@ bool pia6821_device::cb2_output_z()
// control byte wrappers
//-------------------------------------------------
-bool pia6821_device::irq1_enabled(uint8_t c) { return bool((c >> 0) & 0x01); }
-bool pia6821_device::c1_low_to_high(uint8_t c) { return bool((c >> 1) & 0x01); }
-bool pia6821_device::c1_high_to_low(uint8_t c) { return !bool((c >> 1) & 0x01); }
-bool pia6821_device::output_selected(uint8_t c) { return bool((c >> 2) & 0x01); }
-bool pia6821_device::irq2_enabled(uint8_t c) { return bool((c >> 3) & 0x01); }
-bool pia6821_device::strobe_e_reset(uint8_t c) { return bool((c >> 3) & 0x01); }
-bool pia6821_device::strobe_c1_reset(uint8_t c) { return !bool((c >> 3) & 0x01); }
-bool pia6821_device::c2_set(uint8_t c) { return bool((c >> 3) & 0x01); }
-bool pia6821_device::c2_low_to_high(uint8_t c) { return bool((c >> 4) & 0x01); }
-bool pia6821_device::c2_high_to_low(uint8_t c) { return !bool((c >> 4) & 0x01); }
-bool pia6821_device::c2_set_mode(uint8_t c) { return bool((c >> 4) & 0x01); }
-bool pia6821_device::c2_strobe_mode(uint8_t c) { return !bool((c >> 4) & 0x01); }
-bool pia6821_device::c2_output(uint8_t c) { return bool((c >> 5) & 0x01); }
-bool pia6821_device::c2_input(uint8_t c) { return !bool((c >> 5) & 0x01); }
+bool pia6821_device::irq1_enabled(uint8_t c) { return bool((c >> 0) & 0x01); }
+bool pia6821_device::c1_low_to_high(uint8_t c) { return bool((c >> 1) & 0x01); }
+bool pia6821_device::c1_high_to_low(uint8_t c) { return !bool((c >> 1) & 0x01); }
+bool pia6821_device::output_selected(uint8_t c) { return bool((c >> 2) & 0x01); }
+bool pia6821_device::irq2_enabled(uint8_t c) { return bool((c >> 3) & 0x01); }
+bool pia6821_device::strobe_e_reset(uint8_t c) { return bool((c >> 3) & 0x01); }
+bool pia6821_device::strobe_c1_reset(uint8_t c) { return !bool((c >> 3) & 0x01); }
+bool pia6821_device::c2_set(uint8_t c) { return bool((c >> 3) & 0x01); }
+bool pia6821_device::c2_low_to_high(uint8_t c) { return bool((c >> 4) & 0x01); }
+bool pia6821_device::c2_high_to_low(uint8_t c) { return !bool((c >> 4) & 0x01); }
+bool pia6821_device::c2_set_mode(uint8_t c) { return bool((c >> 4) & 0x01); }
+bool pia6821_device::c2_strobe_mode(uint8_t c) { return !bool((c >> 4) & 0x01); }
+bool pia6821_device::c2_output(uint8_t c) { return bool((c >> 5) & 0x01); }
+bool pia6821_device::c2_input(uint8_t c) { return !bool((c >> 5) & 0x01); }
diff --git a/src/devices/machine/ie15.cpp b/src/devices/machine/ie15.cpp
index 912f346fe09..438ffb1712b 100644
--- a/src/devices/machine/ie15.cpp
+++ b/src/devices/machine/ie15.cpp
@@ -2,12 +2,12 @@
// copyright-holders:Sergey Svishchev
/***************************************************************************
- 15IE-00-013 Terminal
+ 15IE-00-013 Terminal
- A serial (RS232 or current loop) green-screen terminal, mostly VT52
- compatible (no Hold Screen mode and no graphics character set).
+ A serial (RS232 or current loop) green-screen terminal, mostly VT52
+ compatible (no Hold Screen mode and no graphics character set).
- Alternate character set (selected by SO/SI chars) is Cyrillic.
+ Alternate character set (selected by SO/SI chars) is Cyrillic.
****************************************************************************/
@@ -416,32 +416,32 @@ void ie15_device::device_reset()
}
/*
- Usable raster is 800 x 275 pixels (80 x 25 characters). 24 lines are
- available to the user and 25th (topmost) line is the status line.
- Status line, if enabled, displays current serial port speed, 16 setup
- bits, and clock. There is no NVRAM, so setup bits are always 0 after
- reset and clock starts counting at 0 XXX.
+ Usable raster is 800 x 275 pixels (80 x 25 characters). 24 lines are
+ available to the user and 25th (topmost) line is the status line.
+ Status line, if enabled, displays current serial port speed, 16 setup
+ bits, and clock. There is no NVRAM, so setup bits are always 0 after
+ reset and clock starts counting at 0 XXX.
- No character attributes are available, but in 'display controls' mode
- control characters stored in memory are shown as blinking chars.
+ No character attributes are available, but in 'display controls' mode
+ control characters stored in memory are shown as blinking chars.
- Character cell is 10 x 11; character generator provides 7 x 8 of that.
- 3 extra horizontal pixels are always blank. Blinking cursor may be
- displayed on 3 extra scan lines.
+ Character cell is 10 x 11; character generator provides 7 x 8 of that.
+ 3 extra horizontal pixels are always blank. Blinking cursor may be
+ displayed on 3 extra scan lines.
- On each scan line, video board draws 80 characters from any location
- in video memory; this is used by firmware to provide instant scroll
- and cursor, which is a character with code 0x7F stored in off-screen
- memory.
+ On each scan line, video board draws 80 characters from any location
+ in video memory; this is used by firmware to provide instant scroll
+ and cursor, which is a character with code 0x7F stored in off-screen
+ memory.
- Video board output is controlled by
- - control flag 0 "disable video": 0 == disable
- - control flag 1 "cursor": 0 == if this scan line is one of extra 3,
- enable video every 5 frames.
- - control flag 3 "status line": 0 == current scan line is part of status line
- - keyboard mode 'RED' ('display controls'): if character code is
- less than 0x20 and RED is set, enable video every 5 frames; if RED is
- unset, disable video.
+ Video board output is controlled by
+ - control flag 0 "disable video": 0 == disable
+ - control flag 1 "cursor": 0 == if this scan line is one of extra 3,
+ enable video every 5 frames.
+ - control flag 3 "status line": 0 == current scan line is part of status line
+ - keyboard mode 'RED' ('display controls'): if character code is
+ less than 0x20 and RED is set, enable video every 5 frames; if RED is
+ unset, disable video.
*/
void ie15_device::draw_scanline(uint32_t *p, uint16_t offset, uint8_t scanline)
@@ -506,9 +506,9 @@ void ie15_device::update_leds()
}
/*
- VBlank is active for 3 topmost on-screen rows and 1 at the bottom; however, control flag 3
+ VBlank is active for 3 topmost on-screen rows and 1 at the bottom; however, control flag 3
overrides VBlank,
- allowing status line to be switched on and off.
+ allowing status line to be switched on and off.
*/
void ie15_device::scanline_callback()
{
diff --git a/src/devices/machine/mm5740.cpp b/src/devices/machine/mm5740.cpp
index 453a42248ea..2667f8b6a93 100644
--- a/src/devices/machine/mm5740.cpp
+++ b/src/devices/machine/mm5740.cpp
@@ -73,7 +73,7 @@ uint32_t mm5740_device::calc_effective_clock_key_debounce(uint32_t capacitance)
void mm5740_device::device_start()
{
// resolve callbacks
- for(int i = 0; i < 9; i++)
+ for(int i = 0; i < 9; i++)
{
m_read_x[i].resolve_safe(0x3ff);
}
diff --git a/src/devices/machine/mm5740.h b/src/devices/machine/mm5740.h
index 8687f4d6cc9..2354f5c2e33 100644
--- a/src/devices/machine/mm5740.h
+++ b/src/devices/machine/mm5740.h
@@ -5,27 +5,27 @@
MM5740 Keyboard Encoder emulation
**********************************************************************
- _____ _____
- B3 1 |* \_/ | 40 B4
- Vll 2 | | 39 B9
- Clock 3 | | 38 B2
- X9 4 | | 37 B1
- X8 5 | | 36 B8
- X7 6 | | 35 B7
- X6 7 | | 34 B6
- X5 8 | | 33 B5
- X4 9 | | 32 Vss
- X3 10 | MM5740 | 31 Y9
- X2 11 | | 30 Y8
- X1 12 | | 29 Y7
+ _____ _____
+ B3 1 |* \_/ | 40 B4
+ Vll 2 | | 39 B9
+ Clock 3 | | 38 B2
+ X9 4 | | 37 B1
+ X8 5 | | 36 B8
+ X7 6 | | 35 B7
+ X6 7 | | 34 B6
+ X5 8 | | 33 B5
+ X4 9 | | 32 Vss
+ X3 10 | MM5740 | 31 Y9
+ X2 11 | | 30 Y8
+ X1 12 | | 29 Y7
Data Strobe Output 13 | | 28 Y6
Data Strobe Control 14 | | 27 Y5
- Output Enable 15 | | 26 Y4
- Repeat 16 | | 25 Y3
+ Output Enable 15 | | 26 Y4
+ Repeat 16 | | 25 Y3
Key Bounce Mask 17 | | 24 Y2
- Vgg 18 | | 23 Y1
- Control 19 | | 22 Y0
- Shift Lock I/O 20 |_____________| 21 Shift
+ Vgg 18 | | 23 Y1
+ Control 19 | | 22 Y0
+ Shift Lock I/O 20 |_____________| 21 Shift
Name Pin No. Function
----------------------------------------------------------------------
@@ -33,7 +33,7 @@ Name Pin No. Function
X1-X9 4-12 Output - Drives the key switch matrix.
Y1-Y10 22-31 Inputs - connect to the X drive lines with
- the key switch matrix.
+ the key switch matrix.
B1-B9 1,33-40 Tri-stated data outputs.
@@ -44,10 +44,10 @@ Data Strobe Control 14 Input to control data strobe output pulse width
Output Enable 15 Input to control the chip's TRI-STATE output
Repeat 16 Each cycle of this signal will issue
- a new data strobe for the pressed key.
+ a new data strobe for the pressed key.
Key-Bounce Mask 17 Use capacitor on this chip to provide
- key debouncing
+ key debouncing
Shift 21 Shift key pressed
@@ -55,9 +55,9 @@ Control 19 Control key pressed
Shift Lock I/O 20 Togglable input to signify shift (NOT caps) lock.
-Clock 3 A TTL compatible clock signal
+Clock 3 A TTL compatible clock signal
-Vss 32 +5.0V
+Vss 32 +5.0V
Vll 2 Ground
@@ -67,10 +67,10 @@ Vgg 18 -12V
**********************************************************************/
/* TODO:
- Support Key-bounce mask
- Support Repeat function
- Support shift lock
- Support additional internal ROMs
+ Support Key-bounce mask
+ Support Repeat function
+ Support shift lock
+ Support additional internal ROMs
*/
#pragma once
@@ -111,7 +111,7 @@ public:
// public interface
uint16_t b_r();
- template static devcb_base &set_x_cb(device_t &device, Object &&object, uint8_t i)
+ template static devcb_base &set_x_cb(device_t &device, Object &&object, uint8_t i)
{
assert(i<9); return downcast(device).m_read_x[i].set_callback(std::forward