summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/bus/a2bus/a2bus.h2
-rw-r--r--src/devices/bus/isa/mda.cpp2
-rw-r--r--src/devices/bus/isa/omti8621.cpp2
-rw-r--r--src/devices/bus/nes/disksys.cpp2
-rw-r--r--src/devices/bus/scsi/scsihle.cpp2
-rw-r--r--src/devices/bus/ti99_peb/ti_32kmem.cpp2
-rw-r--r--src/devices/bus/ti99x/990_hd.h2
-rw-r--r--src/devices/bus/vcs/harmony_melody.cpp2
-rw-r--r--src/devices/cpu/alph8201/alph8201.h4
-rw-r--r--src/devices/cpu/alto2/a2disp.h2
-rw-r--r--src/devices/cpu/alto2/a2kbd.h4
-rw-r--r--src/devices/cpu/alto2/a2mem.cpp2
-rw-r--r--src/devices/cpu/alto2/a2mem.h4
-rw-r--r--src/devices/cpu/amis2000/amis2000.h2
-rw-r--r--src/devices/cpu/apexc/apexc.cpp8
-rw-r--r--src/devices/cpu/apexc/apexc.h2
-rw-r--r--src/devices/cpu/f8/f8.cpp2
-rw-r--r--src/devices/cpu/f8/f8.h2
-rw-r--r--src/devices/cpu/g65816/g65816cm.h2
-rw-r--r--src/devices/cpu/i4004/i4004.h2
-rw-r--r--src/devices/cpu/i8008/i8008.h2
-rw-r--r--src/devices/cpu/lh5801/lh5801.h2
-rw-r--r--src/devices/cpu/m37710/m37710cm.h2
-rw-r--r--src/devices/cpu/mcs51/mcs51.cpp2
-rw-r--r--src/devices/cpu/mcs51/mcs51.h8
-rw-r--r--src/devices/cpu/nec/v53.cpp2
-rw-r--r--src/devices/cpu/pdp1/pdp1.cpp10
-rw-r--r--src/devices/cpu/pps4/pps4.h2
-rw-r--r--src/devices/cpu/sh4/sh3comn.h2
-rw-r--r--src/devices/cpu/spc700/spc700.cpp2
-rw-r--r--src/devices/cpu/tlcs900/900tbl.hxx2
-rw-r--r--src/devices/cpu/tlcs900/dasm900.cpp2
-rw-r--r--src/devices/cpu/tms7000/tms7000.cpp2
-rw-r--r--src/devices/cpu/tms9900/ti990_10.cpp2
-rw-r--r--src/devices/cpu/tms9900/tms9900.h2
-rw-r--r--src/devices/cpu/tms9900/tms9995.h2
-rw-r--r--src/devices/cpu/uml.h6
-rw-r--r--src/devices/cpu/z180/z180ops.h4
-rw-r--r--src/devices/cpu/z80/kl5c80a12.cpp2
-rw-r--r--src/devices/cpu/z80/kl5c80a12.h2
-rw-r--r--src/devices/machine/6821pia.h2
-rw-r--r--src/devices/machine/68230pit.cpp2
-rw-r--r--src/devices/machine/68230pit.h2
-rw-r--r--src/devices/machine/corvushd.h2
-rw-r--r--src/devices/machine/cs4031.cpp2
-rw-r--r--src/devices/machine/hdc92x4.cpp2
-rw-r--r--src/devices/machine/hdc92x4.h2
-rw-r--r--src/devices/machine/mc6854.h2
-rw-r--r--src/devices/machine/roc10937.h2
-rw-r--r--src/devices/machine/scnxx562.cpp2
-rw-r--r--src/devices/machine/stvcd.cpp2
-rw-r--r--src/devices/machine/wd7600.cpp2
-rw-r--r--src/devices/machine/wd_fdc.h4
-rw-r--r--src/devices/machine/z80scc.cpp4
-rw-r--r--src/devices/machine/z80scc.h2
-rw-r--r--src/devices/sound/315-5641.h2
-rw-r--r--src/devices/sound/beep.h2
-rw-r--r--src/devices/sound/disc_wav.h2
-rw-r--r--src/devices/sound/discrete.h42
-rw-r--r--src/devices/sound/es1373.h4
-rw-r--r--src/devices/sound/fm.cpp4
-rw-r--r--src/devices/sound/fm.h4
-rw-r--r--src/devices/sound/fm2612.cpp2
-rw-r--r--src/devices/sound/fmopl.cpp2
-rw-r--r--src/devices/sound/k054539.h2
-rw-r--r--src/devices/sound/mea8000.h2
-rw-r--r--src/devices/sound/msm5205.h2
-rw-r--r--src/devices/sound/msm5232.cpp2
-rw-r--r--src/devices/sound/nes_apu.cpp2
-rw-r--r--src/devices/sound/nes_apu.h2
-rw-r--r--src/devices/sound/nes_defs.h2
-rw-r--r--src/devices/sound/pokey.cpp4
-rw-r--r--src/devices/sound/pokey.h2
-rw-r--r--src/devices/sound/s14001a.h2
-rw-r--r--src/devices/sound/saa1099.h2
-rw-r--r--src/devices/sound/tms36xx.h2
-rw-r--r--src/devices/sound/tms5110.h2
-rw-r--r--src/devices/sound/vlm5030.h2
-rw-r--r--src/devices/sound/ym2151.h2
-rw-r--r--src/devices/sound/ym2413.h2
-rw-r--r--src/devices/sound/ymdeltat.h6
-rw-r--r--src/devices/sound/ymf262.cpp2
-rw-r--r--src/devices/video/crtc_ega.h2
-rw-r--r--src/devices/video/ef9345.h6
-rw-r--r--src/devices/video/gb_lcd.h2
-rw-r--r--src/devices/video/mc6847.h4
-rw-r--r--src/devices/video/sprite.h2
-rw-r--r--src/devices/video/tms34061.cpp2
-rw-r--r--src/devices/video/vic4567.h2
-rw-r--r--src/devices/video/zeus2.h4
-rw-r--r--src/emu/devfind.h10
-rw-r--r--src/emu/device.cpp6
-rw-r--r--src/emu/diserial.h2
-rw-r--r--src/emu/drawgfx.h2
-rw-r--r--src/emu/gamedrv.h4
-rw-r--r--src/emu/save.h2
-rw-r--r--src/emu/softlist.h2
-rw-r--r--src/emu/sound.cpp2
-rw-r--r--src/emu/tilemap.h2
-rw-r--r--src/emu/video/resnet.h2
-rw-r--r--src/frontend/mame/ui/dirmenu.h2
-rw-r--r--src/frontend/mame/ui/inputmap.h2
-rw-r--r--src/frontend/mame/ui/moptions.cpp2
-rw-r--r--src/frontend/mame/ui/selmenu.h2
-rw-r--r--src/frontend/mame/ui/text.h2
-rw-r--r--src/lib/formats/flopimg.h2
-rw-r--r--src/lib/formats/upd765_dsk.cpp2
-rw-r--r--src/lib/netlist/devices/nld_9310.h2
-rw-r--r--src/lib/netlist/devices/nld_9316.h2
-rw-r--r--src/lib/netlist/devices/nld_truthtable.h2
-rw-r--r--src/lib/netlist/nl_base.h4
-rw-r--r--src/lib/netlist/nl_dice_compat.h2
-rw-r--r--src/lib/util/aviio.cpp2
-rw-r--r--src/lib/util/coretmpl.h2
-rw-r--r--src/lib/util/delegate.h2
-rw-r--r--src/lib/util/strformat.h10
-rw-r--r--src/mame/audio/phoenix.cpp2
-rw-r--r--src/mame/audio/pleiads.cpp4
-rw-r--r--src/mame/audio/redbaron.cpp2
-rw-r--r--src/mame/audio/seibu.h2
-rw-r--r--src/mame/drivers/altair.cpp2
-rw-r--r--src/mame/drivers/alto2.cpp2
-rw-r--r--src/mame/drivers/ampoker2.cpp4
-rw-r--r--src/mame/drivers/apexc.cpp2
-rw-r--r--src/mame/drivers/asteroid.cpp2
-rw-r--r--src/mame/drivers/atarisy2.cpp2
-rw-r--r--src/mame/drivers/champbwl.cpp2
-rw-r--r--src/mame/drivers/coinmvga.cpp14
-rw-r--r--src/mame/drivers/cvs.cpp2
-rw-r--r--src/mame/drivers/dec0.cpp2
-rw-r--r--src/mame/drivers/dgn_beta.cpp2
-rw-r--r--src/mame/drivers/freekick.cpp2
-rw-r--r--src/mame/drivers/hec2hrp.cpp2
-rw-r--r--src/mame/drivers/hp9k.cpp2
-rw-r--r--src/mame/drivers/jubilee.cpp6
-rw-r--r--src/mame/drivers/kas89.cpp2
-rw-r--r--src/mame/drivers/lordgun.cpp2
-rw-r--r--src/mame/drivers/magicfly.cpp6
-rw-r--r--src/mame/drivers/metalmx.cpp2
-rw-r--r--src/mame/drivers/metro.cpp2
-rw-r--r--src/mame/drivers/multigam.cpp2
-rw-r--r--src/mame/drivers/neogeocd.cpp2
-rw-r--r--src/mame/drivers/norautp.cpp8
-rw-r--r--src/mame/drivers/notetaker.cpp2
-rw-r--r--src/mame/drivers/omegrace.cpp2
-rw-r--r--src/mame/drivers/pachifev.cpp4
-rw-r--r--src/mame/drivers/pcw.cpp4
-rw-r--r--src/mame/drivers/phoenix.cpp2
-rw-r--r--src/mame/drivers/silvmil.cpp2
-rw-r--r--src/mame/drivers/snookr10.cpp4
-rw-r--r--src/mame/drivers/spc1500.cpp2
-rw-r--r--src/mame/drivers/ti99_2.cpp2
-rw-r--r--src/mame/drivers/ti99_4p.cpp2
-rw-r--r--src/mame/drivers/x68k.cpp6
-rw-r--r--src/mame/drivers/yunsun16.cpp2
-rw-r--r--src/mame/includes/chihiro.h4
-rw-r--r--src/mame/includes/hec2hrp.h2
-rw-r--r--src/mame/includes/hp48.h2
-rw-r--r--src/mame/includes/iremipt.h2
-rw-r--r--src/mame/includes/lisa.h2
-rw-r--r--src/mame/includes/segahang.h2
-rw-r--r--src/mame/includes/segaipt.h12
-rw-r--r--src/mame/includes/starshp1.h4
-rw-r--r--src/mame/includes/swtpc09.h2
-rw-r--r--src/mame/includes/thomson.h8
-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
-rw-r--r--src/mame/video/911_chr.h4
-rw-r--r--src/mame/video/911_vdt.h2
-rw-r--r--src/mame/video/angelkds.cpp2
-rw-r--r--src/mame/video/gic.h2
-rw-r--r--src/mame/video/gime.h2
-rw-r--r--src/mame/video/gstriker.cpp4
-rw-r--r--src/mame/video/jagblit.h2
-rw-r--r--src/mame/video/konamigx.cpp2
-rw-r--r--src/mame/video/ppu2c0x.h2
-rw-r--r--src/mame/video/stic.h2
-rw-r--r--src/mame/video/tbowl.cpp4
-rw-r--r--src/osd/eminline.h2
-rw-r--r--src/osd/modules/file/windir.cpp2
-rw-r--r--src/osd/modules/file/winrtdir.cpp2
-rw-r--r--src/osd/modules/opengl/gl_shader_tool.cpp4
-rw-r--r--src/osd/modules/opengl/gl_shader_tool.h8
-rw-r--r--src/osd/modules/osdmodule.h2
-rw-r--r--src/osd/modules/render/drawd3d.cpp2
-rw-r--r--src/osd/osdsync.h2
-rw-r--r--src/tools/imgtool/formats/coco_dsk.cpp2
-rw-r--r--src/tools/imgtool/imgtool.h4
-rw-r--r--src/tools/imgtool/library.cpp2
-rw-r--r--src/tools/imgtool/library.h2
208 files changed, 314 insertions, 314 deletions
diff --git a/src/devices/bus/a2bus/a2bus.h b/src/devices/bus/a2bus/a2bus.h
index 72706946730..19c70b091f8 100644
--- a/src/devices/bus/a2bus/a2bus.h
+++ b/src/devices/bus/a2bus/a2bus.h
@@ -84,7 +84,7 @@ class device_a2bus_card_interface;
// ======================> a2bus_device
class a2bus_device : public device_t
{
- // multi-card devices need to access m_device_list, so they get friend'ed here.
+ // multi-card devices need to access m_device_list, so they get friended here.
friend class a2bus_mcms2_device;
public:
// construction/destruction
diff --git a/src/devices/bus/isa/mda.cpp b/src/devices/bus/isa/mda.cpp
index 764cb361aeb..6887372003b 100644
--- a/src/devices/bus/isa/mda.cpp
+++ b/src/devices/bus/isa/mda.cpp
@@ -519,7 +519,7 @@ READ8_MEMBER( isa8_mda_device::io_read)
/*
When the Hercules changes to graphics mode, the number of pixels per access and
-clock divider should be changed. The currect mc6845 implementation does not
+clock divider should be changed. The correct mc6845 implementation does not
allow this.
The divder/pixels per 6845 clock is 9 for text mode and 16 for graphics mode.
diff --git a/src/devices/bus/isa/omti8621.cpp b/src/devices/bus/isa/omti8621.cpp
index 0acb9a97154..468b8d1fa85 100644
--- a/src/devices/bus/isa/omti8621.cpp
+++ b/src/devices/bus/isa/omti8621.cpp
@@ -109,7 +109,7 @@ public:
#define OMTI_STATUS_REQ 0x01 // Request (1 = request transfer of data via data in/out register)
#define OMTI_STATUS_IO 0x02 // In/Out (1 = direction of transfer is from controller to host)
-#define OMTI_STATUS_CD 0x04 // Command/Data ( 1 = byte transfered is command or status byte)
+#define OMTI_STATUS_CD 0x04 // Command/Data ( 1 = byte transferred is command or status byte)
#define OMTI_STATUS_BUSY 0x08 // Busy (0 = controller is idle, 1 = controller selected)
#define OMTI_STATUS_DREQ 0x10 // Data Request (0 = no DMA request, 1 = DMA cycle requested)
#define OMTI_STATUS_IREQ 0x20 // Interrupt Request (0 = no interrupt, 1 = command complete)
diff --git a/src/devices/bus/nes/disksys.cpp b/src/devices/bus/nes/disksys.cpp
index 7e2d4a36e76..9411c6bf8b0 100644
--- a/src/devices/bus/nes/disksys.cpp
+++ b/src/devices/bus/nes/disksys.cpp
@@ -301,7 +301,7 @@ READ8_MEMBER(nes_disksys_device::read_ex)
case 0x10:
// $4030 - disk status 0
// bit0 - Timer Interrupt (1: an IRQ occurred)
- // bit1 - Byte transfer flag (Set to 1 every time 8 bits have been transfered between
+ // bit1 - Byte transfer flag (Set to 1 every time 8 bits have been transferred between
// the RAM adaptor & disk drive through $4024/$4031; Reset to 0 when $4024,
// $4031, or $4030 has been serviced)
// bit4 - CRC control (0: CRC passed; 1: CRC error)
diff --git a/src/devices/bus/scsi/scsihle.cpp b/src/devices/bus/scsi/scsihle.cpp
index 96c89506444..5ebc39a4d30 100644
--- a/src/devices/bus/scsi/scsihle.cpp
+++ b/src/devices/bus/scsi/scsihle.cpp
@@ -219,7 +219,7 @@ void scsihle_device::device_timer(emu_timer &timer, device_timer_id tid, int par
case 2:
// Some drives, notably the ST225N and ST125N, accept fromat unit commands
- // with flags set indicating that bad block data should be transfered but
+ // with flags set indicating that bad block data should be transferred but
// don't then implemnt a data in phase, this timeout it to catch these !
if (IS_COMMAND(SCSI_CMD_FORMAT_UNIT) && (data_idx==0))
{
diff --git a/src/devices/bus/ti99_peb/ti_32kmem.cpp b/src/devices/bus/ti99_peb/ti_32kmem.cpp
index 16f2d0ccef2..082c85c0e61 100644
--- a/src/devices/bus/ti99_peb/ti_32kmem.cpp
+++ b/src/devices/bus/ti99_peb/ti_32kmem.cpp
@@ -7,7 +7,7 @@
unbuffered 32 KiB. Yet it was a very popular card since it was
required for any kind of advanced programming beyond the console BASIC.
- As a peripheral box card, it is connected via the 8-bit mutiplexed data bus.
+ As a peripheral box card, it is connected via the 8-bit multiplexed data bus.
Later, modifications of the console became increasingly popular which
avoided the bus multiplex so that the full 16bit access was possible.
This helped to noticeably speed up the system.
diff --git a/src/devices/bus/ti99x/990_hd.h b/src/devices/bus/ti99x/990_hd.h
index aef9de11591..dacf4a855f7 100644
--- a/src/devices/bus/ti99x/990_hd.h
+++ b/src/devices/bus/ti99x/990_hd.h
@@ -9,7 +9,7 @@
#include "imagedev/harddriv.h"
/* max disk units per controller: 4 is the protocol limit, but it may be
-overriden if more than one controller is used */
+overridden if more than one controller is used */
#define MAX_DISK_UNIT 4
class ti990_hdc_device : public device_t
diff --git a/src/devices/bus/vcs/harmony_melody.cpp b/src/devices/bus/vcs/harmony_melody.cpp
index 2940bd5cf4f..0822db3d175 100644
--- a/src/devices/bus/vcs/harmony_melody.cpp
+++ b/src/devices/bus/vcs/harmony_melody.cpp
@@ -5,7 +5,7 @@
Harmony / Melody cart for the A2600
The Harmony cart is a 'modern' A2600 cartridge, used for homebrew etc. It has
-an SD slot and can be connected to a PC, roms can be transfered to it with
+an SD slot and can be connected to a PC, roms can be transferred to it with
software on the PC side. It uses an ARM7TDMI-S LPC2103 @ 70 Mhz to emulate
the mapper behavior of other cartridges. It has an SD card slot for storing
game data.
diff --git a/src/devices/cpu/alph8201/alph8201.h b/src/devices/cpu/alph8201/alph8201.h
index 2f10923e39a..2366ba3c474 100644
--- a/src/devices/cpu/alph8201/alph8201.h
+++ b/src/devices/cpu/alph8201/alph8201.h
@@ -383,8 +383,8 @@ protected:
uint8_t m_lp0; /* 8bit loop reg. */
uint8_t m_lp1; /* 8bit loop reg. */
uint8_t m_lp2; /* 8bit loop reg. */
- uint8_t m_A; /* 8bit accumerator */
- uint8_t m_B; /* 8bit regiser */
+ uint8_t m_A; /* 8bit accumulator */
+ uint8_t m_B; /* 8bit register */
//
uint8_t m_halt; /* halt input line */
diff --git a/src/devices/cpu/alto2/a2disp.h b/src/devices/cpu/alto2/a2disp.h
index 2d5e641b035..c4d47047519 100644
--- a/src/devices/cpu/alto2/a2disp.h
+++ b/src/devices/cpu/alto2/a2disp.h
@@ -270,7 +270,7 @@ enum {
* H[1]' - 4
*
* The display_state_machine() is called by the CPU at a rate of pixelclock/24,
- * which happens to be very close to every 7th CPU micrcocycle.
+ * which happens to be very close to every 7th CPU microcycle.
* </PRE>
*/
uint8_t* m_disp_a63;
diff --git a/src/devices/cpu/alto2/a2kbd.h b/src/devices/cpu/alto2/a2kbd.h
index 8921132fc11..8f5c9dd2538 100644
--- a/src/devices/cpu/alto2/a2kbd.h
+++ b/src/devices/cpu/alto2/a2kbd.h
@@ -81,7 +81,7 @@
#define A2_KEY_FR2 MAKE_KEY(0,002) //!< ADL right function key 2
#define A2_KEY_FL2 MAKE_KEY(0,001) //!< ADL left function key 1
-#define A2_KEY_FR4 MAKE_KEY(1,001) //!< ADL right funtion key 4
+#define A2_KEY_FR4 MAKE_KEY(1,001) //!< ADL right function key 4
#define A2_KEY_BW MAKE_KEY(1,000) //!< ADL BW (?)
#define A2_KEY_FR3 MAKE_KEY(2,002) //!< ADL right function key 3
@@ -102,7 +102,7 @@ struct {
DECLARE_READ16_MEMBER( kbd_ad_r ); //!< read the keyboard matrix
-void init_kbd(uint16_t bootkey = 0177777); //!< initialize the keyboard hardware, optinally set the boot key
+void init_kbd(uint16_t bootkey = 0177777); //!< initialize the keyboard hardware, optionally set the boot key
void exit_kbd(); //!< deinitialize the keyboard hardware
void reset_kbd(); //!< reset the keyboard hardware
#endif // _A2KBD_H_
diff --git a/src/devices/cpu/alto2/a2mem.cpp b/src/devices/cpu/alto2/a2mem.cpp
index 1f5f5609374..932acc1f729 100644
--- a/src/devices/cpu/alto2/a2mem.cpp
+++ b/src/devices/cpu/alto2/a2mem.cpp
@@ -318,7 +318,7 @@ static const int hamming_lut[64] = {
};
/**
- * @brief Caluclate a Hamming code after reading or before writing a memory double-word.
+ * @brief Calculate a Hamming code after reading or before writing a memory double-word.
*
* Hamming code generation is according to the schematics described above.
*
diff --git a/src/devices/cpu/alto2/a2mem.h b/src/devices/cpu/alto2/a2mem.h
index d9ff97060c9..8c79c439a6c 100644
--- a/src/devices/cpu/alto2/a2mem.h
+++ b/src/devices/cpu/alto2/a2mem.h
@@ -75,7 +75,7 @@ inline bool check_mem_load_mar_stall(uint8_t rsel) {
* 2. REQUIRED
* 3. SUSPEND
* 4. SUSPEND
- * 5. whereever <-MD
+ * 5. wherever <-MD
*
* @return false, if memory can be read without wait cycle
*/
@@ -109,7 +109,7 @@ DECLARE_WRITE16_MEMBER( mesr_w ); //!< memory error status register write
DECLARE_READ16_MEMBER ( mecr_r ); //!< memory error control register read
DECLARE_WRITE16_MEMBER( mecr_w ); //!< memory error control register write
-//! Read or write a memory double-word and caluclate or compare its Hamming code.
+//! Read or write a memory double-word and calculate or compare its Hamming code.
uint32_t hamming_code(bool write, uint32_t dw_addr, uint32_t dw_data);
//! Load the memory address register with some value.
diff --git a/src/devices/cpu/amis2000/amis2000.h b/src/devices/cpu/amis2000/amis2000.h
index f5611b4d54d..68fd87ee0ae 100644
--- a/src/devices/cpu/amis2000/amis2000.h
+++ b/src/devices/cpu/amis2000/amis2000.h
@@ -26,7 +26,7 @@
#define MCFG_AMI_S2000_WRITE_D_CB(_devcb) \
amis2000_base_device::set_write_d_callback(*device, DEVCB_##_devcb);
-// 13-bit external addressbus coupled as output pins
+// 13-bit external address bus coupled as output pins
#define MCFG_AMI_S2000_WRITE_A_CB(_devcb) \
amis2000_base_device::set_write_a_callback(*device, DEVCB_##_devcb);
diff --git a/src/devices/cpu/apexc/apexc.cpp b/src/devices/cpu/apexc/apexc.cpp
index cf132550263..c15f1210002 100644
--- a/src/devices/cpu/apexc/apexc.cpp
+++ b/src/devices/cpu/apexc/apexc.cpp
@@ -225,9 +225,9 @@ field: X address D Function Y address D (part 2)
n last bits of a word, leaving other bits in memory unaffected.
The LSBits are transferred first, since this enables to perform bit-per-bit add and
- substract. Otherwise, the CPU would need an additionnal register to store the second
+ substract. Otherwise, the CPU would need an additional register to store the second
operand, and it would be probably slower, since the operation could only
- take place after all the data has been transfered.
+ take place after all the data has been transferred.
Memory operations are synchronous with 2 clocks found on the memory controller:
* word clock: a pulse on each word boundary (3750rpm*32 -> 2kHz)
@@ -294,7 +294,7 @@ field: X address D Function Y address D (part 2)
although it appears that this delay is not applied when X is not read (cf cross-track
B in Booth p. 49).
However, and here comes the wacky part, analysis of Booth p. 55 shows that
- no additionnal delay is caused by an X instruction having its X operand
+ no additional delay is caused by an X instruction having its X operand
on another track. Maybe, just maybe, this is related to the fact that X does not
need to take the word count into account, any word in track is as good as any (yet,
this leaves the question of why this optimization could not be applied to vector
@@ -450,7 +450,7 @@ uint32_t apexc_cpu_device::load_ml(uint32_t address, uint32_t vector)
{
int delay;
- /* additionnal delay appears if we switch tracks */
+ /* additional delay appears if we switch tracks */
if (((m_ml & 0x3E0) != (address & 0x3E0)) /*|| vector*/)
delay = 6; /* if tracks are different, delay to allow for track switching */
else
diff --git a/src/devices/cpu/apexc/apexc.h b/src/devices/cpu/apexc/apexc.h
index 28aba6a5b52..dfb9bb5d58d 100644
--- a/src/devices/cpu/apexc/apexc.h
+++ b/src/devices/cpu/apexc/apexc.h
@@ -9,7 +9,7 @@
enum
{
APEXC_CR =1, /* control register */
- APEXC_A, /* acumulator */
+ APEXC_A, /* accumulator */
APEXC_R, /* register */
APEXC_ML, /* memory location */
APEXC_WS, /* working store */
diff --git a/src/devices/cpu/f8/f8.cpp b/src/devices/cpu/f8/f8.cpp
index 4a0b76347cc..2c49b8969b8 100644
--- a/src/devices/cpu/f8/f8.cpp
+++ b/src/devices/cpu/f8/f8.cpp
@@ -1607,7 +1607,7 @@ void f8_cpu_device::device_reset()
ROMC_00(cS);
/* initialize the timer shift register
- * this is an 8 bit polynome counter which can be loaded parallel
+ * this is an 8 bit polynomial counter which can be loaded parallel
* with 0xff the outputs never change and thus the timer is disabled.
* with 0xfe the shifter starts cycling through 255 states until it
* reaches 0xfe again (and then issues an interrupt).
diff --git a/src/devices/cpu/f8/f8.h b/src/devices/cpu/f8/f8.h
index 114372a23d1..02c1d4733e3 100644
--- a/src/devices/cpu/f8/f8.h
+++ b/src/devices/cpu/f8/f8.h
@@ -79,7 +79,7 @@ private:
uint8_t m_r[64]; /* scratchpad RAM */
int m_irq_request;
- /* timer shifter polynome values (will be used for timer interrupts) */
+ /* timer shifter polynomial values (will be used for timer interrupts) */
uint8_t timer_shifter[256];
uint16_t m_pc; // For the debugger
diff --git a/src/devices/cpu/g65816/g65816cm.h b/src/devices/cpu/g65816/g65816cm.h
index e0afd6d1305..0a30276a7ba 100644
--- a/src/devices/cpu/g65816/g65816cm.h
+++ b/src/devices/cpu/g65816/g65816cm.h
@@ -231,7 +231,7 @@ static inline int MAKE_INT_8(int A) {return (A & 0x80) ? A | ~0xff : A & 0xff;}
#define CFLAG_SET 0x100
#define CFLAG_CLEAR 0
-/* Codition code tests */
+/* Condition code tests */
#define COND_CC() (!(FLAG_C&0x100)) /* Carry Clear */
#define COND_CS() (FLAG_C&0x100) /* Carry Set */
#define COND_EQ() (!FLAG_Z) /* Equal */
diff --git a/src/devices/cpu/i4004/i4004.h b/src/devices/cpu/i4004/i4004.h
index 7bc3d17427b..3e90ba466b8 100644
--- a/src/devices/cpu/i4004/i4004.h
+++ b/src/devices/cpu/i4004/i4004.h
@@ -96,7 +96,7 @@ protected:
address_space *m_data;
address_space *m_io;
int m_icount;
- int m_pc_pos; // PC possition in ADDR
+ int m_pc_pos; // PC position in ADDR
int m_addr_mask;
};
diff --git a/src/devices/cpu/i8008/i8008.h b/src/devices/cpu/i8008/i8008.h
index fde75d3948a..7f45e3dbb52 100644
--- a/src/devices/cpu/i8008/i8008.h
+++ b/src/devices/cpu/i8008/i8008.h
@@ -67,7 +67,7 @@ protected:
void take_interrupt();
void init_tables(void);
- int m_pc_pos; // PC possition in ADDR
+ int m_pc_pos; // PC position in ADDR
int m_icount;
// configuration
diff --git a/src/devices/cpu/lh5801/lh5801.h b/src/devices/cpu/lh5801/lh5801.h
index fba37fed2c7..4b693c1961c 100644
--- a/src/devices/cpu/lh5801/lh5801.h
+++ b/src/devices/cpu/lh5801/lh5801.h
@@ -28,7 +28,7 @@ a A
0 0 0 H V Z IE C
-TM 9bit polynominal?
+TM 9bit polynomial?
pu pv disp flipflops
diff --git a/src/devices/cpu/m37710/m37710cm.h b/src/devices/cpu/m37710/m37710cm.h
index 5595230124c..9924a4ee3f0 100644
--- a/src/devices/cpu/m37710/m37710cm.h
+++ b/src/devices/cpu/m37710/m37710cm.h
@@ -212,7 +212,7 @@ static inline int MAKE_INT_8(int A) {return (A & 0x80) ? A | ~0xff : A & 0xff;}
#define CFLAG_SET 0x100
#define CFLAG_CLEAR 0
-/* Codition code tests */
+/* Condition code tests */
#define COND_CC() (!(FLAG_C&0x100)) /* Carry Clear */
#define COND_CS() (FLAG_C&0x100) /* Carry Set */
#define COND_EQ() (!FLAG_Z) /* Equal */
diff --git a/src/devices/cpu/mcs51/mcs51.cpp b/src/devices/cpu/mcs51/mcs51.cpp
index bea6b8351e3..9540acb00a0 100644
--- a/src/devices/cpu/mcs51/mcs51.cpp
+++ b/src/devices/cpu/mcs51/mcs51.cpp
@@ -1844,7 +1844,7 @@ void mcs51_cpu_device::execute_set_input(int irqline, int state)
*
*/
uint32_t new_state = (m_last_line_state & ~(1 << irqline)) | ((state != CLEAR_LINE) << irqline);
- /* detect 0->1 transistions */
+ /* detect 0->1 transitions */
uint32_t tr_state = (~m_last_line_state) & new_state;
switch( irqline )
diff --git a/src/devices/cpu/mcs51/mcs51.h b/src/devices/cpu/mcs51/mcs51.h
index df5aba90d11..f2ff095a940 100644
--- a/src/devices/cpu/mcs51/mcs51.h
+++ b/src/devices/cpu/mcs51/mcs51.h
@@ -138,10 +138,10 @@ protected:
int m_num_interrupts; /* number of interrupts supported */
int m_recalc_parity; /* recalculate parity before next instruction */
uint32_t m_last_line_state; /* last state of input lines line */
- int m_t0_cnt; /* number of 0->1 transistions on T0 line */
- int m_t1_cnt; /* number of 0->1 transistions on T1 line */
- int m_t2_cnt; /* number of 0->1 transistions on T2 line */
- int m_t2ex_cnt; /* number of 0->1 transistions on T2EX line */
+ int m_t0_cnt; /* number of 0->1 transitions on T0 line */
+ int m_t1_cnt; /* number of 0->1 transitions on T1 line */
+ int m_t2_cnt; /* number of 0->1 transitions on T2 line */
+ int m_t2ex_cnt; /* number of 0->1 transitions on T2EX line */
int m_cur_irq_prio; /* Holds value of the current IRQ Priority Level; -1 if no irq */
uint8_t m_irq_active; /* mask which irq levels are serviced */
uint8_t m_irq_prio[8]; /* interrupt priority */
diff --git a/src/devices/cpu/nec/v53.cpp b/src/devices/cpu/nec/v53.cpp
index 8ae50d4595e..f56974dda9e 100644
--- a/src/devices/cpu/nec/v53.cpp
+++ b/src/devices/cpu/nec/v53.cpp
@@ -252,7 +252,7 @@ void v53_base_device::install_peripheral_io()
}
}
- if (m_OPSEL & 0x02) // Interupt Control Unit available
+ if (m_OPSEL & 0x02) // Interrupt Control Unit available
{
uint16_t base = (m_OPHA << 8) | m_IULA;
base &= 0xfffe;
diff --git a/src/devices/cpu/pdp1/pdp1.cpp b/src/devices/cpu/pdp1/pdp1.cpp
index 4dee1695d4b..4f3d59f4b20 100644
--- a/src/devices/cpu/pdp1/pdp1.cpp
+++ b/src/devices/cpu/pdp1/pdp1.cpp
@@ -15,7 +15,7 @@
* mid-instruction sequence break. And it enables us to emulate the control panel fairly
* accurately.
*
- * Additionnally, IOT functions have been modified to be external: IOT callback pointers are set
+ * Additionally, IOT functions have been modified to be external: IOT callback pointers are set
* at emulation initiation, and most IOT callback functions are part of the machine emulation.
*
*
@@ -425,7 +425,7 @@ offs_t pdp1_device::disasm_disassemble(std::ostream &stream, offs_t pc, const ui
There are several interrupt lines. With the standard sequence break system, all lines
are logically or'ed to trigger a single interrupt level. Interrupts can be triggered
by either a pulse or a level on the interrupt lines. With the optional type 120 sequence
- break system, each of 16 lines triggers is wired to a different priority level: additionnally,
+ break system, each of 16 lines triggers is wired to a different priority level: additionally,
each interrupt line can be masked out, and interrupt can be triggered through software.
Also, instructions can be interrupted in the middle of execution. This is done by
@@ -837,7 +837,7 @@ void pdp1_device::execute_run()
{ /* there is a discrepancy: the pdp1 handbook tells that only dio should be used,
but the lisp tape uses the dac instruction instead */
/* Yet maintenance manual p. 6-25 states clearly that the data is located
- in IO and transfered to MB, so DAC is likely to be a mistake. */
+ in IO and transferred to MB, so DAC is likely to be a mistake. */
m_rim_step = 2;
}
else
@@ -1125,7 +1125,7 @@ void pdp1_device::execute_instruction()
{ /* maintenance manual 7-14 seems to imply that substract does not test for -0.
The sim 2.3 source says so explicitely, though they do not give a reference.
It sounds a bit weird, but the reason is probably that doing so would
- require additionnal logic that does not exist. */
+ require additional logic that does not exist. */
/* overflow is set if the 2 operands have the same sign and the final result has another */
int ov2; /* 1 if the operands have the same sign*/
@@ -1252,7 +1252,7 @@ void pdp1_device::execute_instruction()
/* As a side note, the order of -0 detection and overflow checking does not matter,
because the sum of two positive number cannot give 0777777 (since positive
numbers are 0377777 at most, their sum is 0777776 at most).
- Additionnally, we cannot have carry set and a result equal to 0777777 (since numbers
+ Additionally, we cannot have carry set and a result equal to 0777777 (since numbers
are 0777777 at most, their sum is 01777776 at most): this is nice, because it makes
the sequence:
AC = (AC + (AC >> 18)) & 0777777; // propagate carry around
diff --git a/src/devices/cpu/pps4/pps4.h b/src/devices/cpu/pps4/pps4.h
index c590ac85384..4d26383281a 100644
--- a/src/devices/cpu/pps4/pps4.h
+++ b/src/devices/cpu/pps4/pps4.h
@@ -133,7 +133,7 @@ private:
void iXBMX(); //!< Exchange BM and X registers
void iXAX(); //!< Exchange accumulator and X
void iXS(); //!< Eychange SA and SB registers
- void iCYS(); //!< Cycle SA register and accumulaor
+ void iCYS(); //!< Cycle SA register and accumulator
void iLB(); //!< Load B indirect
void iLBL(); //!< Load B long
void iINCB(); //!< Increment BL
diff --git a/src/devices/cpu/sh4/sh3comn.h b/src/devices/cpu/sh4/sh3comn.h
index 8aa68c27b26..241035b993e 100644
--- a/src/devices/cpu/sh4/sh3comn.h
+++ b/src/devices/cpu/sh4/sh3comn.h
@@ -8,7 +8,7 @@
// actual port handling is more complex than this
// which should be considered a temporary solution
-// just used some arbitrary port nubmers
+// just used some arbitrary port numbers
#define SH3_PORT_A (0x10*8)
#define SH3_PORT_B (0x11*8)
#define SH3_PORT_C (0x12*8)
diff --git a/src/devices/cpu/spc700/spc700.cpp b/src/devices/cpu/spc700/spc700.cpp
index 39b4efb293c..1668be70617 100644
--- a/src/devices/cpu/spc700/spc700.cpp
+++ b/src/devices/cpu/spc700/spc700.cpp
@@ -175,7 +175,7 @@ static inline int MAKE_INT_8(int A) {return (A & 0x80) ? A | ~0xff : A & 0xff;}
/* ============================ GENERAL MACROS ============================ */
/* ======================================================================== */
-/* Codition code tests */
+/* Condition code tests */
#define COND_CC() (!(FLAG_C&0x100)) /* Carry Clear */
#define COND_CS() (FLAG_C&0x100) /* Carry Set */
#define COND_EQ() (!FLAG_Z) /* Equal */
diff --git a/src/devices/cpu/tlcs900/900tbl.hxx b/src/devices/cpu/tlcs900/900tbl.hxx
index 38fe13abb4f..dc331c1d85c 100644
--- a/src/devices/cpu/tlcs900/900tbl.hxx
+++ b/src/devices/cpu/tlcs900/900tbl.hxx
@@ -9,7 +9,7 @@ TLCS-900/H instruction set
enum e_operand
{
- _A=1, /* currect register set register A */
+ _A=1, /* current register set register A */
_C8, /* current register set byte */
_C16, /* current register set word */
_C32, /* current register set long word */
diff --git a/src/devices/cpu/tlcs900/dasm900.cpp b/src/devices/cpu/tlcs900/dasm900.cpp
index a4d46be2dde..64c8c6ba099 100644
--- a/src/devices/cpu/tlcs900/dasm900.cpp
+++ b/src/devices/cpu/tlcs900/dasm900.cpp
@@ -65,7 +65,7 @@ static const char *const s_mnemonic[] =
enum e_operand
{
O_NONE,
- O_A, /* currect register set register A */
+ O_A, /* current register set register A */
O_C8, /* current register set byte */
O_C16, /* current register set word */
O_C32, /* current register set long word */
diff --git a/src/devices/cpu/tms7000/tms7000.cpp b/src/devices/cpu/tms7000/tms7000.cpp
index eb6694a02c4..9e810a02407 100644
--- a/src/devices/cpu/tms7000/tms7000.cpp
+++ b/src/devices/cpu/tms7000/tms7000.cpp
@@ -902,7 +902,7 @@ WRITE8_MEMBER(tms70c46_device::control_w)
// known fast memory areas: internal ROM/RAM, system RAM
// known slow memory areas: system ROM, cartridge ROM/RAM
- // d0-d3(all bits?): clock divider when d4 is set and addressbus is in slow memory area
+ // d0-d3(all bits?): clock divider when d4 is set and address bus is in slow memory area
// needs to be measured, i just know that $30 is full speed, and $38 is about 4 times slower
m_control = data;
}
diff --git a/src/devices/cpu/tms9900/ti990_10.cpp b/src/devices/cpu/tms9900/ti990_10.cpp
index 64858239eb0..8b0a1b5bed6 100644
--- a/src/devices/cpu/tms9900/ti990_10.cpp
+++ b/src/devices/cpu/tms9900/ti990_10.cpp
@@ -17,7 +17,7 @@
tms99000 is the successor to both ti9900 and ti990/10. It supports
privileges, and has a coprocessor interface which enables the use of an
- external memory mapper. Additionnally, it can use a Macrostore ROM to
+ external memory mapper. Additionally, it can use a Macrostore ROM to
emulate additional instructions.
**** This is WORK IN PROGRESS ****
diff --git a/src/devices/cpu/tms9900/tms9900.h b/src/devices/cpu/tms9900/tms9900.h
index 2a627c98664..0a110285637 100644
--- a/src/devices/cpu/tms9900/tms9900.h
+++ b/src/devices/cpu/tms9900/tms9900.h
@@ -197,7 +197,7 @@ protected:
// full range 0000-fffe for its CRU operations.
//
// We could realize this via the CRU access as well, but the data bus access
- // is not that simple to emulate. For the sake of homogenity between the
+ // is not that simple to emulate. For the sake of homogeneity between the
// chip emulations we use a dedicated callback.
devcb_write8 m_external_operation;
diff --git a/src/devices/cpu/tms9900/tms9995.h b/src/devices/cpu/tms9900/tms9995.h
index 91bb29e09b1..57c92db775b 100644
--- a/src/devices/cpu/tms9900/tms9995.h
+++ b/src/devices/cpu/tms9900/tms9995.h
@@ -411,7 +411,7 @@ private:
// 1 1 1 LREX
//
// We could realize this via the CRU access as well, but the data bus access
- // is not that simple to emulate. For the sake of homogenity between the
+ // is not that simple to emulate. For the sake of homogeneity between the
// chip emulations we use a dedicated callback.
devcb_write8 m_external_operation;
diff --git a/src/devices/cpu/uml.h b/src/devices/cpu/uml.h
index a86f8eee82b..1b60d46cd8b 100644
--- a/src/devices/cpu/uml.h
+++ b/src/devices/cpu/uml.h
@@ -225,7 +225,7 @@ namespace uml
OP_MAX
};
- // C function callback deinition
+ // C function callback definition
typedef void (*c_function)(void *ptr);
// class describing a global code handle
@@ -274,7 +274,7 @@ namespace uml
uint32_t m_label;
};
- // a parameter for a UML instructon is encoded like this
+ // a parameter for a UML instruction is encoded like this
class parameter
{
public:
@@ -392,7 +392,7 @@ namespace uml
parameter_info param[4]; // information about parameters
};
- // a single UML instructon is encoded like this
+ // a single UML instruction is encoded like this
class instruction
{
public:
diff --git a/src/devices/cpu/z180/z180ops.h b/src/devices/cpu/z180/z180ops.h
index 3e2139fa51c..952685c0f8a 100644
--- a/src/devices/cpu/z180/z180ops.h
+++ b/src/devices/cpu/z180/z180ops.h
@@ -35,7 +35,7 @@
else m_iospace->write_byte(port,value)
/***************************************************************
- * MMU calculate the memory managemant lookup table
+ * MMU calculate the memory management lookup table
* bb and cb specify a 4K page
* If the 4 most significant bits of an 16 bit address are
* greater or equal to the bank base, the bank base register
@@ -126,7 +126,7 @@ uint32_t z180_device::ARG16()
}
/***************************************************************
- * Calculate the effective addess m_ea of an opcode using
+ * Calculate the effective address m_ea of an opcode using
* IX+offset resp. IY+offset addressing.
***************************************************************/
#define EAX() m_ea = (uint32_t)(uint16_t)(_IX + (int8_t)ARG())
diff --git a/src/devices/cpu/z80/kl5c80a12.cpp b/src/devices/cpu/z80/kl5c80a12.cpp
index 1fa24b2365a..954a6933aa9 100644
--- a/src/devices/cpu/z80/kl5c80a12.cpp
+++ b/src/devices/cpu/z80/kl5c80a12.cpp
@@ -6,7 +6,7 @@
KL5C80A12 CPU (KL5C80A12CFP on hng64.c)
Binary compatible with Z80, significantly faster opcode timings, operating at up to 10Mhz
- Timers / Counters, Parrallel / Serial ports/ MMU, Interrupt Controller
+ Timers / Counters, Parallel / Serial ports/ MMU, Interrupt Controller
(is this different enough to need it's own core?)
(todo: everything, some code currently lives in machine/hng64_net.c but not much)
diff --git a/src/devices/cpu/z80/kl5c80a12.h b/src/devices/cpu/z80/kl5c80a12.h
index 8ca3aadc146..534dbfa9e7f 100644
--- a/src/devices/cpu/z80/kl5c80a12.h
+++ b/src/devices/cpu/z80/kl5c80a12.h
@@ -6,7 +6,7 @@
KL5C80A12 CPU (KL5C80A12CFP on hng64.c)
Binary compatible with Z80, significantly faster opcode timings, operating at up to 10Mhz
- Timers / Counters, Parrallel / Serial ports/ MMU, Interrupt Controller
+ Timers / Counters, Parallel / Serial ports/ MMU, Interrupt Controller
(is this different enough to need it's own core?)
(todo: everything, some code currently lives in machine/hng64_net.c but not much)
diff --git a/src/devices/machine/6821pia.h b/src/devices/machine/6821pia.h
index 6eafbe75645..7ba00c0a770 100644
--- a/src/devices/machine/6821pia.h
+++ b/src/devices/machine/6821pia.h
@@ -6,7 +6,7 @@
Notes:
* get_port_b_z_mask() gives the caller the bitmask that shows
- which bits are high-impendance when reading port B, and thus
+ which bits are high-impedance when reading port B, and thus
neither 0 or 1. get_output_cb2_z() returns the same info
for the CB2 pin.
* set_port_a_z_mask allows the input callback to indicate
diff --git a/src/devices/machine/68230pit.cpp b/src/devices/machine/68230pit.cpp
index dc8ff6c5629..5cbddd47df2 100644
--- a/src/devices/machine/68230pit.cpp
+++ b/src/devices/machine/68230pit.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Joakim Larsson Edstrom
/**********************************************************************
*
-* Motorola MC68230 PI/T Parallell Interface and Timer
+* Motorola MC68230 PI/T Parallel Interface and Timer
*
* PORT MODES INCLUDE :
* - BIT I/O
diff --git a/src/devices/machine/68230pit.h b/src/devices/machine/68230pit.h
index 556ac56fa16..0fe41d1a68f 100644
--- a/src/devices/machine/68230pit.h
+++ b/src/devices/machine/68230pit.h
@@ -2,7 +2,7 @@
// copyright-holders:Joakim Larsson Edstr??m
/**********************************************************************
*
-* Motorola MC68230 PI/T Parallell Interface and Timer
+* Motorola MC68230 PI/T Parallel Interface and Timer
*
* _____ _____
* D5 1 |* \_/ | 48 D4
diff --git a/src/devices/machine/corvushd.h b/src/devices/machine/corvushd.h
index a85ffdbb9fe..1008e8eb9dc 100644
--- a/src/devices/machine/corvushd.h
+++ b/src/devices/machine/corvushd.h
@@ -202,7 +202,7 @@ private:
// Sector addressing scheme for Rev B/H drives used in various commands (Called a DADR in the docs)
struct dadr_t {
- uint8_t address_msn_and_drive;// Most significant nibble: Most signficant nibble of sector address, Least significant nibble: Drive #
+ uint8_t address_msn_and_drive;// Most significant nibble: Most significant nibble of sector address, Least significant nibble: Drive #
uint8_t address_lsb; // Least significant byte of sector address
uint8_t address_mid; // Middle byte of sector address
};
diff --git a/src/devices/machine/cs4031.cpp b/src/devices/machine/cs4031.cpp
index d2c9286fffa..e6aaddeac85 100644
--- a/src/devices/machine/cs4031.cpp
+++ b/src/devices/machine/cs4031.cpp
@@ -272,7 +272,7 @@ void cs4031_device::device_start()
if (ram_size > 0x100000)
m_space->install_ram(0x100000, ram_size - 1, m_ram + 0x100000);
- // install bios rom at cpu inital pc
+ // install bios rom at cpu initial pc
m_space->install_rom(0xffff0000, 0xffffffff, m_bios + 0xf0000);
// install i/o accesses
diff --git a/src/devices/machine/hdc92x4.cpp b/src/devices/machine/hdc92x4.cpp
index 0cc0aa32934..e5473bb5ae5 100644
--- a/src/devices/machine/hdc92x4.cpp
+++ b/src/devices/machine/hdc92x4.cpp
@@ -4664,7 +4664,7 @@ void hdc92x4_device::dma_address_out(uint8_t addrub, uint8_t addrhb, uint8_t add
/*
Set/clear INT
- Interupts are generated in the following occasions:
+ Interrupts are generated in the following occasions:
- when the DONE bit is set to 1 in the ISR and ST_DONE is set to 1
- when the READY_CHANGE bit is set to 1 in the ISR and ST_RDYCHNG is set to 1
(ready change: 1->0 or 0->1)
diff --git a/src/devices/machine/hdc92x4.h b/src/devices/machine/hdc92x4.h
index ae3601d5846..30ab993ef49 100644
--- a/src/devices/machine/hdc92x4.h
+++ b/src/devices/machine/hdc92x4.h
@@ -81,7 +81,7 @@ class hdc92x4_device : public device_t
public:
hdc92x4_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
- // Accesors from the CPU side
+ // Accessors from the CPU side
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
DECLARE_WRITE_LINE_MEMBER( reset );
diff --git a/src/devices/machine/mc6854.h b/src/devices/machine/mc6854.h
index 7f6c3ef9fc3..9e3e9d64f85 100644
--- a/src/devices/machine/mc6854.h
+++ b/src/devices/machine/mc6854.h
@@ -151,7 +151,7 @@ extern const device_type MC6854;
It passes bytes directly from one end to the other without bothering with
the actual bit-encoding, synchronization, and CRC.
Once completed, a frame is sent through out_frame. Aborted frames are not
- transmitted at all. No start flag, stop flag, or crc bits are trasmitted.
+ transmitted at all. No start flag, stop flag, or crc bits are transmitted.
send_frame makes a frame available to the CPU through the 6854 (it may
fail and return -1 if the 6854 is not ready to accept the frame; even
if the frame is accepted and 0 is returned, the CPU may abort it). Ony
diff --git a/src/devices/machine/roc10937.h b/src/devices/machine/roc10937.h
index 5a0b19bc5a3..da1b5799438 100644
--- a/src/devices/machine/roc10937.h
+++ b/src/devices/machine/roc10937.h
@@ -2,7 +2,7 @@
// copyright-holders:James Wallace
/**********************************************************************
- Rockwell 10937/10957 interface and simlar chips
+ Rockwell 10937/10957 interface and similar chips
Emulation by J.Wallace
OKI MSC1937 is a clone of this chip, with many others.
diff --git a/src/devices/machine/scnxx562.cpp b/src/devices/machine/scnxx562.cpp
index de4ae89663c..4c7e52e5594 100644
--- a/src/devices/machine/scnxx562.cpp
+++ b/src/devices/machine/scnxx562.cpp
@@ -526,7 +526,7 @@ void duscc_device::trigger_interrupt(int index, int state)
m_int_state[priority_level] |= Z80_DAISY_INT;
LOGINT((" - Interrupt Priority Level %d, caused by Source %02x with vector %02x\n",priority_level, source, m_ivrm ));
- // check for interupts
+ // check for interrupts
check_interrupts();
}
diff --git a/src/devices/machine/stvcd.cpp b/src/devices/machine/stvcd.cpp
index 7b6ac1f4bd5..0d19577524b 100644
--- a/src/devices/machine/stvcd.cpp
+++ b/src/devices/machine/stvcd.cpp
@@ -267,7 +267,7 @@ void saturn_state::cd_exec_command( void )
break;
case 0x06: // end data transfer (TODO: needs to be worked on!)
- // returns # of bytes transfered (24 bits) in
+ // returns # of bytes transferred (24 bits) in
// low byte of cr1 (MSB) and cr2 (middle byte, LSB)
CDROM_LOG(("%s:CD: End data transfer (%d bytes xfer'd)\n", machine().describe_context(), xferdnum))
diff --git a/src/devices/machine/wd7600.cpp b/src/devices/machine/wd7600.cpp
index 8d60250dff1..2b2ee4d847c 100644
--- a/src/devices/machine/wd7600.cpp
+++ b/src/devices/machine/wd7600.cpp
@@ -168,7 +168,7 @@ void wd7600_device::device_start()
//m_space->install_rom(0x000c0000, 0x000cffff, m_bios);
m_space->install_rom(0x000c0000, 0x000cffff, m_isa);
- // install BIOS ROM at cpu inital pc
+ // install BIOS ROM at cpu initial pc
m_space->install_rom(0x000f0000, 0x000fffff, m_bios + 0x10000);
if(m_space->addrmask() == 0xffffffff) // 32-bit address space only
m_space->install_rom(0xffff0000, 0xffffffff, m_bios + 0x10000);
diff --git a/src/devices/machine/wd_fdc.h b/src/devices/machine/wd_fdc.h
index 3987fb89ea7..9d792f33a4f 100644
--- a/src/devices/machine/wd_fdc.h
+++ b/src/devices/machine/wd_fdc.h
@@ -239,11 +239,11 @@ private:
//
// In the first case, it must first switch to a waiting
// sub-state, then return. The waiting sub-state must just
- // return immediatly when *_continue is called. Eventually the
+ // return immediately when *_continue is called. Eventually the
// event handler function will advance the state machine to
// another sub-state, and things will continue synchronously.
//
- // On command end it's also supposed to return immediatly.
+ // On command end it's also supposed to return immediately.
//
// The last option is to switch to the next sub-state, start a
// live state with live_start() then return. The next sub-state
diff --git a/src/devices/machine/z80scc.cpp b/src/devices/machine/z80scc.cpp
index 51e92d27a55..21debec0ec9 100644
--- a/src/devices/machine/z80scc.cpp
+++ b/src/devices/machine/z80scc.cpp
@@ -1133,7 +1133,7 @@ void z80scc_channel::tra_complete()
{
m_uart->trigger_interrupt(m_index, INT_TRANSMIT); // Set TXIP bit
}
- else if(m_rr0 & RR0_TX_BUFFER_EMPTY) // Check TBE bit and interrupt if one or more FIFO slots availble
+ else if(m_rr0 & RR0_TX_BUFFER_EMPTY) // Check TBE bit and interrupt if one or more FIFO slots available
{
m_uart->trigger_interrupt(m_index, INT_TRANSMIT); // Set TXIP bit
}
@@ -2437,7 +2437,7 @@ void z80scc_channel::data_write(uint8_t data)
{
m_uart->trigger_interrupt(m_index, INT_TRANSMIT); // Set TXIP bit
}
- else if(m_rr0 & RR0_TX_BUFFER_EMPTY) // Check TBE bit and interrupt if one or more FIFO slots availble
+ else if(m_rr0 & RR0_TX_BUFFER_EMPTY) // Check TBE bit and interrupt if one or more FIFO slots available
{
m_uart->trigger_interrupt(m_index, INT_TRANSMIT); // Set TXIP bit
}
diff --git a/src/devices/machine/z80scc.h b/src/devices/machine/z80scc.h
index c2b0f81a68d..41a5c257de7 100644
--- a/src/devices/machine/z80scc.h
+++ b/src/devices/machine/z80scc.h
@@ -677,7 +677,7 @@ public:
DECLARE_READ8_MEMBER( ba_cd_inv_r );
DECLARE_WRITE8_MEMBER( ba_cd_inv_w );
- /* Definitions moved to z80scc.c for enhencements */
+ /* Definitions moved to z80scc.c for enhancements */
DECLARE_READ8_MEMBER( da_r ); // { return m_chanA->data_read(); }
DECLARE_WRITE8_MEMBER( da_w ); // { m_chanA->data_write(data); }
DECLARE_READ8_MEMBER( db_r ); // { return m_chanB->data_read(); }
diff --git a/src/devices/sound/315-5641.h b/src/devices/sound/315-5641.h
index e92d8fe5875..b26328629fa 100644
--- a/src/devices/sound/315-5641.h
+++ b/src/devices/sound/315-5641.h
@@ -3,7 +3,7 @@
/* Sega 315-5641 / D77591 / 9442CA010 */
// this is the PICO sound chip, we are not sure if it's the same as a 7759 or not, it requires FIFO logic
-// which the 7759 does _not_ have but it is possible that is handled somewhere else on the PICO hardawre.
+// which the 7759 does _not_ have but it is possible that is handled somewhere else on the PICO hardware.
#include "upd7759.h"
diff --git a/src/devices/sound/beep.h b/src/devices/sound/beep.h
index d8edefa834a..fe946cd0d2f 100644
--- a/src/devices/sound/beep.h
+++ b/src/devices/sound/beep.h
@@ -32,7 +32,7 @@ public:
private:
sound_stream *m_stream; /* stream number */
int m_enable; /* enable beep */
- int m_frequency; /* set frequency - this can be changed using the appropiate function */
+ int m_frequency; /* set frequency - this can be changed using the appropriate function */
int m_incr; /* initial wave state */
int16_t m_signal; /* current signal */
};
diff --git a/src/devices/sound/disc_wav.h b/src/devices/sound/disc_wav.h
index 37f00626dfa..c9d6ea36a6c 100644
--- a/src/devices/sound/disc_wav.h
+++ b/src/devices/sound/disc_wav.h
@@ -113,7 +113,7 @@ public:
double vInFall; // voltage that triggers the gate input to go low (0V) on fall
double vInRise; // voltage that triggers the gate input to go high (vGate) on rise
double clamp; // voltage is clamped to -clamp ... vb+clamp if clamp>= 0;
- int options; // bitmaped options
+ int options; // bitmapped options
};
enum {
IS_TYPE1 = 0x00,
diff --git a/src/devices/sound/discrete.h b/src/devices/sound/discrete.h
index 8c33fcd82c9..3cf24dbb712 100644
--- a/src/devices/sound/discrete.h
+++ b/src/devices/sound/discrete.h
@@ -378,7 +378,7 @@
***********************************************************************
*
* DISCRETE_CONSTANT - Single output, fixed at compile time.
- * This is usefull as a placeholder for
+ * This is useful as a placeholder for
* incomplete circuits.
*
* .----------.
@@ -446,7 +446,7 @@
* it if needed.
* If you need to access a stream from a discrete task, the stream node
* must be part of that task. If a given stream is used in two tasks or
- * a task and the main task, you must declare two stream nodes acccessing the
+ * a task and the main task, you must declare two stream nodes accessing the
* same stream input NUM.
*
* EXAMPLES: see scramble, frogger
@@ -479,7 +479,7 @@
* types above if needed, or use separately with 7492.
* DISC_OUT_IS_ENERGY - This will uses the x_time to
* anti-alias the count. Might be
- * usefull if not connected to other
+ * useful if not connected to other
* modules.
* DISC_OUT_HAS_XTIME - This will generate x_time if
* being used with DISC_CLK_IS_FREQ.
@@ -513,7 +513,7 @@
***********************************************************************
*
* DISCRETE_LFSR_NOISE - Noise waveform generator node, generates
- * psuedo random digital stream at the requested
+ * pseudo random digital stream at the requested
* clock frequency.
*
* Declaration syntax
@@ -767,7 +767,7 @@
*
***********************************************************************
*
- * DISCRETE_TRIANGLEW - Triagular waveform generator, generates
+ * DISCRETE_TRIANGLEW - Triangular waveform generator, generates
* equal ramp up/down at chosen frequency
*
* .------------.
@@ -1148,7 +1148,7 @@
* vInRise voltage that triggers the gate input to go high (vGate) on rise
* vInFall voltage that triggers the gate input to go low (0V) on fall
* clamp internal diode clamp: [-clamp ... vb+clamp] if clamp>= 0
- * options bitmaped options
+ * options bitmapped options
*
* There is a macro DEFAULT_CD40XX_VALUES(_vB) which may be used to initialize the
* structure with .... = { 5, DEFAULT_CD40XX_VALUES(5), DISC_OSC_INVERTER_IS_TYPE1}
@@ -1602,7 +1602,7 @@
* DISC_OUT_ACTIVE_HIGH 0x00 - output active high (DEFAULT)
*
* NOTE: A width of 0 seconds will output a pulse of 1 sample.
- * This is useful for a guaranteed minimun pulse, regardless
+ * This is useful for a guaranteed minimum pulse, regardless
* of the sample rate.
*
* EXAMPLES: see Polaris
@@ -1805,7 +1805,7 @@
=======================================================================
***********************************************************************
*
- * DISCRETE_COMP_ADDER - Selecatable parallel component adder.
+ * DISCRETE_COMP_ADDER - Selectable parallel component adder.
* The total netlist out will be the parallel sum of all
* components with their corresponding data bit = 1.
* Set cDefault to 0 if not used.
@@ -1906,7 +1906,7 @@
*
* v_junction table can be set to nullptr if you want all diodes to
* default to a 0.5V drop. Otherwise use a
- * table of doubles to specify juntion voltages.
+ * table of doubles to specify junction voltages.
*
* EXAMPLES: see dkong
*
@@ -2202,7 +2202,7 @@
* When the output of the function is 0, then the connection is held at 0V or gnd.
* When the output of the function is 1, then the function is an open circuit.
*
- * DISC_OP_AMP_TRIGGER_FUNCTION_NONE - Not used, cicuit open.
+ * DISC_OP_AMP_TRIGGER_FUNCTION_NONE - Not used, circuit open.
* DISC_OP_AMP_TRIGGER_FUNCTION_TRG0 - Gnd when trigger 0 is 0.
* DISC_OP_AMP_TRIGGER_FUNCTION_TRG0_INV - Gnd when trigger 0 is 1.
* DISC_OP_AMP_TRIGGER_FUNCTION_TRG1 - Gnd when trigger 1 is 0.
@@ -2773,7 +2773,7 @@
* DISCRETE_RCDISC5(NODE_11,NODE_10,10,100,CAP_U(1))
*
* When enabled by NODE_10, C discharges from 10v as indicated by RC
- * of 100R & 1uF. If not enabled, the capcitors keeps it load and may
+ * of 100R & 1uF. If not enabled, the capacitors keeps it load and may
* still be charged through input1. The switch is assumed to be a CD4066,
* thus if not enabled the output will be drawn by R to GND since
* the switch is in high impedance mode.
@@ -3028,8 +3028,8 @@
* rate, then the output may change state more then once
* during the sample. Using this flag will cause
* the output to be the number of falling edges that
- * happened during the sample. This is usefull to feed
- * to counter circuits. The Output Type flag is ingnored
+ * happened during the sample. This is useful to feed
+ * to counter circuits. The Output Type flag is ignored
* when this flag is used.
* DISC_555_OUT_COUNT_R - Same as DISC_555_OUT_COUNT_F but with rising edges.
* DISC_555_OUT_ENERGY - Same SQW, but will help reduce aliasing effects.
@@ -3184,7 +3184,7 @@
* v_pos; - B+ voltage of 555
* v_cc_source; - Voltage of the Constant Current source
* v_out_high; - High output voltage of 555 (Defaults to v_pos - 1.2V)
- * v_cc_junction; - The voltage drop of the Constant Current source transitor
+ * v_cc_junction; - The voltage drop of the Constant Current source transistor
* (0 if Op Amp)
* }
*
@@ -3303,7 +3303,7 @@
*
* Waveform Types:
* DISC_566_OUT_SQUARE - Pin 3 Square Wave Output (DEFAULT)
- * DISC_566_OUT_ENERGY - Pin 3 anti-alaised Square Wave Output
+ * DISC_566_OUT_ENERGY - Pin 3 anti-aliased Square Wave Output
* DISC_566_OUT_TRIANGLE - Pin 4 Triangle Wave Output
* DISC_566_OUT_LOGIC - Internal Flip/Flop Output
* DISC_566_COUNT_F - # of falling edges
@@ -3636,7 +3636,7 @@ enum
#define DISC_OP_AMP_FILTER_TYPE_MASK (0xf0 | DISC_OP_AMP_IS_NORTON) // Used only internally.
-/* Sallen-Key filter Opions */
+/* Sallen-Key filter Options */
#define DISC_SALLEN_KEY_LOW_PASS 0x01
#define DISC_SALLEN_KEY_HIGH_PASS 0x02
@@ -3700,7 +3700,7 @@ enum
#define DISC_566_OUT_AC 0x10
#define DISC_566_OUT_SQUARE 0x00 /* Squarewave */
-#define DISC_566_OUT_ENERGY 0x01 /* anti-alaised Squarewave */
+#define DISC_566_OUT_ENERGY 0x01 /* anti-aliased Squarewave */
#define DISC_566_OUT_TRIANGLE 0x02 /* Triangle waveform */
#define DISC_566_OUT_LOGIC 0x03 /* 0/1 logic output */
#define DISC_566_OUT_COUNT_F 0x04
@@ -3882,16 +3882,16 @@ struct discrete_schmitt_osc_desc
double trshRise; // voltage that triggers the gate input to go high (vGate) on rise
double trshFall; // voltage that triggers the gate input to go low (0V) on fall
double vGate; // the output high voltage of the gate that gets fedback through rFeedback
- int options; // bitmaped options
+ int options; // bitmapped options
};
struct discrete_comp_adder_table
{
int type;
- double cDefault; // Default componet. 0 if not used.
+ double cDefault; // Default component. 0 if not used.
int length;
- double c[DISC_LADDER_MAXRES]; // Componet table
+ double c[DISC_LADDER_MAXRES]; // Component table
};
@@ -4031,7 +4031,7 @@ struct discrete_555_cc_desc
double v_pos; /* B+ voltage of 555 */
double v_cc_source; /* Voltage of the Constant Current source */
double v_out_high; /* High output voltage of 555 (Defaults to v_pos - 1.2V) */
- double v_cc_junction; /* The voltage drop of the Constant Current source transitor (0 if Op Amp) */
+ double v_cc_junction; /* The voltage drop of the Constant Current source transistor (0 if Op Amp) */
};
diff --git a/src/devices/sound/es1373.h b/src/devices/sound/es1373.h
index f1f0ca8e8d8..615a63c3fc2 100644
--- a/src/devices/sound/es1373.h
+++ b/src/devices/sound/es1373.h
@@ -87,8 +87,8 @@ struct chan_info {
uint32_t buf_rptr; // Address to sample cache memory
uint16_t buf_count; // Number of samples that have been played
uint16_t buf_size; // Number of samples minus one to play
- uint32_t pci_addr; // PCI Addresss for system memory accesses
- uint16_t pci_count; // Number of 32 bits transfered
+ uint32_t pci_addr; // PCI Address for system memory accesses
+ uint16_t pci_count; // Number of 32 bits transferred
uint16_t pci_size; // Total number of words (32 bits) minus one in system memory
};
diff --git a/src/devices/sound/fm.cpp b/src/devices/sound/fm.cpp
index d5ecc730f27..e9910028bb6 100644
--- a/src/devices/sound/fm.cpp
+++ b/src/devices/sound/fm.cpp
@@ -643,7 +643,7 @@ struct FM_OPN
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/64/3 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow;/* envelope generator timer overlfows every 3 samples (on real chip) */
+ uint32_t eg_timer_overflow;/* envelope generator timer overflows every 3 samples (on real chip) */
/* there are 2048 FNUMs that can be generated using FNUM/BLK registers
@@ -2982,7 +2982,7 @@ void * ym2608_init(void *param, device_t *device, int clock, int rate,
F2608->deltaT.status_change_which_chip = F2608;
F2608->deltaT.status_change_EOS_bit = 0x04; /* status flag: set bit2 on End Of Sample */
F2608->deltaT.status_change_BRDY_bit = 0x08; /* status flag: set bit3 on BRDY */
- F2608->deltaT.status_change_ZERO_bit = 0x10; /* status flag: set bit4 if silence continues for more than 290 miliseconds while recording the ADPCM */
+ F2608->deltaT.status_change_ZERO_bit = 0x10; /* status flag: set bit4 if silence continues for more than 290 milliseconds while recording the ADPCM */
/* ADPCM Rhythm */
F2608->pcmbuf = device->memregion("ym2608")->base();
diff --git a/src/devices/sound/fm.h b/src/devices/sound/fm.h
index 8db59a3642f..f5be86ad8a1 100644
--- a/src/devices/sound/fm.h
+++ b/src/devices/sound/fm.h
@@ -25,7 +25,7 @@
#define FM_INTERNAL_TIMER 0
/* --- speedup optimize --- */
-/* busy flag enulation , The definition of FM_GET_TIME_NOW() is necessary. */
+/* busy flag emulation , The definition of FM_GET_TIME_NOW() is necessary. */
#define FM_BUSY_FLAG_SUPPORT 1
/* --- external SSG(YM2149/AY-3-8910)emulator interface port */
@@ -38,7 +38,7 @@ struct ssg_callbacks
void (*reset)(void *param);
};
-/* --- external callback funstions for realtime update --- */
+/* --- external callback functions for realtime update --- */
#if FM_BUSY_FLAG_SUPPORT
#define TIME_TYPE attotime
diff --git a/src/devices/sound/fm2612.cpp b/src/devices/sound/fm2612.cpp
index f9b2e133904..026cbbf7cd1 100644
--- a/src/devices/sound/fm2612.cpp
+++ b/src/devices/sound/fm2612.cpp
@@ -660,7 +660,7 @@ struct fm2612_FM_OPN
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/144/3 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow;/* envelope generator timer overlfows every 3 samples (on real chip) */
+ uint32_t eg_timer_overflow;/* envelope generator timer overflows every 3 samples (on real chip) */
/* there are 2048 FNUMs that can be generated using FNUM/BLK registers
diff --git a/src/devices/sound/fmopl.cpp b/src/devices/sound/fmopl.cpp
index d113a8ddec5..fe4d80a1bc6 100644
--- a/src/devices/sound/fmopl.cpp
+++ b/src/devices/sound/fmopl.cpp
@@ -255,7 +255,7 @@ struct FM_OPL
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/72 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow; /* envelope generator timer overlfows every 1 sample (on real chip) */
+ uint32_t eg_timer_overflow; /* envelope generator timer overflows every 1 sample (on real chip) */
uint8_t rhythm; /* Rhythm mode */
diff --git a/src/devices/sound/k054539.h b/src/devices/sound/k054539.h
index 85b5d3b0d82..11991e1155b 100644
--- a/src/devices/sound/k054539.h
+++ b/src/devices/sound/k054539.h
@@ -59,7 +59,7 @@ public:
Note that the eight PCM channels of a K054539 do not have separate
volume controls. Considering the global attenuation equation may not
be entirely accurate, k054539_set_gain() provides means to control
- channel gain. It can be called anywhere but preferrably from
+ channel gain. It can be called anywhere but preferably from
DRIVER_INIT().
Parameters:
diff --git a/src/devices/sound/mea8000.h b/src/devices/sound/mea8000.h
index ec468a309fb..82723bbf5c7 100644
--- a/src/devices/sound/mea8000.h
+++ b/src/devices/sound/mea8000.h
@@ -27,7 +27,7 @@
#define NOISE_LEN 8192
-/* finite machine state controling frames */
+/* finite machine state controlling frames */
enum mea8000_state
{
MEA8000_STOPPED, /* nothing to do, timer disabled */
diff --git a/src/devices/sound/msm5205.h b/src/devices/sound/msm5205.h
index f45b4a67a99..edf38744227 100644
--- a/src/devices/sound/msm5205.h
+++ b/src/devices/sound/msm5205.h
@@ -58,7 +58,7 @@ public:
// if VCLK and reset or data is changed at the same time,
// call vclk_w after data_w and reset_w.
void vclk_w(int vclk);
- // option , selected pin seletor
+ // option , selected pin selector
void playmode_w(int select);
void change_clock_w(int32_t clock);
diff --git a/src/devices/sound/msm5232.cpp b/src/devices/sound/msm5232.cpp
index bae848d5414..7ffd927c055 100644
--- a/src/devices/sound/msm5232.cpp
+++ b/src/devices/sound/msm5232.cpp
@@ -249,7 +249,7 @@ void msm5232_device::init_tables()
#if 0
{
- /* rate tables (in miliseconds) */
+ /* rate tables (in milliseconds) */
static const int ATBL[8] = { 2,4,8,16, 32,64, 32,64};
static const int DTBL[16]= { 40,80,160,320, 640,1280, 640,1280,
333,500,1000,2000, 4000,8000, 4000,8000};
diff --git a/src/devices/sound/nes_apu.cpp b/src/devices/sound/nes_apu.cpp
index 3c5004ea2b3..39d8d32613d 100644
--- a/src/devices/sound/nes_apu.cpp
+++ b/src/devices/sound/nes_apu.cpp
@@ -9,7 +9,7 @@
Who Wants to Know? (wwtk@mail.com)
This core is written with the advise and consent of Matthew Conte and is
- released under the GNU Public License. This core is freely avaiable for
+ released under the GNU Public License. This core is freely available for
use in any freeware project, subject to the following terms:
Any modifications to this code must be duly noted in the source and
diff --git a/src/devices/sound/nes_apu.h b/src/devices/sound/nes_apu.h
index 62e07499646..067f98deffd 100644
--- a/src/devices/sound/nes_apu.h
+++ b/src/devices/sound/nes_apu.h
@@ -9,7 +9,7 @@
Who Wants to Know? (wwtk@mail.com)
This core is written with the advise and consent of Matthew Conte and is
- released under the GNU Public License. This core is freely avaiable for
+ released under the GNU Public License. This core is freely available for
use in any freeware project, subject to the following terms:
Any modifications to this code must be duly noted in the source and
diff --git a/src/devices/sound/nes_defs.h b/src/devices/sound/nes_defs.h
index 71614b31cd6..29a9de4c016 100644
--- a/src/devices/sound/nes_defs.h
+++ b/src/devices/sound/nes_defs.h
@@ -9,7 +9,7 @@
Who Wants to Know? (wwtk@mail.com)
This core is written with the advise and consent of Matthew Conte and is
- released under the GNU Public License. This core is freely avaiable for
+ released under the GNU Public License. This core is freely available for
use in any freeware project, subject to the following terms:
Any modifications to this code must be duly noted in the source and
diff --git a/src/devices/sound/pokey.cpp b/src/devices/sound/pokey.cpp
index 8c98cff60ec..bbbe51707d8 100644
--- a/src/devices/sound/pokey.cpp
+++ b/src/devices/sound/pokey.cpp
@@ -7,7 +7,7 @@
* Based on original info found in Ron Fries' Pokey emulator,
* with additions by Brad Oliver, Eric Smith and Juergen Buchmueller,
* paddle (a/d conversion) details from the Atari 400/800 Hardware Manual.
- * Polynome algorithms according to info supplied by Perry McFarlane.
+ * Polynomial algorithms according to info supplied by Perry McFarlane.
*
* 4.6:
* [1] http://ploguechipsounds.blogspot.de/2009/10/how-i-recorded-and-decoded-pokeys.html
@@ -28,7 +28,7 @@
* new RNG give this expected result now, bits #0-7 of the 9 bit poly.
* - reading the RNG returns the shift register contents ^ 0xff.
* That way resetting the Pokey with SKCTL (which resets the
- * polynome shifters to 0) returns the expected 0xff value.
+ * polynomial shifters to 0) returns the expected 0xff value.
* 4.4:
* - reversed sample values to make OFF channels produce a zero signal.
* actually de-reversed them; don't remember that I reversed them ;-/
diff --git a/src/devices/sound/pokey.h b/src/devices/sound/pokey.h
index 45d33b62e8d..5918bec7829 100644
--- a/src/devices/sound/pokey.h
+++ b/src/devices/sound/pokey.h
@@ -7,7 +7,7 @@
* Based on original info found in Ron Fries' Pokey emulator,
* with additions by Brad Oliver, Eric Smith and Juergen Buchmueller.
* paddle (a/d conversion) details from the Atari 400/800 Hardware Manual.
- * Polynome algorithms according to info supplied by Perry McFarlane.
+ * Polynomial algorithms according to info supplied by Perry McFarlane.
*
*****************************************************************************/
diff --git a/src/devices/sound/s14001a.h b/src/devices/sound/s14001a.h
index 1b1c8e1eda9..f73840102d9 100644
--- a/src/devices/sound/s14001a.h
+++ b/src/devices/sound/s14001a.h
@@ -120,7 +120,7 @@ private:
// input pins
bool m_bStart;
- uint8_t m_uWord; // 6 bit word noumber to be spoken
+ uint8_t m_uWord; // 6 bit word number to be spoken
// emulator variables
// statistics
diff --git a/src/devices/sound/saa1099.h b/src/devices/sound/saa1099.h
index b14e7142440..58b29c58989 100644
--- a/src/devices/sound/saa1099.h
+++ b/src/devices/sound/saa1099.h
@@ -61,7 +61,7 @@ struct saa1099_noise
/* vars to simulate the noise generator output */
double counter;
double freq;
- int level; /* noise polynomal shifter */
+ int level; /* noise polynomial shifter */
};
diff --git a/src/devices/sound/tms36xx.h b/src/devices/sound/tms36xx.h
index 21a1365b150..07b15cb45a4 100644
--- a/src/devices/sound/tms36xx.h
+++ b/src/devices/sound/tms36xx.h
@@ -124,7 +124,7 @@ private:
int m_counter[12]; // tone frequency counter
int m_frequency[12]; // tone frequency
int m_output; // output signal bits
- int m_enable; // mask which harmoics
+ int m_enable; // mask which harmonics
int m_tune_num; // tune currently playing
int m_tune_ofs; // note currently playing
diff --git a/src/devices/sound/tms5110.h b/src/devices/sound/tms5110.h
index ac7ec87d1d4..569b943a575 100644
--- a/src/devices/sound/tms5110.h
+++ b/src/devices/sound/tms5110.h
@@ -16,7 +16,7 @@
#define TMS5110_CMD_RESET (0) /* 0 0 0 x | 1 */
#define TMS5110_CMD_LOAD_ADDRESS (2) /* 0 0 1 x | 2 */
#define TMS5110_CMD_OUTPUT (4) /* 0 1 0 x | 3 */
-#define TMS5110_CMD_SPKSLOW (6) /* 0 1 1 x | 1 | Note: this command is undocumented on the datasheets, it only appears on the patents. It might not actually work properly on some of the real chips as manufactured. Acts the same as CMD_SPEAK, but makes the interpolator take three A cycles whereever it would normally only take one, effectively making speech of any given word take twice as long as normal. */
+#define TMS5110_CMD_SPKSLOW (6) /* 0 1 1 x | 1 | Note: this command is undocumented on the datasheets, it only appears on the patents. It might not actually work properly on some of the real chips as manufactured. Acts the same as CMD_SPEAK, but makes the interpolator take three A cycles wherever it would normally only take one, effectively making speech of any given word take twice as long as normal. */
#define TMS5110_CMD_READ_BIT (8) /* 1 0 0 x | 1 */
#define TMS5110_CMD_SPEAK (10) /* 1 0 1 x | 1 */
#define TMS5110_CMD_READ_BRANCH (12) /* 1 1 0 x | 1 */
diff --git a/src/devices/sound/vlm5030.h b/src/devices/sound/vlm5030.h
index a1f41e03434..88bbcc19f98 100644
--- a/src/devices/sound/vlm5030.h
+++ b/src/devices/sound/vlm5030.h
@@ -60,7 +60,7 @@ private:
uint8_t m_parameter;
uint8_t m_phase;
- /* state of option paramter */
+ /* state of option parameter */
int m_frame_size;
int m_pitch_offset;
uint8_t m_interp_step;
diff --git a/src/devices/sound/ym2151.h b/src/devices/sound/ym2151.h
index 960a906d2d0..0858a01abb9 100644
--- a/src/devices/sound/ym2151.h
+++ b/src/devices/sound/ym2151.h
@@ -187,7 +187,7 @@ private:
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/64/3 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow; /* envelope generator timer overlfows every 3 samples (on real chip) */
+ uint32_t eg_timer_overflow; /* envelope generator timer overflows every 3 samples (on real chip) */
uint32_t lfo_phase; /* accumulated LFO phase (0 to 255) */
uint32_t lfo_timer; /* LFO timer */
diff --git a/src/devices/sound/ym2413.h b/src/devices/sound/ym2413.h
index 33f72db1ef8..aac803e46bc 100644
--- a/src/devices/sound/ym2413.h
+++ b/src/devices/sound/ym2413.h
@@ -130,7 +130,7 @@ private:
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/72 */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow; /* envelope generator timer overlfows every 1 sample (on real chip) */
+ uint32_t eg_timer_overflow; /* envelope generator timer overflows every 1 sample (on real chip) */
uint8_t rhythm; /* Rhythm mode */
diff --git a/src/devices/sound/ymdeltat.h b/src/devices/sound/ymdeltat.h
index 10c3df7c52e..364ef4d4fe6 100644
--- a/src/devices/sound/ymdeltat.h
+++ b/src/devices/sound/ymdeltat.h
@@ -15,7 +15,7 @@ typedef void (*STATUS_CHANGE_HANDLER)(void *chip, uint8_t status_bits);
/* DELTA-T (adpcm type B) struct */
-struct YM_DELTAT { /* AT: rearranged and tigntened structure */
+struct YM_DELTAT { /* AT: rearranged and tightened structure */
uint8_t *memory;
int32_t *output_pointer;/* pointer of output pointers */
int32_t *pan; /* pan : &output_pointer[pan] */
@@ -27,7 +27,7 @@ struct YM_DELTAT { /* AT: rearranged and tigntened structure */
uint32_t memory_size;
int output_range;
uint32_t now_addr; /* current address */
- uint32_t now_step; /* currect step */
+ uint32_t now_step; /* correct step */
uint32_t step; /* step */
uint32_t start; /* start address */
uint32_t limit; /* limit address */
@@ -62,7 +62,7 @@ struct YM_DELTAT { /* AT: rearranged and tigntened structure */
void * status_change_which_chip; /* this chip id */
uint8_t status_change_EOS_bit; /* 1 on End Of Sample (record/playback/cycle time of AD/DA converting has passed)*/
uint8_t status_change_BRDY_bit; /* 1 after recording 2 datas (2x4bits) or after reading/writing 1 data */
- uint8_t status_change_ZERO_bit; /* 1 if silence lasts for more than 290 miliseconds on ADPCM recording */
+ uint8_t status_change_ZERO_bit; /* 1 if silence lasts for more than 290 milliseconds on ADPCM recording */
/* neither Y8950 nor YM2608 can generate IRQ when PCMBSY bit changes, so instead of above,
** the statusflag gets ORed with PCM_BSY (below) (on each read of statusflag of Y8950 and YM2608)
diff --git a/src/devices/sound/ymf262.cpp b/src/devices/sound/ymf262.cpp
index c5829f69850..05af102bd85 100644
--- a/src/devices/sound/ymf262.cpp
+++ b/src/devices/sound/ymf262.cpp
@@ -228,7 +228,7 @@ struct OPL3
uint32_t eg_cnt; /* global envelope generator counter */
uint32_t eg_timer; /* global envelope generator counter works at frequency = chipclock/288 (288=8*36) */
uint32_t eg_timer_add; /* step of eg_timer */
- uint32_t eg_timer_overflow; /* envelope generator timer overlfows every 1 sample (on real chip) */
+ uint32_t eg_timer_overflow; /* envelope generator timer overflows every 1 sample (on real chip) */
uint32_t fn_tab[1024]; /* fnumber->increment counter */
diff --git a/src/devices/video/crtc_ega.h b/src/devices/video/crtc_ega.h
index b5a3dbd7480..f65e949d0f6 100644
--- a/src/devices/video/crtc_ega.h
+++ b/src/devices/video/crtc_ega.h
@@ -100,7 +100,7 @@ public:
void set_hpixels_per_column(int hpixels_per_column);
/* updates the screen -- this will call begin_update(), */
- /* followed by update_row() reapeatedly and after all row */
+ /* followed by update_row() repeatedly and after all row */
/* updating is complete, end_update() */
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
diff --git a/src/devices/video/ef9345.h b/src/devices/video/ef9345.h
index 86d05e115c6..2945f9b8a5b 100644
--- a/src/devices/video/ef9345.h
+++ b/src/devices/video/ef9345.h
@@ -99,9 +99,9 @@ private:
uint8_t m_blink; //cursor status
uint8_t m_last_dial[40]; //last chars dial (for determinate the zoom position)
uint8_t m_latchc0; //background color latch
- uint8_t m_latchm; //hided atribute latch
- uint8_t m_latchi; //insert atribute latch
- uint8_t m_latchu; //underline atribute latch
+ uint8_t m_latchm; //hided attribute latch
+ uint8_t m_latchi; //insert attribute latch
+ uint8_t m_latchu; //underline attribute latch
bitmap_rgb32 m_screen_out;
diff --git a/src/devices/video/gb_lcd.h b/src/devices/video/gb_lcd.h
index 93c4ae7cabe..351178bf006 100644
--- a/src/devices/video/gb_lcd.h
+++ b/src/devices/video/gb_lcd.h
@@ -139,7 +139,7 @@ protected:
} sprite[10];
uint8_t sprite_delay_cycles;
// other internal data
- bool starting; // Inital fetches when (re)starting the rendering engine.
+ bool starting; // Initial fetches when (re)starting the rendering engine.
uint8_t sequence_counter;
bool drawing;
bool start_drawing;
diff --git a/src/devices/video/mc6847.h b/src/devices/video/mc6847.h
index 3a4bfdd3f67..996fddbce13 100644
--- a/src/devices/video/mc6847.h
+++ b/src/devices/video/mc6847.h
@@ -202,7 +202,7 @@ protected:
}
};
- // artficater internal class
+ // artificator internal class
class artifacter
{
public:
@@ -522,7 +522,7 @@ public:
static void set_black_and_white(device_t &device, bool bw) { downcast<mc6847_base_device &>(device).m_black_and_white = bw; }
/* updates the screen -- this will call begin_update(),
- followed by update_row() reapeatedly and after all row
+ followed by update_row() repeatedly and after all row
updating is complete, end_update() */
uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
diff --git a/src/devices/video/sprite.h b/src/devices/video/sprite.h
index 2b5b38d49d5..d17fdc13bb9 100644
--- a/src/devices/video/sprite.h
+++ b/src/devices/video/sprite.h
@@ -39,7 +39,7 @@ public:
sparse_dirty_bitmap(int granularity = 3);
sparse_dirty_bitmap(int width, int height, int granularity = 3);
- // dirtying operations - partially interecting tiles are dirtied
+ // dirtying operations - partially intersecting tiles are dirtied
void dirty(const rectangle &rect) { dirty(rect.left(), rect.right(), rect.top(), rect.bottom()); }
void dirty(int32_t left, int32_t right, int32_t top, int32_t bottom);
void dirty_all() { dirty(0, m_width - 1, 0, m_height - 1); }
diff --git a/src/devices/video/tms34061.cpp b/src/devices/video/tms34061.cpp
index 3c7aebcc357..768c7a01cda 100644
--- a/src/devices/video/tms34061.cpp
+++ b/src/devices/video/tms34061.cpp
@@ -487,7 +487,7 @@ uint8_t tms34061_device::read(address_space &space, int col, int row, int func)
result = xypixel_r(space, col);
break;
- /* funtion 3 maps to direct access */
+ /* function 3 maps to direct access */
case 3:
offs = ((row << m_rowshift) | col) & m_vrammask;
result = m_vram[offs];
diff --git a/src/devices/video/vic4567.h b/src/devices/video/vic4567.h
index d44f89e61bb..53320386365 100644
--- a/src/devices/video/vic4567.h
+++ b/src/devices/video/vic4567.h
@@ -32,7 +32,7 @@ struct vic3_sprite
/* buffer for currently painted line */
int paintedline[8];
- uint8_t bitmap[8][SPRITE_BASE_X_SIZE * 2 / 8 + 1 /*for simplier sprite collision detection*/];
+ uint8_t bitmap[8][SPRITE_BASE_X_SIZE * 2 / 8 + 1 /*for simpler sprite collision detection*/];
};
diff --git a/src/devices/video/zeus2.h b/src/devices/video/zeus2.h
index 4415329c0a9..4d40f2f0882 100644
--- a/src/devices/video/zeus2.h
+++ b/src/devices/video/zeus2.h
@@ -215,13 +215,13 @@ public:
return addr;
}
- // Convert 0xRRRRCCCC to frame buffer addresss
+ // Convert 0xRRRRCCCC to frame buffer address
//inline uint32_t frame_addr_from_expanded_addr(uint32_t addr)
//{
// return (((addr & 0x3ff0000) >> (16 - 9 + 1)) | (addr & 0x1ff)) << 1;
//}
- // Convert Physical 0xRRRRCCCC to frame buffer addresss
+ // Convert Physical 0xRRRRCCCC to frame buffer address
// Based on address reg 51 (no scaling)
inline uint32_t frame_addr_from_phys_addr(uint32_t physAddr)
{
diff --git a/src/emu/devfind.h b/src/emu/devfind.h
index 094bb5a194c..d74799c5672 100644
--- a/src/emu/devfind.h
+++ b/src/emu/devfind.h
@@ -5,7 +5,7 @@
* Object auto-discovery helpers
* \defgroup devfind
* \{
- * Object auto-disovery helpers
+ * Object auto-discovery helpers
*/
#ifndef __EMU_H__
@@ -134,14 +134,14 @@ class finder_base
public:
/// \brief Destructor
///
- /// Destruction via base class pointer and dynmaic type behaviour
+ /// Destruction via base class pointer and dynamic type behaviour
/// are allowed.
virtual ~finder_base();
/// \brief Get next registered object discovery helper
///
/// Implementation of basic single-linked list behaviour.
- /// \return Pointer to the next registerd object discovery helper,
+ /// \return Pointer to the next registered object discovery helper,
/// or nullptr if this is the last.
finder_base *next() const { return m_next; }
@@ -203,7 +203,7 @@ protected:
/// \param [in] required Whether warning message should be printed
/// if a region with matching tag of incorrect width/length is
/// found.
- /// \return Base pointer of the memeroy region if a matching region
+ /// \return Base pointer of the memory region if a matching region
/// is found, or nullptr otherwise.
void *find_memregion(u8 width, size_t &length, bool required) const;
@@ -343,7 +343,7 @@ protected:
/// \brief Pointer to target object
///
/// Pointer to target object, or nullptr if resolution has not been
- /// attempted or the seach failed. Concrete derived classes must
+ /// attempted or the search failed. Concrete derived classes must
/// set this in their implementation of the findit member function.
ObjectClass *m_target;
};
diff --git a/src/emu/device.cpp b/src/emu/device.cpp
index 321c7b18390..a78e7173342 100644
--- a/src/emu/device.cpp
+++ b/src/emu/device.cpp
@@ -323,7 +323,7 @@ void device_t::set_machine(running_machine &machine)
}
//-------------------------------------------------
-// findit - seach for all objects in auto finder
+// findit - search for all objects in auto finder
// list and return status
//-------------------------------------------------
@@ -564,7 +564,7 @@ ioport_constructor device_t::device_input_ports() const
//-------------------------------------------------
// device_reset - actually handle resetting of
-// a device; designed to be overriden by the
+// a device; designed to be overridden by the
// actual device implementation
//-------------------------------------------------
@@ -577,7 +577,7 @@ void device_t::device_reset()
//-------------------------------------------------
// device_reset_after_children - hook to do
// reset logic that must happen after the children
-// are reset; designed to be overriden by the
+// are reset; designed to be overridden by the
// actual device implementation
//-------------------------------------------------
diff --git a/src/emu/diserial.h b/src/emu/diserial.h
index 27c4cb00d74..413692147e7 100644
--- a/src/emu/diserial.h
+++ b/src/emu/diserial.h
@@ -23,7 +23,7 @@ public:
enum
{
/* receive is waiting for start bit. The transition from high-low indicates
- start of start bit. This is used to synchronise with the data being transfered */
+ start of start bit. This is used to synchronise with the data being transferred */
RECEIVE_REGISTER_WAITING_FOR_START_BIT = 0x01,
/* receive is synchronised with data, data bits will be clocked in */
diff --git a/src/emu/drawgfx.h b/src/emu/drawgfx.h
index ca628114c3a..bd5c7bde99e 100644
--- a/src/emu/drawgfx.h
+++ b/src/emu/drawgfx.h
@@ -354,7 +354,7 @@ void copybitmap_trans(bitmap_rgb32 &dest, const bitmap_rgb32 &src, int flipx, in
/*
Copy a bitmap onto another with scroll and wraparound.
These functions support multiple independently scrolling rows/columns.
- "rows" is the number of indepentently scrolling rows. "rowscroll" is an
+ "rows" is the number of independently scrolling rows. "rowscroll" is an
array of integers telling how much to scroll each row. Same thing for
"numcols" and "colscroll".
If the bitmap cannot scroll in one direction, set numrows or columns to 0.
diff --git a/src/emu/gamedrv.h b/src/emu/gamedrv.h
index 09973005a57..03b7f06f632 100644
--- a/src/emu/gamedrv.h
+++ b/src/emu/gamedrv.h
@@ -41,10 +41,10 @@ constexpr u32 MACHINE_MECHANICAL = 0x00020000; // contains mech
constexpr u32 MACHINE_TYPE_ARCADE = 0x00040000; // arcade machine (coin operated machines)
constexpr u32 MACHINE_TYPE_CONSOLE = 0x00080000; // console system
constexpr u32 MACHINE_TYPE_COMPUTER = 0x00100000; // any kind of computer including home computers, minis, calcs,...
-constexpr u32 MACHINE_TYPE_OTHER = 0x00200000; // any other emulated system that doesn't fit above (ex. clock, satelite receiver,...)
+constexpr u32 MACHINE_TYPE_OTHER = 0x00200000; // any other emulated system that doesn't fit above (ex. clock, satellite receiver,...)
constexpr u32 MACHINE_IMPERFECT_KEYBOARD = 0x00400000; // keyboard is known to be wrong
constexpr u32 MACHINE_CLICKABLE_ARTWORK = 0x00800000; // marking that artwork is clickable and require mouse cursor
-constexpr u32 MACHINE_IS_INCOMPLETE = 0x01000000; // any official game/system with blantantly incomplete HW or SW should be marked with this
+constexpr u32 MACHINE_IS_INCOMPLETE = 0x01000000; // any official game/system with blatantly incomplete HW or SW should be marked with this
constexpr u32 MACHINE_NODEVICE_MICROPHONE = 0x02000000; // any game/system that has unemulated recording voice device peripheral
constexpr u32 MACHINE_NODEVICE_CAMERA = 0x04000000; // any game/system that has unemulated capturing image device peripheral
constexpr u32 MACHINE_NODEVICE_PRINTER = 0x08000000; // any game/system that has unemulated grabbing of screen content device
diff --git a/src/emu/save.h b/src/emu/save.h
index 59bf5f54a5e..4f112796eaf 100644
--- a/src/emu/save.h
+++ b/src/emu/save.h
@@ -174,7 +174,7 @@ private:
bool m_reg_allowed; // are registrations allowed?
int m_illegal_regs; // number of illegal registrations
- std::vector<std::unique_ptr<state_entry>> m_entry_list; // list of reigstered entries
+ std::vector<std::unique_ptr<state_entry>> m_entry_list; // list of registered entries
std::vector<std::unique_ptr<state_callback>> m_presave_list; // list of pre-save functions
std::vector<std::unique_ptr<state_callback>> m_postload_list; // list of post-load functions
};
diff --git a/src/emu/softlist.h b/src/emu/softlist.h
index ad430a5aa28..2f321419b56 100644
--- a/src/emu/softlist.h
+++ b/src/emu/softlist.h
@@ -208,7 +208,7 @@ private:
// ----- Helpers -----
-// parses a software identifier (e.g. - 'apple2e:agentusa:flop1') into its consituent parts (returns false if cannot parse)
+// parses a software identifier (e.g. - 'apple2e:agentusa:flop1') into its constituent parts (returns false if cannot parse)
bool software_name_parse(const std::string &identifier, std::string *list_name = nullptr, std::string *software_name = nullptr, std::string *part_name = nullptr);
#endif // __SOFTLIST_H_
diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp
index 24fb330ebe4..d22ee998f7a 100644
--- a/src/emu/sound.cpp
+++ b/src/emu/sound.cpp
@@ -678,7 +678,7 @@ stream_sample_t *sound_stream::generate_resampled_data(stream_input &input, u32
stream_sample_t *source = &output.m_buffer[basesample - input_stream.m_output_base_sampindex];
// determine the current fraction of a sample, expressed as a fraction of FRAC_ONE
- // (Note: this formula is valid as long as input_stream.m_attoseconds_per_sample signficantly exceeds FRAC_ONE > attoseconds = 4.2E-12 s)
+ // (Note: this formula is valid as long as input_stream.m_attoseconds_per_sample significantly exceeds FRAC_ONE > attoseconds = 4.2E-12 s)
u32 basefrac = (basetime - basesample * input_stream.m_attoseconds_per_sample) / ((input_stream.m_attoseconds_per_sample + FRAC_ONE - 1) >> FRAC_BITS);
assert(basefrac < FRAC_ONE);
diff --git a/src/emu/tilemap.h b/src/emu/tilemap.h
index 057cdca8c86..729e0dc99d0 100644
--- a/src/emu/tilemap.h
+++ b/src/emu/tilemap.h
@@ -696,7 +696,7 @@ class tilemap_manager
friend class tilemap_t;
public:
- // construction/destuction
+ // construction/destruction
tilemap_manager(running_machine &machine);
~tilemap_manager();
diff --git a/src/emu/video/resnet.h b/src/emu/video/resnet.h
index 297da2e7db0..ba19503c71d 100644
--- a/src/emu/video/resnet.h
+++ b/src/emu/video/resnet.h
@@ -50,7 +50,7 @@
#define RES_NET_VCC_CUSTOM 0x0008
#define RES_NET_VCC_MASK 0x0008
-/* VBias prebuils - per channel but may be specified globally as default */
+/* VBias prebuilds - per channel but may be specified globally as default */
#define RES_NET_VBIAS_USE_GLOBAL 0x0000
#define RES_NET_VBIAS_5V 0x0010
diff --git a/src/frontend/mame/ui/dirmenu.h b/src/frontend/mame/ui/dirmenu.h
index baff9bd1d52..5d092273b1c 100644
--- a/src/frontend/mame/ui/dirmenu.h
+++ b/src/frontend/mame/ui/dirmenu.h
@@ -113,6 +113,6 @@ private:
std::vector<std::string> m_folders;
};
-} // namesapce ui
+} // namespace ui
#endif /* MAME_FRONTEND_UI_DIRMENU_H */
diff --git a/src/frontend/mame/ui/inputmap.h b/src/frontend/mame/ui/inputmap.h
index 5006cdffef2..5962d3e592e 100644
--- a/src/frontend/mame/ui/inputmap.h
+++ b/src/frontend/mame/ui/inputmap.h
@@ -173,6 +173,6 @@ private:
virtual void handle() override;
};
-} // namesapce ui
+} // namespace ui
#endif /* MAME_FRONTEND_UI_INPUTMAP_H */
diff --git a/src/frontend/mame/ui/moptions.cpp b/src/frontend/mame/ui/moptions.cpp
index 50cc0bcd14f..2fe51837718 100644
--- a/src/frontend/mame/ui/moptions.cpp
+++ b/src/frontend/mame/ui/moptions.cpp
@@ -19,7 +19,7 @@
const options_entry ui_options::s_option_entries[] =
{
- // seach path options
+ // search path options
{ nullptr, nullptr, OPTION_HEADER, "UI SEARCH PATH OPTIONS" },
{ OPTION_HISTORY_PATH, "history;dats;.", OPTION_STRING, "path to history files" },
{ OPTION_EXTRAINI_PATH, "folders", OPTION_STRING, "path to extra ini files" },
diff --git a/src/frontend/mame/ui/selmenu.h b/src/frontend/mame/ui/selmenu.h
index 7878f12fd54..f5d4deac84c 100644
--- a/src/frontend/mame/ui/selmenu.h
+++ b/src/frontend/mame/ui/selmenu.h
@@ -48,7 +48,7 @@ protected:
virtual void custom_render(void *selectedref, float top, float bottom, float x, float y, float x2, float y2) override;
- // hanlders
+ // handlers
void inkey_navigation();
// draw arrow
diff --git a/src/frontend/mame/ui/text.h b/src/frontend/mame/ui/text.h
index 527713fc483..5852bbeb184 100644
--- a/src/frontend/mame/ui/text.h
+++ b/src/frontend/mame/ui/text.h
@@ -86,7 +86,7 @@ private:
float size;
};
- // information about the "source" of a chracter - also in a struct
+ // information about the "source" of a character - also in a struct
// to facilitate copying
struct source_info
{
diff --git a/src/lib/formats/flopimg.h b/src/lib/formats/flopimg.h
index 1ad73d94f81..781a3687209 100644
--- a/src/lib/formats/flopimg.h
+++ b/src/lib/formats/flopimg.h
@@ -353,7 +353,7 @@ protected:
CRC_VICTOR_HDR_START, //!< Start a Victor 9000 checksum calculation, p1 = crc id
CRC_VICTOR_DATA_START, //!< Start a Victor 9000 checksum calculation, p1 = crc id
CRC_END, //!< End the checksum, p1 = crc id
- CRC, //!< Write a checksum in the apporpriate format, p1 = crc id
+ CRC, //!< Write a checksum in the appropriate format, p1 = crc id
SECTOR_LOOP_START, //!< Start of the per-sector loop, sector number goes from p1 to p2 inclusive
SECTOR_LOOP_END, //!< End of the per-sector loop
diff --git a/src/lib/formats/upd765_dsk.cpp b/src/lib/formats/upd765_dsk.cpp
index ae11f7080dc..a7e5febc3d7 100644
--- a/src/lib/formats/upd765_dsk.cpp
+++ b/src/lib/formats/upd765_dsk.cpp
@@ -250,7 +250,7 @@ bool upd765_format::save(io_generic *io, floppy_image *image)
// Previously tested cell size
int min_cell_size = 0;
for(;;) {
- // Build the list of all formats for the immediatly superior cell size
+ // Build the list of all formats for the immediately superior cell size
int cur_cell_size = 0;
candidates.clear();
for(int i=0; i != formats_count; i++) {
diff --git a/src/lib/netlist/devices/nld_9310.h b/src/lib/netlist/devices/nld_9310.h
index 4df8a2d03a0..f55e4061e64 100644
--- a/src/lib/netlist/devices/nld_9310.h
+++ b/src/lib/netlist/devices/nld_9310.h
@@ -36,7 +36,7 @@
* +-------++----+----+----+----+----+
*
* Reset count function: Please refer to
- * National Semiconductor datasheet (timing diagramm)
+ * National Semiconductor datasheet (timing diagram)
*
* Naming conventions follow National Semiconductor datasheet
*
diff --git a/src/lib/netlist/devices/nld_9316.h b/src/lib/netlist/devices/nld_9316.h
index 696a5dcba61..ab3fb46a2f5 100644
--- a/src/lib/netlist/devices/nld_9316.h
+++ b/src/lib/netlist/devices/nld_9316.h
@@ -40,7 +40,7 @@
* +-------++----+----+----+----+----+
*
* Reset count function: Please refer to
- * National Semiconductor datasheet (timing diagramm)
+ * National Semiconductor datasheet (timing diagram)
*
* Naming conventions follow National Semiconductor datasheet
*
diff --git a/src/lib/netlist/devices/nld_truthtable.h b/src/lib/netlist/devices/nld_truthtable.h
index 45a150574c8..759d19cf0c9 100644
--- a/src/lib/netlist/devices/nld_truthtable.h
+++ b/src/lib/netlist/devices/nld_truthtable.h
@@ -275,7 +275,7 @@ namespace netlist
/* FIXME:
* Based on current measurements there is no point to disable
* 1 input devices. This should actually be a parameter so that we
- * can decide for each individual gate whether it is benefitial to
+ * can decide for each individual gate whether it is beneficial to
* ignore deactivation.
*/
if (m_NI > 1)
diff --git a/src/lib/netlist/nl_base.h b/src/lib/netlist/nl_base.h
index f47ee3cbdae..55b1ef009b6 100644
--- a/src/lib/netlist/nl_base.h
+++ b/src/lib/netlist/nl_base.h
@@ -183,7 +183,7 @@ namespace netlist
// Exceptions
//============================================================
- /*! Generic netlist expection.
+ /*! Generic netlist exception.
* The exception is used in all events which are considered fatal.
*/
class nl_exception : public plib::pexception
@@ -327,7 +327,7 @@ namespace netlist
};
// -----------------------------------------------------------------------------
- // State variables - predefined and c++11 non-optioanl
+ // State variables - predefined and c++11 non-optional
// -----------------------------------------------------------------------------
/*! predefined state variable type for uint_fast8_t */
diff --git a/src/lib/netlist/nl_dice_compat.h b/src/lib/netlist/nl_dice_compat.h
index a6546e32d52..209f18d82af 100644
--- a/src/lib/netlist/nl_dice_compat.h
+++ b/src/lib/netlist/nl_dice_compat.h
@@ -3,7 +3,7 @@
/*
* nl_dice_compat.h
*
- * The follwoing script will convert a circuit using dice syntax into netlist
+ * The following script will convert a circuit using dice syntax into netlist
* syntax. It's not fail proof, but eases the manual work involved significantly.
sed -e 's/#define \(.*\)"\(.*\)"[ \t]*,[ \t]*\(.*\)/NET_ALIAS(\1,\2.\3)/' src/mame/drivers/nl_breakout.c \
diff --git a/src/lib/util/aviio.cpp b/src/lib/util/aviio.cpp
index 6efae25a654..4a493c2b89b 100644
--- a/src/lib/util/aviio.cpp
+++ b/src/lib/util/aviio.cpp
@@ -2867,7 +2867,7 @@ avi_file::error avi_file_impl::chunk_overwrite(std::uint32_t type, const void *d
/*-------------------------------------------------
- write_initial_headers - write out the inital
+ write_initial_headers - write out the initial
set of AVI and stream headers
-------------------------------------------------*/
diff --git a/src/lib/util/coretmpl.h b/src/lib/util/coretmpl.h
index 5c29d97f89f..758e4821aa3 100644
--- a/src/lib/util/coretmpl.h
+++ b/src/lib/util/coretmpl.h
@@ -237,7 +237,7 @@ public:
return object;
}
- // deatch the entire list, returning the head, but don't free memory
+ // detach the entire list, returning the head, but don't free memory
_ElementType *detach_all() noexcept
{
_ElementType *result = m_head;
diff --git a/src/lib/util/delegate.h b/src/lib/util/delegate.h
index d387db2dfcb..698632888cd 100644
--- a/src/lib/util/delegate.h
+++ b/src/lib/util/delegate.h
@@ -196,7 +196,7 @@ struct delegate_traits
// delegate_mfp is a class that wraps a generic member function pointer
// in a static buffer, and can effectively recast itself back for later use;
-// it hides some of the gross details involved in copying artibtrary member
+// it hides some of the gross details involved in copying arbitrary member
// function pointers around
class delegate_mfp
{
diff --git a/src/lib/util/strformat.h b/src/lib/util/strformat.h
index abb34e80d3f..db3666e448b 100644
--- a/src/lib/util/strformat.h
+++ b/src/lib/util/strformat.h
@@ -13,7 +13,7 @@
object with an appropriate stream output operator can be used as
a format argument with the %s conversion.
- Since the funcitons are implemented using C++ iostream, some
+ Since the functions are implemented using C++ iostream, some
behaviour more closely resembles iostream output operator behaviour
than printf behaviour. You are also exposed to bugs in your C++
iostream implementation (e.g. hexadecimal scientific format doesn't
@@ -28,7 +28,7 @@
Position specifiers for arguments (%123$), field width (*456$) and
precision (.*789$) are supported. Mixing explicit and implied
- positions for arugments/widths/precisions is discouraged, although
+ positions for arguments/widths/precisions is discouraged, although
it does produce deterministic behaviour.
The following format flags are recognised:
@@ -79,13 +79,13 @@
- d/i: signed decimal for integer/char/bool types
- u: unsigned decimal for integer/char/bool types
- o: unsigned octal for integer/char/bool types
- - x/X: lower/upppercase unsigned hexadecimal for integer/char/bool
+ - x/X: lower/uppercase unsigned hexadecimal for integer/char/bool
types or scientific hexadecimal for floating-point types
- e/E: lower/uppercase scientific decimal for floating-point types
- f/F: lower/uppercase fixed-point decimal for floating-point types
- g/G: default stream output format for floating-point types (may
differ from printf behaviour)
- - a/A: lower/upppercase scientific hexadecimal for floating-point
+ - a/A: lower/uppercase scientific hexadecimal for floating-point
types or hexadecimal for integer types
- c/C: cast integer types to stream's character type, no automatic
widening or narrowing
@@ -139,7 +139,7 @@
versa.
- Precision ignored for d/i/u/o/x/X conversions (should set minimum
digits to print).
- - Precisoin for s/S conversion is only honoured for string-like
+ - Precision for s/S conversion is only honoured for string-like
types (output character pointer/array and std::basic_string).
- If the output character type is not char, signed char or unsgined
char, printing the a value of this type with d/i/u/o/x/X
diff --git a/src/mame/audio/phoenix.cpp b/src/mame/audio/phoenix.cpp
index 28ec0574f69..ae2959ebf29 100644
--- a/src/mame/audio/phoenix.cpp
+++ b/src/mame/audio/phoenix.cpp
@@ -30,7 +30,7 @@
* [This information is part of the GIICM]
*
* Pin 8 and 9 are connected to an EXOR gate and the inverted
- * output (EXNOR) is fed back to pin 1 (and the pseudo polynome output).
+ * output (EXNOR) is fed back to pin 1 (and the pseudo polynomial output).
*
* 1D5 1Q1 2D4 2Q0 3D4 3Q0 4D5 4Q1 4Q0
* +--+--+--+--+--+ +--+--+--+--+ +--+--+--+--+ +--+--+--+--+--+
diff --git a/src/mame/audio/pleiads.cpp b/src/mame/audio/pleiads.cpp
index a425d8bf7ee..b3c322cf5dd 100644
--- a/src/mame/audio/pleiads.cpp
+++ b/src/mame/audio/pleiads.cpp
@@ -371,7 +371,7 @@ inline int pleiads_sound_device::tone23(int samplerate)
/*****************************************************************************
* Tone #4 comes from upper half of the lower 556 (IC98 in Pop Flamer)
* It's modulated by the voltage at C49, which is then divided between
- * 0V or 5V, depending on the polynome output bit.
+ * 0V or 5V, depending on the polynomial output bit.
* The tone signal gates two signals (bits 5 of latches A and C), but
* these are also swept between two levels (C52 and C53 in Pop Flamer).
*****************************************************************************/
@@ -575,7 +575,7 @@ inline int pleiads_sound_device::noise(int samplerate)
m_polybit = (m_poly18[m_noise.polyoffs>>5] >> (m_noise.polyoffs & 31)) & 1;
}
- /* The polynome output bit is used to gate bits 6 + 7 of
+ /* The polynomial output bit is used to gate bits 6 + 7 of
* sound latch A through the upper half of a 4066 chip.
* Bit 6 is sweeping a capacitor between 0V and 4.7V
* while bit 7 is connected directly to the 4066.
diff --git a/src/mame/audio/redbaron.cpp b/src/mame/audio/redbaron.cpp
index 9470b6495cd..17e4967035c 100644
--- a/src/mame/audio/redbaron.cpp
+++ b/src/mame/audio/redbaron.cpp
@@ -115,7 +115,7 @@ void redbaron_sound_device::sound_stream_update(sound_stream &stream, stream_sam
{
int sum = 0;
- /* polynome shifter E5 and F4 (LS164) clocked with 12kHz */
+ /* polynomial shifter E5 and F4 (LS164) clocked with 12kHz */
m_poly_counter -= 12000;
while( m_poly_counter <= 0 )
{
diff --git a/src/mame/audio/seibu.h b/src/mame/audio/seibu.h
index 66139a40ca1..31e3cfd6a5a 100644
--- a/src/mame/audio/seibu.h
+++ b/src/mame/audio/seibu.h
@@ -16,7 +16,7 @@
Related sound programs (not implemented yet):
Zero Team "START UP PROGRAM V1.02 (C)1986 SEIBU KAIHATSU INC."
- Legionaire "START UP PROGRAM V1.02 (C)1986 SEIBU KAIHATSU INC." (YM2151 substituted for YM3812)
+ Legionnaire "START UP PROGRAM V1.02 (C)1986 SEIBU KAIHATSU INC." (YM2151 substituted for YM3812)
Raiden 2 "START UP PROGRAM V1.02 (C)1986 SEIBU KAIHATSU INC." (YM2151 substituted for YM3812, plus extra MSM6205)
Raiden DX "START UP PROGRAM V1.02 (C)1986 SEIBU KAIHATSU INC." (YM2151 substituted for YM3812, plus extra MSM6205)
Cup Soccer "START UP PROGRAM V1.02 (C)1986 SEIBU KAIHATSU INC." (YM2151 substituted for YM3812, plus extra MSM6205)
diff --git a/src/mame/drivers/altair.cpp b/src/mame/drivers/altair.cpp
index 710f0bcd366..35bcf228fcb 100644
--- a/src/mame/drivers/altair.cpp
+++ b/src/mame/drivers/altair.cpp
@@ -97,7 +97,7 @@ WRITE_LINE_MEMBER(altair_state::write_acia_clock)
void altair_state::machine_reset()
{
- // Set startup addess done by turn-key
+ // Set startup address done by turn-key
m_maincpu->set_state_int(I8085_PC, 0xFD00);
}
diff --git a/src/mame/drivers/alto2.cpp b/src/mame/drivers/alto2.cpp
index 1ed1d1109b0..cd69efbe400 100644
--- a/src/mame/drivers/alto2.cpp
+++ b/src/mame/drivers/alto2.cpp
@@ -135,7 +135,7 @@ static INPUT_PORTS_START( alto2 )
PORT_KEY(A2_KEY_FL2, KEYCODE_F2, 0, 0, "FL2" ) //!< ADL left function key 2
PORT_START("ROW5")
- PORT_KEY(A2_KEY_FR4, KEYCODE_F8, 0, 0, "FR4" ) //!< ADL right funtion key 4
+ PORT_KEY(A2_KEY_FR4, KEYCODE_F8, 0, 0, "FR4" ) //!< ADL right function key 4
PORT_KEY(A2_KEY_BW, KEYCODE_F10, 0, 0, "BW" ) //!< ADL BW (?)
PORT_START("ROW6")
diff --git a/src/mame/drivers/ampoker2.cpp b/src/mame/drivers/ampoker2.cpp
index 54c31aec2d2..ac9028853cd 100644
--- a/src/mame/drivers/ampoker2.cpp
+++ b/src/mame/drivers/ampoker2.cpp
@@ -235,7 +235,7 @@
an oscilloscope, I measured a value of 60 uS = 1538 Hz. We used a NMI period of 1536 Hz due
to a better binary composition (1024+512).
- Inputs/Ouputs are driven through 74LS251 and 74LS259 multiplexers. Each one handles 1 bit
+ Inputs/Outputs are driven through 74LS251 and 74LS259 multiplexers. Each one handles 1 bit
from data bus, and there are many devices as addressed ports (8x 74LS251 and 8x 74LS259).
Input ports are mapped to offsets 0xC410 through 0xC417. Output ports are mapped to 0xC4000
@@ -316,7 +316,7 @@
- Reworked the color routines switching to resnet system.
- Added a resistor network diagram.
- Switch to pre-defined crystal value.
- - Changed the WATCHDOG_TIME_INIT to be based on miliseconds instead of hertz.
+ - Changed the WATCHDOG_TIME_INIT to be based on milliseconds instead of hertz.
- Other minor cleanup/fixes.
- Updated technical notes.
diff --git a/src/mame/drivers/apexc.cpp b/src/mame/drivers/apexc.cpp
index a4d9897907b..4e2337ad84d 100644
--- a/src/mame/drivers/apexc.cpp
+++ b/src/mame/drivers/apexc.cpp
@@ -499,7 +499,7 @@ INTERRUPT_GEN_MEMBER(apexc_state::apexc_interrupt)
Since the APEXC has no video display, we display the control panel.
- Additionnally, We display one page of teletyper output.
+ Additionally, We display one page of teletyper output.
*/
static const rgb_t apexc_palette[] =
diff --git a/src/mame/drivers/asteroid.cpp b/src/mame/drivers/asteroid.cpp
index 9188f53ab3e..574c420501e 100644
--- a/src/mame/drivers/asteroid.cpp
+++ b/src/mame/drivers/asteroid.cpp
@@ -932,7 +932,7 @@ explain why there is this mismatch in revision numbers, it seems Atari released
they needed to change default settings becasue of earnings potential in their default
first set (revision 1), not once, but twice! then they changed the romset altogether. The documents
in question are CO-174-02 (2 pages, 3 sides). this document shows what i think was the final revision
-of roms to be produced, they consist of a wholly -02 romset, with the expection being a -03 rom at
+of roms to be produced, they consist of a wholly -02 romset, with the exception being a -03 rom at
location J1.
So, anyhow, find in this file, the FIRST revision of rom -01 in J1. This pcb contained the following
diff --git a/src/mame/drivers/atarisy2.cpp b/src/mame/drivers/atarisy2.cpp
index d703efd9153..707aaf7923f 100644
--- a/src/mame/drivers/atarisy2.cpp
+++ b/src/mame/drivers/atarisy2.cpp
@@ -522,7 +522,7 @@ READ8_MEMBER(atarisy2_state::leta_r)
Also the CH1 output is referenced to 2.5V. Anything
above is positive, below is negative. Then amplified
by 6.556 and clipped to -15V and (15V-1.5V=13.5V).
- This is usefull to work out the relative signal levels
+ This is useful to work out the relative signal levels
of each effect.
This then goes to the stage you were asking about. We
diff --git a/src/mame/drivers/champbwl.cpp b/src/mame/drivers/champbwl.cpp
index d72f6e15a49..5e213440836 100644
--- a/src/mame/drivers/champbwl.cpp
+++ b/src/mame/drivers/champbwl.cpp
@@ -140,7 +140,7 @@ Notes:
Standard 6 pin Trackball connector
- Pin Wire Funtion
+ Pin Wire Function
------------------------------
1 | BLK | Ground
2 | RED | +5 Volts DC
diff --git a/src/mame/drivers/coinmvga.cpp b/src/mame/drivers/coinmvga.cpp
index 1cc9bb37299..63470c88a52 100644
--- a/src/mame/drivers/coinmvga.cpp
+++ b/src/mame/drivers/coinmvga.cpp
@@ -22,7 +22,7 @@
---------------
This board is used in each bet station of Coinmaster's Roulette and Keno games.
- Both systems have a phisical electromechanical unit with their own controller
+ Both systems have a physical electromechanical unit with their own controller
plus sound. The central units (wheel controller) are routed to the bet stations
(10 for default) through 2 different kind of networks, depending the wheel system.
@@ -47,7 +47,7 @@
Colorama is a standalone roulette system, driven by one VGA board. It has a big lamps
- loom, and a vertical positioned roulette painted on the marquee with one phisical arm
+ loom, and a vertical positioned roulette painted on the marquee with one physical arm
pointing to the numbers.
@@ -669,7 +669,7 @@ MACHINE_CONFIG_END
Colorama.
p521 (unknown version), English.
- Standalone. Phisical arm on marquee + bet station.
+ Standalone. Physical arm on marquee + bet station.
*/
ROM_START( colorama )
@@ -702,7 +702,7 @@ ROM_START( coloramas )
Colorama.
p521 v13, Spanish.
- Standalone. Phisical arm on marquee + bet station.
+ Standalone. Physical arm on marquee + bet station.
*/
ROM_REGION( 0x100000, "maincpu", 0 )
@@ -731,7 +731,7 @@ ROM_END
/*
Coinmaster Roulette V75 (y2k, spanish)
- Phisical Unit + 10-15 bet stations.
+ Physical Unit + 10-15 bet stations.
*/
ROM_START( cmrltv75 )
@@ -777,7 +777,7 @@ ROM_END
/*
Coinmaster Keno (y2k, spanish, 2000-12-14)
- Phisical Unit + 10 bet stations.
+ Physical Unit + 10 bet stations.
*/
ROM_START( cmkenosp )
@@ -821,7 +821,7 @@ ROM_END
/*
Coinmaster Keno (y2k, spanish, 2000-12-02)
- Phisical Unit + 10 bet stations.
+ Physical Unit + 10 bet stations.
*/
ROM_START( cmkenospa )
diff --git a/src/mame/drivers/cvs.cpp b/src/mame/drivers/cvs.cpp
index d7f45887870..6427f13f64f 100644
--- a/src/mame/drivers/cvs.cpp
+++ b/src/mame/drivers/cvs.cpp
@@ -1530,7 +1530,7 @@ ROM_END
/*************************************
*
- * Game specific initalization
+ * Game specific initialization
*
*************************************/
diff --git a/src/mame/drivers/dec0.cpp b/src/mame/drivers/dec0.cpp
index 49dcb7a9a70..fabe82a3943 100644
--- a/src/mame/drivers/dec0.cpp
+++ b/src/mame/drivers/dec0.cpp
@@ -2318,7 +2318,7 @@ the music and circuit design from an earlier
capcom game, i can't work out whcih one, but
what an odd thing to do!
-you can see a youtube video of it runnign here:
+you can see a youtube video of it running here:
http://uk.youtube.com/watch?v=Y-KvbKtqzaQ
Rom 21 is full of 0's... i cleaned and re-dumped
diff --git a/src/mame/drivers/dgn_beta.cpp b/src/mame/drivers/dgn_beta.cpp
index 7bbb17f37ab..9763d6467b4 100644
--- a/src/mame/drivers/dgn_beta.cpp
+++ b/src/mame/drivers/dgn_beta.cpp
@@ -120,7 +120,7 @@ static const unsigned char dgnbeta_palette[] =
the memory as described above.
At reset time the Paging would of course be disabled, as the boot rom needs to be
- mapped in at $C000, the initalisation code would set up the mappings above and then
+ mapped in at $C000, the initialisation code would set up the mappings above and then
enable the paging hardware.
It appears to be more complicated than this, whilst the above is true, there appear to
diff --git a/src/mame/drivers/freekick.cpp b/src/mame/drivers/freekick.cpp
index 6f4d93f3705..b94db7bfd8c 100644
--- a/src/mame/drivers/freekick.cpp
+++ b/src/mame/drivers/freekick.cpp
@@ -838,7 +838,7 @@ ROM_START( freekick )
ROM_LOAD( "24s10n.7h", 0x0500, 0x0100, CRC(a507f941) SHA1(97619959ee4c366cb010525636ab5eefe5a3127a) )
ROM_END
-ROM_START( freekicka ) /* The bootlegs are derived from this set, "freekbl8.q7" is identical but includes more addresss space then needed */
+ROM_START( freekicka ) /* The bootlegs are derived from this set, "freekbl8.q7" is identical but includes more address space then needed */
ROM_REGION( 0x0d000, "maincpu", 0 ) /* Z80 Code, internal program RAM is 52K in custom cpu module */
ROM_LOAD( "ns6201-a_1987.9_free_kick.cpu", 0x00000, 0x0d000, CRC(acc0a278) SHA1(27675870ece29ccd5135ca20fb2fa91125945ec5) )
diff --git a/src/mame/drivers/hec2hrp.cpp b/src/mame/drivers/hec2hrp.cpp
index d847af779ca..012b852d1cc 100644
--- a/src/mame/drivers/hec2hrp.cpp
+++ b/src/mame/drivers/hec2hrp.cpp
@@ -38,7 +38,7 @@
(thank's Daniel)
03/01/2010 Update and clean prog by yo_fr (jj.stac@aliceadsl.fr)
=> add the port mapping for keyboard
- 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
don't forget to keep some information about these machine see DChector project : http://dchector.free.fr/ made by DanielCoulom
diff --git a/src/mame/drivers/hp9k.cpp b/src/mame/drivers/hp9k.cpp
index a60d7f00fad..774a76632e2 100644
--- a/src/mame/drivers/hp9k.cpp
+++ b/src/mame/drivers/hp9k.cpp
@@ -72,7 +72,7 @@ static uint8_t prom16a[256] = {
0xff,
0xff,
0xff,
- 0xff,0xfe,0x00,0x00, // bottom minimun address for ram size
+ 0xff,0xfe,0x00,0x00, // bottom minimum address for ram size
0xff,0xff, // 16 required IO cards here not used
0xff,0xff,
0xff,0xff,
diff --git a/src/mame/drivers/jubilee.cpp b/src/mame/drivers/jubilee.cpp
index ccd5ad9fc33..f7baa860525 100644
--- a/src/mame/drivers/jubilee.cpp
+++ b/src/mame/drivers/jubilee.cpp
@@ -48,10 +48,10 @@
the 2114 find the 74148 or 74ls148, all 9980 cpu's use one, pin3 will generate a reset.
The 5517 ram is compatible with 6116 or 2018.
- The 9980 has 3 interupt inputs, but they are binary.
- The ls148 encodes the interupts to the cpu - the highest interupt is reset.
+ The 9980 has 3 interrupt inputs, but they are binary.
+ The ls148 encodes the interrupts to the cpu - the highest interrupt is reset.
- I tried pulling pin 3 of the 74ls148 low and yes, this sets up the reset interupt
+ I tried pulling pin 3 of the 74ls148 low and yes, this sets up the reset interrupt
on pins 23, 24 and 25. The TC5517 checks out ok as a 6116.
The crystal seems ok and this clock makes it throught to pin 34 of the MPU.
diff --git a/src/mame/drivers/kas89.cpp b/src/mame/drivers/kas89.cpp
index 0a9b434674e..8c9f1ea8b4a 100644
--- a/src/mame/drivers/kas89.cpp
+++ b/src/mame/drivers/kas89.cpp
@@ -6,7 +6,7 @@
/\/\<< Kasino '89 >>/\/\
6-players electronic roulette.
- Video field + phisical LEDs roulette.
+ Video field + physical LEDs roulette.
Driver by Roberto Fresca.
diff --git a/src/mame/drivers/lordgun.cpp b/src/mame/drivers/lordgun.cpp
index d80dfc1d1b8..caa9c2b3036 100644
--- a/src/mame/drivers/lordgun.cpp
+++ b/src/mame/drivers/lordgun.cpp
@@ -900,7 +900,7 @@ Game modes explained:
NOTE: Speakers should be connected serially to Speaker (+) and Speaker (-).
- You must avoid connecting speakers parallelly or connecting speakers
+ You must avoid connecting speakers parallely or connecting speakers
to Speaker (+) and GND, to keep the amplifier from being damaged or
from malfunctioning.
diff --git a/src/mame/drivers/magicfly.cpp b/src/mame/drivers/magicfly.cpp
index cd2c3759866..79c36c4dcc5 100644
--- a/src/mame/drivers/magicfly.cpp
+++ b/src/mame/drivers/magicfly.cpp
@@ -731,7 +731,7 @@ static INPUT_PORTS_START( magicfly )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
- PORT_START("DSW0") /* Only 4 phisical DIP switches (valid bits = 4, 6, 7) */
+ PORT_START("DSW0") /* Only 4 physical DIP switches (valid bits = 4, 6, 7) */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
@@ -794,7 +794,7 @@ static INPUT_PORTS_START( 7mezzo )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
- PORT_START("DSW0") /* Only 4 phisical DIP switches (valid bits = 4, 6, 7) */
+ PORT_START("DSW0") /* Only 4 physical DIP switches (valid bits = 4, 6, 7) */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
@@ -869,7 +869,7 @@ static INPUT_PORTS_START( bchance )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("DSW0")
-/* Only 4 phisical DIP switches
+/* Only 4 physical DIP switches
(valid bits = 4, 6, 7)
*/
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
diff --git a/src/mame/drivers/metalmx.cpp b/src/mame/drivers/metalmx.cpp
index c9942e3c8bd..7221eadcce2 100644
--- a/src/mame/drivers/metalmx.cpp
+++ b/src/mame/drivers/metalmx.cpp
@@ -433,7 +433,7 @@ READ32_MEMBER(metalmx_state::dsp32c_2_r)
/*************************************
*
- * Host/TMS34020 accesors
+ * Host/TMS34020 accessors
*
*************************************/
diff --git a/src/mame/drivers/metro.cpp b/src/mame/drivers/metro.cpp
index 4e94917d7b6..4822ff1093d 100644
--- a/src/mame/drivers/metro.cpp
+++ b/src/mame/drivers/metro.cpp
@@ -4567,7 +4567,7 @@ PCB -
REV: LM2D-Y
SEL: 00-200-004
-Same basic componets as those listed for Bang Bang Ball, except
+Same basic components as those listed for Bang Bang Ball, except
PCB uses a Xlinix XC9536 istead of the Altera EMP7032LC44 PLD.
Did Limenko license this or bootleg it? The board doesn't look like a
diff --git a/src/mame/drivers/multigam.cpp b/src/mame/drivers/multigam.cpp
index a25889e7fc8..87c92d7851f 100644
--- a/src/mame/drivers/multigam.cpp
+++ b/src/mame/drivers/multigam.cpp
@@ -7,7 +7,7 @@
uses NES emulation by Brad Olivier
Hardware is based around Nintendo NES. After coin up, it allows to play one of
- 35 NES games (choosen from text menu). Manufacturer is unknown, code for title
+ 35 NES games (chosen from text menu). Manufacturer is unknown, code for title
screen and game selection contains string:
"Programed by SANG HO ENG. K. B. KIM 1986/1/ 1"
diff --git a/src/mame/drivers/neogeocd.cpp b/src/mame/drivers/neogeocd.cpp
index 60da15ab052..5c109a47820 100644
--- a/src/mame/drivers/neogeocd.cpp
+++ b/src/mame/drivers/neogeocd.cpp
@@ -1073,7 +1073,7 @@ MACHINE_CONFIG_END
/*************************************
*
- * Driver initalization
+ * Driver initialization
*
*************************************/
diff --git a/src/mame/drivers/norautp.cpp b/src/mame/drivers/norautp.cpp
index 9298f11ba69..1f387ab36cd 100644
--- a/src/mame/drivers/norautp.cpp
+++ b/src/mame/drivers/norautp.cpp
@@ -250,7 +250,7 @@
7654 3210
---- ---x * DEAL / DRAW Lamp.
---- --x- * BET / COLLECT Lamp.
- ---- -x-- + PANEL LIGHTS RESET (always activated after initalize).
+ ---- -x-- + PANEL LIGHTS RESET (always activated after initialize).
---- x--- + PANEL LAMPS CLOCK
xxxx ---- * Discrete Sound Lines.
@@ -381,7 +381,7 @@
[2009-08-23/26]
- Added a default NVRAM to Noraut Joker Poker to bypass the 'F U' screen.
- This is due to the phisical keyboard limitation when needs to enter
+ This is due to the physical keyboard limitation when needs to enter
4 simultaneous inputs.
- Executed a trojan on 2 noraut systems to confirm the way 16x32 tiles are decoded.
- Fixed the x-offset for 32x32 tiles lines.
@@ -481,7 +481,7 @@
- Added Poker / Black Jack (Model 7521).
- Added Kimble Joker Poker.
- Added DRHL Poker (v.2.89).
- - Renamed norautpn descripion to Noraut Deluxe Poker (bootleg).
+ - Renamed norautpn description to Noraut Deluxe Poker (bootleg).
- Added a placeholder for tpoker2's undumped 68705 MCU.
- Reorganized the driver, plus some clean-ups.
- Renamed kimblejp to kimbldhl. Changed game description to Kimble Double HI-LO.
@@ -665,7 +665,7 @@ WRITE8_MEMBER(norautp_state::soundlamps_w)
7654 3210
---- ---x * DEAL / DRAW Lamp.
---- --x- * BET / COLLECT Lamp.
- ---- -x-- + PANEL LIGHTS RESET (always activated after initalize).
+ ---- -x-- + PANEL LIGHTS RESET (always activated after initialize).
---- x--- + PANEL LAMPS CLOCK
xxxx ---- * Discrete Sound Lines.
*/
diff --git a/src/mame/drivers/notetaker.cpp b/src/mame/drivers/notetaker.cpp
index 635cffb6481..6c7e5419c04 100644
--- a/src/mame/drivers/notetaker.cpp
+++ b/src/mame/drivers/notetaker.cpp
@@ -72,7 +72,7 @@ DONE:
- 256k of shared ram maps at 00000-3ffff for both cpus with special mem regs at fffec,fffee. the ram mirrors 4 times on the emulatorcpu only, iocpu the 40000-fffff area is open bus.
- framebuffer, at least for bios 1.5, lives from 0x4000-0xd5ff, exactly 640x480 pixels 1bpp, interlaced (even? plane is at 4000-8aff, odd? plane is at 8b00-d5ff); however the starting address of the framebuffer is configurable to any address within the 0x0000-0x1ffff range? (this exact range is unclear)
* figure out how the emulation-cpu boots and where its 8k of local ram maps to - done
- - both cpus boot, reset and system int controls are accessed at fffea from either cpu; emulatorcpu's 8k of ram lives at the beginning of its address space, but can be disabled in favor of mainram at the same addressses
+ - both cpus boot, reset and system int controls are accessed at fffea from either cpu; emulatorcpu's 8k of ram lives at the beginning of its address space, but can be disabled in favor of mainram at the same addresses
*/
#include "cpu/i86/i86.h"
diff --git a/src/mame/drivers/omegrace.cpp b/src/mame/drivers/omegrace.cpp
index 296acf8c32a..ba37b547ab8 100644
--- a/src/mame/drivers/omegrace.cpp
+++ b/src/mame/drivers/omegrace.cpp
@@ -603,7 +603,7 @@ ROM_END
/*************************************
*
- * Game specific initalization
+ * Game specific initialization
*
*************************************/
diff --git a/src/mame/drivers/pachifev.cpp b/src/mame/drivers/pachifev.cpp
index 1dbf4313dfe..335770743bf 100644
--- a/src/mame/drivers/pachifev.cpp
+++ b/src/mame/drivers/pachifev.cpp
@@ -62,10 +62,10 @@ Stephh's notes (based on the game TMS9995 code and some tests) :
When you continue, only the balls aren't reset, while score, time and level (GASP !) are.
If you want to continue in a 2 players game, BOTH players will have to continue, which means that
you must have at least 2 credits ("REPLAY") and that you can't continue player 2 without player 1.
- * If you manage to get a score, use BUTTON1 to cycle through avaiable symbols (letters A-Z and '.'),
+ * If you manage to get a score, use BUTTON1 to cycle through available symbols (letters A-Z and '.'),
and pull the plunger to at least 63% (the code expects a value >= 0xa0) to go to next initial.
Be aware that again there is a timer to do so, but that again the timer is not displayed.
- - Usefull addresses :
+ - Useful addresses :
* 0xe001.b : level (0x00-0x04 : 0x01 = level 1 - 0x02 = level 2 - 0x00 = level 3 - 0x3 = bonus - 0x04 = level 4)
* 0xe00f.b : player (0x00 = P1 - 0x01 = P2)
* 0xe016.w : P1 balls (MSB first)
diff --git a/src/mame/drivers/pcw.cpp b/src/mame/drivers/pcw.cpp
index 5a274bf4c0c..f213848c86e 100644
--- a/src/mame/drivers/pcw.cpp
+++ b/src/mame/drivers/pcw.cpp
@@ -51,7 +51,7 @@
The boot-program performs a simple task: Load sector 0, track 0 to &f000 in ram, and execute
&f010.
- From here CP/M is booted, and the appropiate programs can be run.
+ From here CP/M is booted, and the appropriate programs can be run.
The hardware:
- Z80 CPU running at 3.4 MHz
@@ -612,7 +612,7 @@ READ8_MEMBER(pcw_state::pcw_expansion_r)
}
- /* result from floating bus/no peripherial at this port */
+ /* result from floating bus/no peripheral at this port */
return 0x0ff;
}
diff --git a/src/mame/drivers/phoenix.cpp b/src/mame/drivers/phoenix.cpp
index 395ce097887..bb3e1e0e370 100644
--- a/src/mame/drivers/phoenix.cpp
+++ b/src/mame/drivers/phoenix.cpp
@@ -16,7 +16,7 @@ To Do:
Survival:
-- Check background visibile area. When the background scrolls up, it
+- Check background visible area. When the background scrolls up, it
currently shows below the top and bottom of the border of the play area.
diff --git a/src/mame/drivers/silvmil.cpp b/src/mame/drivers/silvmil.cpp
index d504a4932e6..a365dd8a2fc 100644
--- a/src/mame/drivers/silvmil.cpp
+++ b/src/mame/drivers/silvmil.cpp
@@ -264,7 +264,7 @@ static INPUT_PORTS_START( silvmil )
PORT_DIPSETTING( 0x1000, DEF_STR( 3C_2C ) ) /* Works like 2C/1C then 1C/1C repeat */
PORT_DIPSETTING( 0x2000, DEF_STR( 2C_2C ) ) /* Works the same as 1C/1C */
PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) )
- PORT_DIPNAME( 0x4000, 0x4000, "Coin Box" ) PORT_DIPLOCATION("SW2:7") /* Funtionally reversed?? */
+ PORT_DIPNAME( 0x4000, 0x4000, "Coin Box" ) PORT_DIPLOCATION("SW2:7") /* Functionally reversed?? */
PORT_DIPSETTING( 0x4000, "1" ) /* Credits from Coin1 or Coin2 */
PORT_DIPSETTING( 0x0000, "2" ) /* Doesn't credit up from Coin2 */
PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW2:8" ) /* Verified */
diff --git a/src/mame/drivers/snookr10.cpp b/src/mame/drivers/snookr10.cpp
index c6f51e64117..5c7161a028f 100644
--- a/src/mame/drivers/snookr10.cpp
+++ b/src/mame/drivers/snookr10.cpp
@@ -122,7 +122,7 @@
- Tile matrix and color data (video & color RAM) are totally encrypted/scrambled.
You can see the following table, where 'Normal tile #' is the tile number called
- to be drawn, and 'Scrambled tile #' is the phisical tile position in the matrix:
+ to be drawn, and 'Scrambled tile #' is the physical tile position in the matrix:
Normal | Scrambled
tile # | tile #
@@ -258,7 +258,7 @@
- Tile matrix and color data (video & color RAM) are totally encrypted/scrambled.
You can see the following table, where 'Normal tile #' is the tile number called
- to be drawn, and 'Scrambled tile #' is the phisical tile position in the matrix:
+ to be drawn, and 'Scrambled tile #' is the physical tile position in the matrix:
Normal | Scrambled
tile # | tile #
diff --git a/src/mame/drivers/spc1500.cpp b/src/mame/drivers/spc1500.cpp
index de7aff02a42..78331202047 100644
--- a/src/mame/drivers/spc1500.cpp
+++ b/src/mame/drivers/spc1500.cpp
@@ -90,7 +90,7 @@ TODO:
Hangul ROM
8KB each is divided by a consonant and consonant and neutral.
- - Inital (Choseong) SS151-1223: 8 types of intial character (actual 6 types)
+ - Initial (Choseong) SS151-1223: 8 types of intial character (actual 6 types)
- Middle (Jungseong) SS152-1224: 2 types of middle character
- Final (Jongseong) SS153-1225: 2 types of final character
diff --git a/src/mame/drivers/ti99_2.cpp b/src/mame/drivers/ti99_2.cpp
index 35740e9efcb..82415956646 100644
--- a/src/mame/drivers/ti99_2.cpp
+++ b/src/mame/drivers/ti99_2.cpp
@@ -30,7 +30,7 @@ general :
- Unlike tms9900, CRU address range is full 0x0000-0xFFFE (A0 is not used as address).
This is possible because tms9995 uses d0-d2 instead of the address MSBits to support external
opcodes.
- - quite more efficient than tms9900, and a few additionnal instructions and features
+ - quite more efficient than tms9900, and a few additional instructions and features
* 24 or 32kb ROM (16kb plain (1kb of which used by vdp), 16kb split into 2 8kb pages)
* 4kb 8-bit RAM, 256 bytes 16-bit RAM
* custom vdp shares CPU RAM/ROM. The display is quite alike to tms9928 graphics mode, except
diff --git a/src/mame/drivers/ti99_4p.cpp b/src/mame/drivers/ti99_4p.cpp
index a4e43e1c0b8..00a4c3d779c 100644
--- a/src/mame/drivers/ti99_4p.cpp
+++ b/src/mame/drivers/ti99_4p.cpp
@@ -563,7 +563,7 @@ WRITE16_MEMBER( ti99_4p_state::memwrite )
if (space.debugger_access()) { debugger_write(space, offset, data); return; }
// Writing the even address now (addr)
- // The databus multplexer puts the even value into the latch and outputs the odd value now.
+ // The databus multiplexer puts the even value into the latch and outputs the odd value now.
m_latch = (data >> 8) & 0xff;
// write odd byte
diff --git a/src/mame/drivers/x68k.cpp b/src/mame/drivers/x68k.cpp
index d6c74f5640b..dcb19498ca7 100644
--- a/src/mame/drivers/x68k.cpp
+++ b/src/mame/drivers/x68k.cpp
@@ -1480,7 +1480,7 @@ SLOT_INTERFACE_END
MACHINE_RESET_MEMBER(x68k_state,x68000)
{
/* The last half of the IPLROM is mapped to 0x000000 on reset only
- Just copying the inital stack pointer and program counter should
+ Just copying the initial stack pointer and program counter should
more or less do the same job */
int drive;
@@ -1584,7 +1584,7 @@ DRIVER_INIT_MEMBER(x68k_state,x68000)
}
#endif
- // copy last half of BIOS to a user region, to use for inital startup
+ // copy last half of BIOS to a user region, to use for initial startup
memcpy(user2,(rom+0xff0000),0x10000);
m_scanline_timer = timer_alloc(TIMER_X68K_HSYNC);
@@ -1681,7 +1681,7 @@ static MACHINE_CONFIG_START( x68000, x68k_state )
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(55.45)
- MCFG_SCREEN_SIZE(1096, 568) // inital setting
+ MCFG_SCREEN_SIZE(1096, 568) // initial setting
MCFG_SCREEN_VISIBLE_AREA(0, 767, 0, 511)
MCFG_SCREEN_UPDATE_DRIVER(x68k_state, screen_update_x68000)
diff --git a/src/mame/drivers/yunsun16.cpp b/src/mame/drivers/yunsun16.cpp
index 198edee2ab4..388f058c2fd 100644
--- a/src/mame/drivers/yunsun16.cpp
+++ b/src/mame/drivers/yunsun16.cpp
@@ -47,7 +47,7 @@ Stephh's notes (based on the games M68000 code and some tests) :
2) 'magicbua'
- - Additionnal 1P Vs COM mode with always only 1 winning round.
+ - Additional 1P Vs COM mode with always only 1 winning round.
- Starting in 1P Vs 2P mode costs 2 credits. If no "Continue Play", the winner continues.
And when a player joins in, if no "Continue Play", the winner also continues.
- There is an ingame bug when in 1P Vs 2P mode : whatever the settings are, there will
diff --git a/src/mame/includes/chihiro.h b/src/mame/includes/chihiro.h
index ada5eb240e4..44f7561d58d 100644
--- a/src/mame/includes/chihiro.h
+++ b/src/mame/includes/chihiro.h
@@ -160,7 +160,7 @@ struct nvidia_object_data
};
/*
- * geforce 3d (NV2A) accellerator
+ * geforce 3d (NV2A) accelerator
*/
/* very simplified view
there is a set of context objects
@@ -211,7 +211,7 @@ public:
};
enum class NV2A_VERTEX_ATTR {
POS = 0, // position
- WEIGHT = 1, // blend weigth
+ WEIGHT = 1, // blend weight
NORMAL = 2,
COLOR0 = 3, // diffuse
COLOR1 = 4, // specular
diff --git a/src/mame/includes/hec2hrp.h b/src/mame/includes/hec2hrp.h
index f4aae92e3ad..c2d81923fa4 100644
--- a/src/mame/includes/hec2hrp.h
+++ b/src/mame/includes/hec2hrp.h
@@ -29,7 +29,7 @@
=> add device MX80c and bank switching for the ROM
03/01/2010 Update and clean prog by yo_fr (jj.stac@aliceadsl.fr)
=> add the port mapping for keyboard
- 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)
don't forget to keep some information about these machine see DChector project : http://dchector.free.fr/ made by DanielCoulom
diff --git a/src/mame/includes/hp48.h b/src/mame/includes/hp48.h
index bb680395f51..d2b128d606f 100644
--- a/src/mame/includes/hp48.h
+++ b/src/mame/includes/hp48.h
@@ -127,7 +127,7 @@ public:
DECLARE_READ32_MEMBER( hp48_reg_in );
DECLARE_WRITE32_MEMBER( hp48_reg_out );
- /* keybord interrupt system */
+ /* keyboard interrupt system */
DECLARE_WRITE_LINE_MEMBER( hp48_rsi );
};
diff --git a/src/mame/includes/iremipt.h b/src/mame/includes/iremipt.h
index 2442a37c02a..582c13cd039 100644
--- a/src/mame/includes/iremipt.h
+++ b/src/mame/includes/iremipt.h
@@ -2,7 +2,7 @@
// copyright-holders:Bryan McPhail, Nicola Salmoria
/*******************************************************************************
- Input port macros used by many games in mutiple IREM drivers
+ Input port macros used by many games in multiple IREM drivers
*******************************************************************************/
diff --git a/src/mame/includes/lisa.h b/src/mame/includes/lisa.h
index 1aee9e41553..ec6cea36036 100644
--- a/src/mame/includes/lisa.h
+++ b/src/mame/includes/lisa.h
@@ -86,7 +86,7 @@ struct lisa_features_t
I simply don't understand : in one case the VIA is
connected to the 68k E clock, which is CPUCK/10, and in
another case, to a generated PH2 clock which is CPUCK/4,
- with additionnal logic to keep it in phase with the 68k
+ with additional logic to keep it in phase with the 68k
memory cycle. After hearing the beep when MacWorks XL
boots, I bet the correct values are .625 MHz and .5 MHz.
Maybe the schematics are wrong, and PH2 is CPUCK/8.
diff --git a/src/mame/includes/segahang.h b/src/mame/includes/segahang.h
index 81a1c0b8e4b..397a6ea635a 100644
--- a/src/mame/includes/segahang.h
+++ b/src/mame/includes/segahang.h
@@ -57,7 +57,7 @@ public:
// Z80 sound CPU read/write handlers
DECLARE_READ8_MEMBER( sound_data_r );
- // I8751-related VBLANK interrupt hanlders
+ // I8751-related VBLANK interrupt handlers
INTERRUPT_GEN_MEMBER( i8751_main_cpu_vblank );
// game-specific driver init
diff --git a/src/mame/includes/segaipt.h b/src/mame/includes/segaipt.h
index c2ed629f2de..029e417d0f1 100644
--- a/src/mame/includes/segaipt.h
+++ b/src/mame/includes/segaipt.h
@@ -49,10 +49,10 @@
// -----------------+-----------------+-----------------
// FREE PLAY | ON ON ON ON & ON ON ON ON
// -----------------+-----------------+-----------------
-// COIN SWITCH 1 | ON ON ON ON | (anywhare OFF)
+// COIN SWITCH 1 | ON ON ON ON | (anywhere OFF)
// 1COIN 1CREDIT | |
// -----------------+-----------------+-----------------
-// COIN SWITCH 2 | (anywhare OFF) | ON ON ON ON
+// COIN SWITCH 2 | (anywhere OFF) | ON ON ON ON
// 1COIN 1CREDIT | |
// [exception 1] not have free play
@@ -66,8 +66,8 @@
// example "Riddle of Pythagoras"
// -----------------+-----------------+-----------------
// FREE PLAY | ON ON ON ON | ON ON ON ON
-// | ON ON ON ON | (anywhare OFF)
-// | (anywhare OFF) | ON ON ON ON
+// | ON ON ON ON | (anywhere OFF)
+// | (anywhere OFF) | ON ON ON ON
#define SEGA_COINAGE_A_PART_H \
PORT_DIPSETTING( 0x07, DEF_STR( 4C_1C ) ) \
@@ -117,7 +117,7 @@
SEGA_COINAGE_B_PART_L \
PORT_DIPSETTING( 0x00, "Free Play (if Coin A too) or 1/1" )
-// [exception 1] not have free play (allow duplicated settins, show 0x00)
+// [exception 1] not have free play (allow duplicated settings, show 0x00)
#define SEGA_COINAGE_NO_FREE_LOC(DIPBANK) \
PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) ) PORT_DIPLOCATION(#DIPBANK":1,2,3,4") \
SEGA_COINAGE_A_PART_H \
@@ -128,7 +128,7 @@
PORT_DIPSETTING( 0x00, " 1 Coin/1 Credit" ) \
SEGA_COINAGE_B_PART_L
-// [exception 1.1] not have free play (forbid duplicated settins, hide 0x00)
+// [exception 1.1] not have free play (forbid duplicated settings, hide 0x00)
#define SEGA_COINAGE_NO_FREE_NO_DUP_LOC(DIPBANK) \
PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) ) PORT_DIPLOCATION(#DIPBANK":1,2,3,4") \
SEGA_COINAGE_A_PART_H \
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index 35687540f87..812f86ba242 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -8,14 +8,14 @@
* * there are two HBLANK/HSYNC periods as the horizontal
* chain is drawn, which would give an alternating long
* line followed by a much shorter one. This cannot be right
- * * the carry-out/load circuit on LS161@J8 is superflous
+ * * the carry-out/load circuit on LS161@J8 is superfluous
*
* These values also give a frame rate of about 45Hz, which is
* probably too low. I suspect that screen is not really
* 512 pixels wide -- most likely 384, which would give 60Hz
*
* Some of the graphics, like the starfield, is clocked with the
- * 12MHz signal, effecitvely doubling the horizontal resolution
+ * 12MHz signal, effectively doubling the horizontal resolution
*/
#include "sound/discrete.h"
diff --git a/src/mame/includes/swtpc09.h b/src/mame/includes/swtpc09.h
index 23f0906d4fc..f648223c73c 100644
--- a/src/mame/includes/swtpc09.h
+++ b/src/mame/includes/swtpc09.h
@@ -113,7 +113,7 @@ public:
uint8_t m_fdc_dma_address_reg; // dmf2 or dmf3 dma extended address reg
uint8_t m_system_type; // flag to indicate hw and rom combination
uint8_t m_fdc_status; // for floppy controller
- uint8_t m_via_ca1_input; // dmf3 fdc interupt is connected here
+ uint8_t m_via_ca1_input; // dmf3 fdc interrupt is connected here
uint8_t m_dmf3_via_porta;
uint8_t m_piaide_porta;
uint8_t m_piaide_portb;
diff --git a/src/mame/includes/thomson.h b/src/mame/includes/thomson.h
index 0ac25c6a9d3..a0c0745b7f9 100644
--- a/src/mame/includes/thomson.h
+++ b/src/mame/includes/thomson.h
@@ -423,8 +423,8 @@ protected:
uint8_t m_to9_kbd_in; /* data from keyboard */
uint8_t m_to9_kbd_status; /* status */
uint8_t m_to9_kbd_overrun; /* character lost */
- uint8_t m_to9_kbd_periph; /* peripherial mode */
- uint8_t m_to9_kbd_byte_count; /* byte-count in peripherial mode */
+ uint8_t m_to9_kbd_periph; /* peripheral mode */
+ uint8_t m_to9_kbd_byte_count; /* byte-count in peripheral mode */
uint16_t m_to9_mouse_x;
uint16_t m_to9_mouse_y;
uint8_t m_to9_kbd_last_key; /* for key repetition */
@@ -454,7 +454,7 @@ protected:
/* We allow choosing dynamically:
- the border size
- whether we use 640 pixels or 320 pixels in an active row
- (now this is automatically choosen by default for each frame)
+ (now this is automatically chosen by default for each frame)
*/
uint16_t m_thom_bwidth;
uint16_t m_thom_bheight;
@@ -474,7 +474,7 @@ protected:
/* lightpen callback function to call from timer */
void (thomson_state::*m_thom_lightpen_cb)(int step);
uint8_t* m_thom_vram; /* pointer to video memory */
- emu_timer* m_thom_scanline_timer; /* scan-line udpate */
+ emu_timer* m_thom_scanline_timer; /* scan-line update */
uint16_t m_thom_last_pal[16]; /* palette at last scanline start */
uint16_t m_thom_pal[16]; /* current palette */
uint8_t m_thom_pal_changed; /* whether pal != old_pal */
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 */
diff --git a/src/mame/video/911_chr.h b/src/mame/video/911_chr.h
index 074b485f57c..c972eb975cf 100644
--- a/src/mame/video/911_chr.h
+++ b/src/mame/video/911_chr.h
@@ -44,7 +44,7 @@ enum
{
/* US ASCII: 128 characters (32 symbols + 95 ASCII + 1 blank (delete character)) */
char_defs_US_base = 0,
- /* additionnal katakana set (128 characters, including JIS set) */
+ /* additional katakana set (128 characters, including JIS set) */
char_defs_katakana_base = char_defs_US_base+128,
/* extra symbols for national character sets */
char_defs_pound = char_defs_katakana_base+128, /* pound sign (UK 0x23, French WP 0x23) */
@@ -89,7 +89,7 @@ static const char_override_t UK_overrides[1] =
{ 0x23, char_defs_pound }
};
-/* One Japan-specific character (see below for the 128 additionnal characters) */
+/* One Japan-specific character (see below for the 128 additional characters) */
static const char_override_t japanese_overrides[1] =
{
{ 0x5C, char_defs_yen }
diff --git a/src/mame/video/911_vdt.h b/src/mame/video/911_vdt.h
index 519d49cf357..ea495f12d1e 100644
--- a/src/mame/video/911_vdt.h
+++ b/src/mame/video/911_vdt.h
@@ -86,7 +86,7 @@ private:
uint8_t m_keyboard_data; // last code pressed on keyboard
bool m_keyboard_data_ready; // true if there is a new code in keyboard_data
- bool m_keyboard_interrupt_enable; // true when keybord interrupts are enabled
+ bool m_keyboard_interrupt_enable; // true when keyboard interrupts are enabled
bool m_display_enable; // screen is black when false
bool m_dual_intensity_enable; // if true, MSBit of ASCII codes controls character highlight
diff --git a/src/mame/video/angelkds.cpp b/src/mame/video/angelkds.cpp
index bcd83e5cc2b..63700ca7313 100644
--- a/src/mame/video/angelkds.cpp
+++ b/src/mame/video/angelkds.cpp
@@ -236,7 +236,7 @@ uint32_t angelkds_state::screen_update_angelkds(screen_device &screen, bitmap_in
const rectangle &visarea = screen.visible_area();
rectangle clip;
- bitmap.fill(0x3f, cliprect); /* is there a register controling the colour?, we currently use the last colour of the tx palette */
+ bitmap.fill(0x3f, cliprect); /* is there a register controlling the colour?, we currently use the last colour of the tx palette */
/* draw top of screen */
clip.set(8*0, 8*16-1, visarea.min_y, visarea.max_y);
diff --git a/src/mame/video/gic.h b/src/mame/video/gic.h
index f6569e34475..b6568f21f0d 100644
--- a/src/mame/video/gic.h
+++ b/src/mame/video/gic.h
@@ -69,7 +69,7 @@ public:
//plgDavid please change this to a MESS friendly handshake
void set_shared_memory(const uint8_t*m){ m_ram = m;};
- // Global constants (non mesured figures)
+ // Global constants (non measured figures)
static const int START_ACTIVE_SCAN = 10;
static const int BORDER_SIZE = GIC_CHAR_W*3;
static const int END_ACTIVE_SCAN = 10 + GIC_CHAR_W*2 + 150 + GIC_CHAR_W*2;
diff --git a/src/mame/video/gime.h b/src/mame/video/gime.h
index 607430ca46c..3e141df22a4 100644
--- a/src/mame/video/gime.h
+++ b/src/mame/video/gime.h
@@ -76,7 +76,7 @@ public:
void update_cart_rom(void);
/* updates the screen -- this will call begin_update(),
- followed by update_row() reapeatedly and after all row
+ followed by update_row() repeatedly and after all row
updating is complete, end_update() */
bool update_composite(bitmap_rgb32 &bitmap, const rectangle &cliprect);
bool update_rgb(bitmap_rgb32 &bitmap, const rectangle &cliprect);
diff --git a/src/mame/video/gstriker.cpp b/src/mame/video/gstriker.cpp
index ae49c6668e2..72e1ee4c1bc 100644
--- a/src/mame/video/gstriker.cpp
+++ b/src/mame/video/gstriker.cpp
@@ -36,9 +36,9 @@ uint32_t gstriker_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
void gstriker_state::video_start()
{
- // Initalize the chip for the score plane
+ // Initialize the chip for the score plane
m_tx->get_tilemap()->set_transparent_pen(0xf);
- // Initalize the chip for the screen plane
+ // Initialize the chip for the screen plane
m_bg->get_tilemap()->set_transparent_pen(0xf);
}
diff --git a/src/mame/video/jagblit.h b/src/mame/video/jagblit.h
index b9edd498364..cfbd35dceac 100644
--- a/src/mame/video/jagblit.h
+++ b/src/mame/video/jagblit.h
@@ -63,7 +63,7 @@
W --x----- -------- -------- -------- (BUSHI - hi priority bus)
W ---x---- -------- -------- -------- (BKGWREN - writeback destination)
W ----x--- -------- -------- -------- (DCOMPEN - write inhibit from data comparator)
- W -----x-- -------- -------- -------- (BCOMPEN - write inhibit from bit coparator)
+ W -----x-- -------- -------- -------- (BCOMPEN - write inhibit from bit comparator)
W ------x- -------- -------- -------- (CMPDST - compare dest instead of src)
W -------x xxx----- -------- -------- (logical operation)
W -------- ---xxx-- -------- -------- (ZMODE - Z comparator mode)
diff --git a/src/mame/video/konamigx.cpp b/src/mame/video/konamigx.cpp
index bfeb26a2426..c637dfd9197 100644
--- a/src/mame/video/konamigx.cpp
+++ b/src/mame/video/konamigx.cpp
@@ -674,7 +674,7 @@ void konamigx_state::gx_draw_basic_tilemaps(screen_device &screen, bitmap_rgb32
/* blend layer only when:
1) m_vinmix != 0xff
2) its internal mix code is set
- 3) all mix code bits are internal(overriden until tile blending has been implemented)
+ 3) all mix code bits are internal(overridden until tile blending has been implemented)
4) 0 > alpha < 255;
*/
if (temp1!=0xff && temp2 /*&& temp3==3*/)
diff --git a/src/mame/video/ppu2c0x.h b/src/mame/video/ppu2c0x.h
index 8d75ed459ec..d426630eb64 100644
--- a/src/mame/video/ppu2c0x.h
+++ b/src/mame/video/ppu2c0x.h
@@ -214,7 +214,7 @@ public:
int m_scan_scale; /* scan scale */
int m_scanlines_per_frame; /* number of scanlines per frame */
int m_security_value; /* 2C05 protection */
- int m_tilecount; /* MMC5 can change attributes to subsets of the 34 visibile tiles */
+ int m_tilecount; /* MMC5 can change attributes to subsets of the 34 visible tiles */
int m_draw_phase; /* MMC5 uses different regs for BG and OAM */
ppu2c0x_latch_delegate m_latch;
diff --git a/src/mame/video/stic.h b/src/mame/video/stic.h
index 4a341297c65..f80c91955cb 100644
--- a/src/mame/video/stic.h
+++ b/src/mame/video/stic.h
@@ -177,7 +177,7 @@ enum
* +-+-+-+-+-+-+----+----+----+----+----+----+----+----+----+----+ *
* *
* SPRn 1=collision with sprite #n *
- * BKGD 1=collsion with set background bit *
+ * BKGD 1=collision with set background bit *
* BRDR 1=collision with screen border *
* *
****************************************************************************
diff --git a/src/mame/video/tbowl.cpp b/src/mame/video/tbowl.cpp
index cec4b27dc80..a9551de6bea 100644
--- a/src/mame/video/tbowl.cpp
+++ b/src/mame/video/tbowl.cpp
@@ -136,7 +136,7 @@ uint32_t tbowl_state::screen_update_left(screen_device &screen, bitmap_ind16 &bi
m_tx_tilemap->set_scrollx(0, 0 );
m_tx_tilemap->set_scrolly(0, 0 );
- bitmap.fill(0x100, cliprect); /* is there a register controling the colour? looks odd when screen is blank */
+ bitmap.fill(0x100, cliprect); /* is there a register controlling the colour? looks odd when screen is blank */
m_bg_tilemap->draw(screen, bitmap, cliprect, 0,0);
m_sprgen->tbowl_draw_sprites(bitmap,cliprect, m_gfxdecode, 0, m_spriteram);
m_bg2_tilemap->draw(screen, bitmap, cliprect, 0,0);
@@ -154,7 +154,7 @@ uint32_t tbowl_state::screen_update_right(screen_device &screen, bitmap_ind16 &b
m_tx_tilemap->set_scrollx(0, 32*8 );
m_tx_tilemap->set_scrolly(0, 0 );
- bitmap.fill(0x100, cliprect); /* is there a register controling the colour? looks odd when screen is blank */
+ bitmap.fill(0x100, cliprect); /* is there a register controlling the colour? looks odd when screen is blank */
m_bg_tilemap->draw(screen, bitmap, cliprect, 0,0);
m_sprgen->tbowl_draw_sprites(bitmap,cliprect, m_gfxdecode, 32*8, m_spriteram);
m_bg2_tilemap->draw(screen, bitmap, cliprect, 0,0);
diff --git a/src/osd/eminline.h b/src/osd/eminline.h
index f7159a522e3..fa9d3083941 100644
--- a/src/osd/eminline.h
+++ b/src/osd/eminline.h
@@ -4,7 +4,7 @@
eminline.h
- Definitions for inline functions that can be overriden by OSD-
+ Definitions for inline functions that can be overridden by OSD-
specific code.
***************************************************************************/
diff --git a/src/osd/modules/file/windir.cpp b/src/osd/modules/file/windir.cpp
index a950c12dbe3..84cdf367928 100644
--- a/src/osd/modules/file/windir.cpp
+++ b/src/osd/modules/file/windir.cpp
@@ -139,4 +139,4 @@ directory::ptr directory::open(std::string const &dirname)
return ptr(std::move(dir));
}
-} // namesapce osd
+} // namespace osd
diff --git a/src/osd/modules/file/winrtdir.cpp b/src/osd/modules/file/winrtdir.cpp
index ac5c9ecaabb..dc0a9ae7408 100644
--- a/src/osd/modules/file/winrtdir.cpp
+++ b/src/osd/modules/file/winrtdir.cpp
@@ -139,4 +139,4 @@ directory::ptr directory::open(std::string const &dirname)
return ptr(std::move(dir));
}
-} // namesapce osd
+} // namespace osd
diff --git a/src/osd/modules/opengl/gl_shader_tool.cpp b/src/osd/modules/opengl/gl_shader_tool.cpp
index 33cbac2d129..dedb59fbb7c 100644
--- a/src/osd/modules/opengl/gl_shader_tool.cpp
+++ b/src/osd/modules/opengl/gl_shader_tool.cpp
@@ -2,11 +2,11 @@
// copyright-holders:Sven Gothel
/***
*
- * GL Shader Tool - Convinient Basic Shader functionality
+ * GL Shader Tool - Convenient Basic Shader functionality
*
* Copyright (c) 2007, Sven Gothel
*
- * OpenGL GLSL ARB extentions:
+ * OpenGL GLSL ARB extensions:
*
* GL_ARB_shader_objects
* GL_ARB_shading_language_100
diff --git a/src/osd/modules/opengl/gl_shader_tool.h b/src/osd/modules/opengl/gl_shader_tool.h
index 921a68d96df..2e0160cf85d 100644
--- a/src/osd/modules/opengl/gl_shader_tool.h
+++ b/src/osd/modules/opengl/gl_shader_tool.h
@@ -2,14 +2,14 @@
// copyright-holders:Sven Gothel
/***
*
- * GL Shader Tool - Convinient Basic Shader functionality
+ * GL Shader Tool - Convenient Basic Shader functionality
*
* Copyright (c) 2007, Sven Gothel
* Copyright (c) 2007, MAME Team
*
* GPL version 2
*
- * OpenGL GLSL ARB extentions:
+ * OpenGL GLSL ARB extensions:
*
* GL_ARB_shader_objects
* GL_ARB_shading_language_100
@@ -28,7 +28,7 @@ extern "C" {
/***
*
- * OpenGL GLSL extentions:
+ * OpenGL GLSL extensions:
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_vertex_shader
@@ -100,7 +100,7 @@ int gl_round_to_pow2(int v);
/**
* @param obj_query Can be either GL_OBJECT_TYPE_ARB, GL_OBJECT_DELETE_STATUS_ARB, GL_OBJECT_COMPILE_STATUS_ARB,
* GL_OBJECT_LINK_STATUS_ARB, GL_OBJECT_VALIDATE_STATUS_ARB
- * Should be used after the refering action, i.e. GL_OBJECT_DELETE_STATUS_ARB after a
+ * Should be used after the referring action, i.e. GL_OBJECT_DELETE_STATUS_ARB after a
* glDeleteObjectARB call, etc.
*/
int gl_shader_check_error(GLhandleARB obj, GLenum obj_query, GLSLCheckMode m, const char *file, const int line);
diff --git a/src/osd/modules/osdmodule.h b/src/osd/modules/osdmodule.h
index 80a07164bb3..95178b27f70 100644
--- a/src/osd/modules/osdmodule.h
+++ b/src/osd/modules/osdmodule.h
@@ -4,7 +4,7 @@
osdmodule.h
- OSD module manangement
+ OSD module management
*******************************************************************c********/
diff --git a/src/osd/modules/render/drawd3d.cpp b/src/osd/modules/render/drawd3d.cpp
index d0a1ce6c9d1..ec1a8af0898 100644
--- a/src/osd/modules/render/drawd3d.cpp
+++ b/src/osd/modules/render/drawd3d.cpp
@@ -852,7 +852,7 @@ try_again:
m_adapter, D3DDEVTYPE_HAL, device_hwnd, D3DCREATE_SOFTWARE_VERTEXPROCESSING | D3DCREATE_FPU_PRESERVE, &m_presentation, &m_device);
if (FAILED(result))
{
- // if we got a "DEVICELOST" error, it may be transitory; count it and only fail if
+ // if we got a "DEVICELOST" error, it may be transistory; count it and only fail if
// we exceed a threshold
if (result == D3DERR_DEVICELOST)
{
diff --git a/src/osd/osdsync.h b/src/osd/osdsync.h
index 27497d674d3..71726a830cf 100644
--- a/src/osd/osdsync.h
+++ b/src/osd/osdsync.h
@@ -22,7 +22,7 @@
#define OSD_EVENT_WAIT_INFINITE (~(osd_ticks_t)0)
-/* osd_event is an opaque type which represents a setable/resetable event */
+/* osd_event is an opaque type which represents a setable/resettable event */
class osd_event
{
diff --git a/src/tools/imgtool/formats/coco_dsk.cpp b/src/tools/imgtool/formats/coco_dsk.cpp
index df15ae3d0d2..5e4a855e3f3 100644
--- a/src/tools/imgtool/formats/coco_dsk.cpp
+++ b/src/tools/imgtool/formats/coco_dsk.cpp
@@ -262,7 +262,7 @@ static FLOPPY_CONSTRUCT(coco_jvc_construct)
* $04 value
* $0B 2 owner's user number; normally 0
* $0D 1 disk attributes; normally $FF
- * $0E 2 psuedo random number for identification
+ * $0E 2 pseudo random number for identification
* $10 1 disk format; typical is 3
* %00000001 0=single side 1=double side
* %00000010 0=single density (non Coco) 1=double density
diff --git a/src/tools/imgtool/imgtool.h b/src/tools/imgtool/imgtool.h
index 8d40e109fb8..fb1b6023fff 100644
--- a/src/tools/imgtool/imgtool.h
+++ b/src/tools/imgtool/imgtool.h
@@ -48,7 +48,7 @@ enum
* marking up return codes with the source. In addition, some of the img_*
* calls are high level calls that simply image manipulation
*
- * Calls that return 'int' that are not explictly noted otherwise return
+ * Calls that return 'int' that are not explicitly noted otherwise return
* imgtool error codes
* ---------------------------------------------------------------------------
*/
@@ -124,7 +124,7 @@ namespace imgtool
object_pool *m_pool;
void *m_extra_bytes;
- // because of an idiosycracy of how imgtool::image::internal_open() works, we are only "okay to close"
+ // because of an idiosyncrasy of how imgtool::image::internal_open() works, we are only "okay to close"
// by invoking the module's close function once internal_open() succeeds. the long term solution is
// better C++ adoption (e.g. - std::unique_ptr<>, std:move() etc)
bool m_okay_to_close;
diff --git a/src/tools/imgtool/library.cpp b/src/tools/imgtool/library.cpp
index b637a0fc0ac..c534833da2e 100644
--- a/src/tools/imgtool/library.cpp
+++ b/src/tools/imgtool/library.cpp
@@ -4,7 +4,7 @@
library.cpp
- Code relevant to the Imgtool library; analgous to the MESS/MAME driver
+ Code relevant to the Imgtool library; analogous to the MESS/MAME driver
list.
****************************************************************************/
diff --git a/src/tools/imgtool/library.h b/src/tools/imgtool/library.h
index 59b75be447d..e85ce7bebaf 100644
--- a/src/tools/imgtool/library.h
+++ b/src/tools/imgtool/library.h
@@ -4,7 +4,7 @@
library.h
- Code relevant to the Imgtool library; analgous to the MESS/MAME driver
+ Code relevant to the Imgtool library; analogous to the MESS/MAME driver
list.
Unlike MESS and MAME which have static driver lists, Imgtool has a