summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
diff options
context:
space:
mode:
author Scott Stone <tafoid@gmail.com>2016-11-24 09:24:01 -0500
committer Scott Stone <tafoid@gmail.com>2016-11-24 09:24:01 -0500
commit30cda1d3e5b9195fbd1f23a3af4480666c750a34 (patch)
tree82f7b4b6bb3c61335c495d0925b393b212f6f3f0 /src/mame/machine
parent7746690ddf1b6b806de046ec54fee954f09e182e (diff)
A round of spelling/typographical fixes to source comments (nw)
Diffstat (limited to 'src/mame/machine')
-rw-r--r--src/mame/machine/alpha8201.cpp2
-rw-r--r--src/mame/machine/amstrad.cpp4
-rw-r--r--src/mame/machine/apple2gs.cpp2
-rw-r--r--src/mame/machine/coco.cpp2
-rw-r--r--src/mame/machine/fd1094.cpp2
-rw-r--r--src/mame/machine/gaelco3d.cpp2
-rw-r--r--src/mame/machine/galaxold.cpp2
-rw-r--r--src/mame/machine/hec2hrp.cpp4
-rw-r--r--src/mame/machine/iteagle_fpga.cpp2
-rw-r--r--src/mame/machine/kaneko_toybox.h2
-rw-r--r--src/mame/machine/kc_keyb.cpp2
-rw-r--r--src/mame/machine/lisa.cpp4
-rw-r--r--src/mame/machine/lynx.cpp8
-rw-r--r--src/mame/machine/mega32x.cpp2
-rw-r--r--src/mame/machine/micropolis.cpp2
-rw-r--r--src/mame/machine/mie.h2
-rw-r--r--src/mame/machine/tecmosys.cpp2
-rw-r--r--src/mame/machine/thomson.cpp4
-rw-r--r--src/mame/machine/vector06.cpp2
-rw-r--r--src/mame/machine/wpc.h4
20 files changed, 28 insertions, 28 deletions
diff --git a/src/mame/machine/alpha8201.cpp b/src/mame/machine/alpha8201.cpp
index 87c06da6370..852d4eaadd0 100644
--- a/src/mame/machine/alpha8201.cpp
+++ b/src/mame/machine/alpha8201.cpp
@@ -404,7 +404,7 @@ WRITE16_MEMBER(alpha_8201_device::mcu_d_w)
WRITE_LINE_MEMBER(alpha_8201_device::bus_dir_w)
{
// set RAM bus direction to 0: external, 1: MCU side
- // selects one of two 74LS245 (octal bus transceiver) for databus, addressbus via
+ // selects one of two 74LS245 (octal bus transceiver) for databus, address bus via
// a couple of 74LS157 (2-input multiplexer)
m_bus = (state) ? 1 : 0;
mcu_writeram();
diff --git a/src/mame/machine/amstrad.cpp b/src/mame/machine/amstrad.cpp
index 8e4f44da91f..b88e81e6f70 100644
--- a/src/mame/machine/amstrad.cpp
+++ b/src/mame/machine/amstrad.cpp
@@ -113,7 +113,7 @@ static const int RamConfigurations[8 * 4] =
/* this contains the colours in machine.pens form.*/
/* this is updated from the eventlist and reflects the current state
of the render colours - these may be different to the current colour palette values */
-/* colours can be changed at any time and will take effect immediatly */
+/* colours can be changed at any time and will take effect immediately */
@@ -3237,7 +3237,7 @@ MACHINE_RESET_MEMBER(amstrad_state,kccomp)
/* bit 1 = /TEST. When 0, KC compact will enter data transfer
sequence, where another system using the expansion port signals
DATA2,DATA1, /STROBE and DATA7 can transfer 256 bytes of program.
- When the program has been transfered, it will be executed. This
+ When the program has been transferred, it will be executed. This
is not supported in the driver */
/* bit 3,4 are tied to +5V, bit 2 is tied to 0V */
m_ppi_port_inputs[amstrad_ppi_PortB] = (1<<4) | (1<<3) | 2;
diff --git a/src/mame/machine/apple2gs.cpp b/src/mame/machine/apple2gs.cpp
index 3e20664986f..0b76ef83802 100644
--- a/src/mame/machine/apple2gs.cpp
+++ b/src/mame/machine/apple2gs.cpp
@@ -41,7 +41,7 @@
C027 - KMSTATUS (GLU system status)
bit 7 - set if mouse register full
- bit 6 - mouse interupt enable flag
+ bit 6 - mouse interrupt enable flag
bit 5 - set if data register full
bit 4 - data interrupt enabled
bit 3 - set if key data full
diff --git a/src/mame/machine/coco.cpp b/src/mame/machine/coco.cpp
index 4c89a8a8594..c154bbdaa3f 100644
--- a/src/mame/machine/coco.cpp
+++ b/src/mame/machine/coco.cpp
@@ -936,7 +936,7 @@ void coco_state::diecom_lightgun_clock(void)
else
m_dclg_output_v &= ~0x01;
- /* Bit 9 of timer is only avaiable if state == 8*/
+ /* Bit 9 of timer is only available if state == 8*/
if (m_dclg_state == 8 && (((m_dclg_timer >> 9) & 0x01) == 1))
m_dclg_output_v |= 0x02;
else
diff --git a/src/mame/machine/fd1094.cpp b/src/mame/machine/fd1094.cpp
index bdf0a430e5b..8452bf20e77 100644
--- a/src/mame/machine/fd1094.cpp
+++ b/src/mame/machine/fd1094.cpp
@@ -771,7 +771,7 @@ uint16_t fd1094_device::decrypt_one(offs_t address, uint16_t val, const uint8_t
else key_F = BIT(mainkey,6);
// the CPU has been verified to produce different results when fetching opcodes
- // from 0000-0006 than when fetching the inital SP and PC on reset.
+ // from 0000-0006 than when fetching the initial SP and PC on reset.
if (vector_fetch)
{
if (address <= 3) gkey3 = 0x00; // supposed to always be the case
diff --git a/src/mame/machine/gaelco3d.cpp b/src/mame/machine/gaelco3d.cpp
index a3b881fb89f..567b0e5a5f6 100644
--- a/src/mame/machine/gaelco3d.cpp
+++ b/src/mame/machine/gaelco3d.cpp
@@ -68,7 +68,7 @@
#define LINK_FREQ (LINK_BAUD / LINK_BITS)
-/* Sync up the instances 8 times for each byte transfered */
+/* Sync up the instances 8 times for each byte transferred */
#define SYNC_MULT (4)
#define SYNC_FREQ (15000000 / 20) //(LINK_FREQ * SYNC_MULT)
diff --git a/src/mame/machine/galaxold.cpp b/src/mame/machine/galaxold.cpp
index 93ce35ba9f9..801eb956e6b 100644
--- a/src/mame/machine/galaxold.cpp
+++ b/src/mame/machine/galaxold.cpp
@@ -57,7 +57,7 @@ void galaxold_state::machine_reset_common(int line)
{
m_irq_line = line;
- /* initalize main CPU interrupt generator flip-flops */
+ /* initialize main CPU interrupt generator flip-flops */
m_7474_9m_2->preset_w(1);
m_7474_9m_2->clear_w (1);
diff --git a/src/mame/machine/hec2hrp.cpp b/src/mame/machine/hec2hrp.cpp
index 950a0a05ae6..affbcd2fd07 100644
--- a/src/mame/machine/hec2hrp.cpp
+++ b/src/mame/machine/hec2hrp.cpp
@@ -28,7 +28,7 @@
=> add the port mapping for keyboard
28/09/2010 add the DISK II support by yo_fr (jj.stac @ aliceadsl.fr)
=> Note that actually the DISK II boot (loading CPM : OK) but do not run (don't run the CPM...).
- 20/11/2010 : synchronization between uPD765 and Z80 are now OK, CP/M runnig! JJStacino
+ 20/11/2010 : synchronization between uPD765 and Z80 are now OK, CP/M running! JJStacino
11/11/2011 : add the minidisque support -3 pouces 1/2 driver- JJStacino (jj.stac @ aliceadsl.fr)
19/02/2012 : few adjustment for the hrp and hr machine - JJStacino
@@ -832,7 +832,7 @@ MACHINE_CONFIG_END
15/02/2010 : Start of the disc2 project! JJStacino
26/09/2010 : first sending with bug2 (the first "dir" command finih with a crash of the Z80 disc II proc) JJStacino
01/11/2010 : first time ending boot sequence, probleme on the CP/M lauch JJStacino
- 20/11/2010 : synchronization between uPD765 and Z80 are now OK, CP/M runnig! JJStacino
+ 20/11/2010 : synchronization between uPD765 and Z80 are now OK, CP/M running! JJStacino
28/11/2010 : Found at Bratislava that the disk writing with TRANS X: is NOT WORKING (the exchange Hector=>Disc2 ok)
*/
diff --git a/src/mame/machine/iteagle_fpga.cpp b/src/mame/machine/iteagle_fpga.cpp
index 7e5f8c133f1..972b2430dff 100644
--- a/src/mame/machine/iteagle_fpga.cpp
+++ b/src/mame/machine/iteagle_fpga.cpp
@@ -656,7 +656,7 @@ READ32_MEMBER( iteagle_periph_device::ctrl_r )
//m_rtc_regs[9] = 0x99; // Use 1998
//m_rtc_regs[0xa] &= ~0x10; // Reg A Status
//m_ctrl_regs[0xb] &= 0x10; // Reg B Status
- //m_ctrl_regs[0xc] &= 0x10; // Reg C Interupt Status
+ //m_ctrl_regs[0xc] &= 0x10; // Reg C Interrupt Status
m_rtc_regs[0xd] = 0x80; // Reg D Valid time/ram Status
result = (result & 0xffff00ff) | (m_rtc_regs[m_ctrl_regs[0x70/4]&0xff]<<8);
}
diff --git a/src/mame/machine/kaneko_toybox.h b/src/mame/machine/kaneko_toybox.h
index 1a01e5c9306..acabe623d6d 100644
--- a/src/mame/machine/kaneko_toybox.h
+++ b/src/mame/machine/kaneko_toybox.h
@@ -18,7 +18,7 @@
***************************************************************************/
// notes based on test programs results, verified on PCB:
-// - bonkadv_mcu_4_30 is the only cmd that ouputs an odd (655) number of bytes
+// - bonkadv_mcu_4_30 is the only cmd that outputs an odd (655) number of bytes
// - bonkadv_mcu_4_33: the 32 'zeroed' bytes every 64 bytes are effectively written by the MCU
// MCU executed command: 4300 0100 - factory settings
diff --git a/src/mame/machine/kc_keyb.cpp b/src/mame/machine/kc_keyb.cpp
index 55236d507ac..984bfa940cf 100644
--- a/src/mame/machine/kc_keyb.cpp
+++ b/src/mame/machine/kc_keyb.cpp
@@ -45,7 +45,7 @@ available but I never found the specs on the web. The SAB 3021 was
produced by Valvo which doesn't exist anymore (bought by Phillips
if I remember correctly). If you have more luck finding the specs
I'm still interested.
-There also was a complementary chip for the recieving side but that
+There also was a complementary chip for the receiving side but that
was not used in the KC unfortunately. They choosed to measure the
pulses sent by the U807 via PIO and CTC.
diff --git a/src/mame/machine/lisa.cpp b/src/mame/machine/lisa.cpp
index 7d2ef1c92c8..e3ab084b671 100644
--- a/src/mame/machine/lisa.cpp
+++ b/src/mame/machine/lisa.cpp
@@ -19,7 +19,7 @@
* finalize sound support (involves adding new features to the 6522 VIA core)
* fix warm-reset (I think I need to use a callback when 68k RESET
instruction is called)
- * write support for additionnal hardware (hard disk, etc...)
+ * write support for additional hardware (hard disk, etc...)
* emulate LISA1 (?)
* optimize MMU emulation !
@@ -1352,7 +1352,7 @@ READ16_MEMBER(lisa_state::lisa_r)
/* Something appears to be wrong with the timings, since we expect to read the
2nd half when v-syncing, i.e. for lines beyond the 431th or 364th one (provided
- there are no additionnal margins).
+ there are no additional margins).
This is caused by the fact that 68k timings are wrong (memory accesses are
interlaced with the video hardware, which is not emulated). */
if (m_features.has_mac_xl_video)
diff --git a/src/mame/machine/lynx.cpp b/src/mame/machine/lynx.cpp
index 21713ad0f77..f80704ce6d8 100644
--- a/src/mame/machine/lynx.cpp
+++ b/src/mame/machine/lynx.cpp
@@ -1394,7 +1394,7 @@ void lynx_state::lynx_timer_signal_irq(int which)
{
if ((m_timer[which].cntrl1 & 0x80) && (which != 4)) // if interrupts are enabled and timer != 4
{
- m_mikey.data[0x81] |= (1 << which); // set interupt poll register
+ m_mikey.data[0x81] |= (1 << which); // set interrupt poll register
m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE);
m_maincpu->set_input_line(M65SC02_IRQ_LINE, ASSERT_LINE);
}
@@ -1718,7 +1718,7 @@ READ8_MEMBER(lynx_state::mikey_read)
case 0x80:
case 0x81:
- value = m_mikey.data[0x81]; // both registers access the same interupt status byte
+ value = m_mikey.data[0x81]; // both registers access the same interrupt status byte
// logerror( "mikey read %.2x %.2x\n", offset, value );
break;
@@ -1790,14 +1790,14 @@ WRITE8_MEMBER(lynx_state::mikey_write)
m_maincpu->set_input_line(M65SC02_IRQ_LINE, CLEAR_LINE);
break;
- /* Is this correct? */ // Notes say writing to register will result in interupt being triggered.
+ /* Is this correct? */ // Notes say writing to register will result in interrupt being triggered.
case 0x81:
m_mikey.data[0x81] |= data;
if (data)
{
m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE);
m_maincpu->set_input_line(M65SC02_IRQ_LINE, ASSERT_LINE);
- logerror("direct write to interupt register\n");
+ logerror("direct write to interrupt register\n");
}
break;
diff --git a/src/mame/machine/mega32x.cpp b/src/mame/machine/mega32x.cpp
index 9f60b344e00..f3938f6c534 100644
--- a/src/mame/machine/mega32x.cpp
+++ b/src/mame/machine/mega32x.cpp
@@ -1856,7 +1856,7 @@ void sega_32x_device::device_reset()
// start in a reset state
m_sh2_are_running = 0;
- m_32x_a1518a_reg = 0x00; // inital value
+ m_32x_a1518a_reg = 0x00; // initial value
m_32x_68k_a15104_reg = 0x00;
m_32x_autofill_length = 0;
diff --git a/src/mame/machine/micropolis.cpp b/src/mame/machine/micropolis.cpp
index 06f82ac9e02..f9d4220a83f 100644
--- a/src/mame/machine/micropolis.cpp
+++ b/src/mame/machine/micropolis.cpp
@@ -163,7 +163,7 @@ void micropolis_device::write_sector()
{
#if 0
/* at this point, the disc is write enabled, and data
- * has been transfered into our buffer - now write it to
+ * has been transferred into our buffer - now write it to
* the disc image or to the real disc
*/
diff --git a/src/mame/machine/mie.h b/src/mame/machine/mie.h
index 348cc2a329d..4d3e5213354 100644
--- a/src/mame/machine/mie.h
+++ b/src/mame/machine/mie.h
@@ -93,7 +93,7 @@ private:
CTRL_EMP = 0x000100, // Empty flag
CTRL_PERR = 0x000200, // Parity error
CTRL_BFOV = 0x000800, // Set when overflow, cleared to 0 when starting send/receive
- CTRL_RXB = 0x001000, // Recieving
+ CTRL_RXB = 0x001000, // Receiving
CTRL_RFB = 0x002000, // Receive done
CTRL_TFB = 0x004000, // Transmit done
CTRL_HRES = 0x008000 // Reset pattern received
diff --git a/src/mame/machine/tecmosys.cpp b/src/mame/machine/tecmosys.cpp
index e119070d7d6..d0f5f312fca 100644
--- a/src/mame/machine/tecmosys.cpp
+++ b/src/mame/machine/tecmosys.cpp
@@ -8,7 +8,7 @@
After that, it uploads 4 ranges of code to checksum, followed by the 4 checksums.
The 68K does the checksumming, and returns the results to the protection device.
- Apart from inital protection calls and code upload, the vblank in both games writes
+ Apart from initial protection calls and code upload, the vblank in both games writes
info to the protection but they seem to ignore the returned data.
Maybe the protection is tied to something else, or maybe it was preliminary work on
further security.
diff --git a/src/mame/machine/thomson.cpp b/src/mame/machine/thomson.cpp
index 95387a7668a..a6b6e7848dd 100644
--- a/src/mame/machine/thomson.cpp
+++ b/src/mame/machine/thomson.cpp
@@ -2114,7 +2114,7 @@ void thomson_state::to9_update_ram_bank_postload()
/* normal mode: polling interval */
#define TO9_KBD_POLL_PERIOD attotime::from_msec( 10 )
-/* peripherial mode: time between two bytes, and after last byte */
+/* peripheral mode: time between two bytes, and after last byte */
#define TO9_KBD_BYTE_SPACE attotime::from_usec( 300 )
#define TO9_KBD_END_SPACE attotime::from_usec( 9100 )
@@ -2446,7 +2446,7 @@ TIMER_CALLBACK_MEMBER(thomson_state::to9_kbd_timer_cb)
{
if ( m_to9_kbd_periph )
{
- /* peripherial mode: every 10 ms we send 4 bytes */
+ /* peripheral mode: every 10 ms we send 4 bytes */
switch ( m_to9_kbd_byte_count )
{
diff --git a/src/mame/machine/vector06.cpp b/src/mame/machine/vector06.cpp
index 7f6165d7cf6..259dfed9127 100644
--- a/src/mame/machine/vector06.cpp
+++ b/src/mame/machine/vector06.cpp
@@ -119,7 +119,7 @@ INTERRUPT_GEN_MEMBER(vector06_state::vector06_interrupt)
IRQ_CALLBACK_MEMBER(vector06_state::vector06_irq_callback)
{
- // Interupt is RST 7
+ // Interrupt is RST 7
return 0xff;
}
diff --git a/src/mame/machine/wpc.h b/src/mame/machine/wpc.h
index 3ed3151659e..f35aa1bf593 100644
--- a/src/mame/machine/wpc.h
+++ b/src/mame/machine/wpc.h
@@ -38,9 +38,9 @@
#define WPC_FLIPPERS (0x24) /* xxx R: switches W: Solenoids */
/* Sound board */
-#define WPC_SOUNDS11 (0x21) /* xxx RW: R: Sound data availble, W: Reset soundboard ? */
+#define WPC_SOUNDS11 (0x21) /* xxx RW: R: Sound data available, W: Reset soundboard ? */
#define WPC_SOUNDIF (0x2c) /* xxx RW: Sound board interface */
-#define WPC_SOUNDBACK (0x2d) /* xxx RW: R: Sound data availble, W: Reset soundboard ? */
+#define WPC_SOUNDBACK (0x2d) /* xxx RW: R: Sound data available, W: Reset soundboard ? */
#define WPC_SOLENOID1 (0x30) /* xxxxxx W: Solenoid 25-28 */
#define WPC_SOLENOID2 (0x31) /* xxxxxx W: Solenoid 1- 8 */