summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/cpu/am29000/am29000.c2
-rw-r--r--src/emu/cpu/apexc/apexcdsm.c2
-rw-r--r--src/emu/cpu/g65816/g65816.c2
-rw-r--r--src/emu/cpu/hd6309/6309ops.c16
-rw-r--r--src/emu/cpu/hd6309/hd6309.c4
-rw-r--r--src/emu/cpu/i86/i86.txt2
-rw-r--r--src/emu/cpu/i86/instr186.c2
-rw-r--r--src/emu/cpu/i86/instr86.c2
-rw-r--r--src/emu/cpu/i86/instr86.h2
-rw-r--r--src/emu/cpu/i860/i860dec.c4
-rw-r--r--src/emu/cpu/konami/konami.c2
-rw-r--r--src/emu/cpu/m6809/m6809.c2
-rw-r--r--src/emu/cpu/pic16c5x/dis16c5x.c2
-rw-r--r--src/emu/cpu/pic16c5x/pic16c5x.c2
-rw-r--r--src/emu/cpu/pic16c62x/dis16c62x.c2
-rw-r--r--src/emu/cpu/pic16c62x/pic16c62x.c2
-rw-r--r--src/emu/cpu/sc61860/readpc.c4
-rw-r--r--src/emu/cpu/sc61860/scdasm.c4
-rw-r--r--src/emu/cpu/tms0980/tms0980.c4
-rw-r--r--src/emu/cpu/tms32010/dis32010.c2
-rw-r--r--src/emu/cpu/tms32025/dis32025.c2
-rw-r--r--src/emu/cpu/tms32025/tms32025.c4
-rw-r--r--src/emu/cpu/tms32051/32051ops.c4
-rw-r--r--src/emu/cpu/tms9900/99xxcore.h8
-rw-r--r--src/emu/crsshair.h2
-rw-r--r--src/emu/imagedev/flopdrv.c2
-rw-r--r--src/emu/imagedev/flopdrv.h2
-rw-r--r--src/emu/machine/8042kbdc.c10
-rw-r--r--src/emu/machine/ins8250.c2
-rw-r--r--src/emu/machine/intelfsh.c2
-rw-r--r--src/emu/machine/matsucd.c2
-rw-r--r--src/emu/softlist.c2
-rw-r--r--src/emu/sound/digitalk.c2
-rw-r--r--src/emu/sound/disc_dev.c14
-rw-r--r--src/emu/sound/disc_mth.c8
-rw-r--r--src/emu/sound/disc_wav.c2
-rw-r--r--src/emu/sound/discrete.h10
-rw-r--r--src/emu/sound/es5506.c2
-rw-r--r--src/emu/sound/fm.c8
-rw-r--r--src/emu/sound/fm2612.c4
-rw-r--r--src/emu/sound/fmopl.c2
-rw-r--r--src/emu/sound/k054539.h2
-rw-r--r--src/emu/sound/mos6560.c2
-rw-r--r--src/emu/sound/okim9810.c2
-rw-r--r--src/emu/sound/s14001a.c2
-rw-r--r--src/emu/sound/sp0256.c2
-rw-r--r--src/emu/sound/speaker.c4
-rw-r--r--src/emu/sound/tms5220.c6
-rw-r--r--src/emu/sound/vlm5030.c2
-rw-r--r--src/emu/sound/ym2413.c2
-rw-r--r--src/emu/sound/ymf262.c2
-rw-r--r--src/emu/uimenu.c2
-rw-r--r--src/emu/video/k053250.c2
53 files changed, 94 insertions, 94 deletions
diff --git a/src/emu/cpu/am29000/am29000.c b/src/emu/cpu/am29000/am29000.c
index cbaf9a238fb..f23a5ca4d5c 100644
--- a/src/emu/cpu/am29000/am29000.c
+++ b/src/emu/cpu/am29000/am29000.c
@@ -259,7 +259,7 @@ static void external_irq_check(am29000_state *am29000)
return;
}
}
- /* Set interrupt pending bit if interupt was disabled */
+ /* Set interrupt pending bit if interrupt was disabled */
am29000->cps |= CPS_IP;
}
else
diff --git a/src/emu/cpu/apexc/apexcdsm.c b/src/emu/cpu/apexc/apexcdsm.c
index f6a9a2c4c89..61752703f74 100644
--- a/src/emu/cpu/apexc/apexcdsm.c
+++ b/src/emu/cpu/apexc/apexcdsm.c
@@ -18,7 +18,7 @@
Since the only assembler for the APEXC that I know of uses numerical data
(yes, mnemonics are numbers), I do not know if there is an official way of writing
APEXC assembly on a text terminal. The format I chose is closely inspired by
- the assembly format found in Booth, but was slightly adapted to accomodate
+ the assembly format found in Booth, but was slightly adapted to accommodate
the lack of subscripts and of a 'greater or equal' character.
Printed format Name
diff --git a/src/emu/cpu/g65816/g65816.c b/src/emu/cpu/g65816/g65816.c
index 1b9b958fb4c..bbffa15de2a 100644
--- a/src/emu/cpu/g65816/g65816.c
+++ b/src/emu/cpu/g65816/g65816.c
@@ -30,7 +30,7 @@ Changes:
0.94 (2007-06-14):
Zsolt Vasvari
- - Removed unneccessary checks from MVP and MVN
+ - Removed unnecessary checks from MVP and MVN
0.93 (2003-07-05):
Angelo Salese
diff --git a/src/emu/cpu/hd6309/6309ops.c b/src/emu/cpu/hd6309/6309ops.c
index 55c44179466..533185b0e54 100644
--- a/src/emu/cpu/hd6309/6309ops.c
+++ b/src/emu/cpu/hd6309/6309ops.c
@@ -938,7 +938,7 @@ OP_HANDLER( tfmpp )
case 2: srcValue = RM(Y++); break;
case 3: srcValue = RM(U++); break;
case 4: srcValue = RM(S++); break;
- default: IIError(m68_state); return; /* reg PC thru F */
+ default: IIError(m68_state); return; /* reg PC through F */
}
switch(tb&15) {
@@ -947,7 +947,7 @@ OP_HANDLER( tfmpp )
case 2: WM(Y++, srcValue); break;
case 3: WM(U++, srcValue); break;
case 4: WM(S++, srcValue); break;
- default: IIError(m68_state); return; /* reg PC thru F */
+ default: IIError(m68_state); return; /* reg PC through F */
}
PCD = PCD - 3;
@@ -972,7 +972,7 @@ OP_HANDLER( tfmmm )
case 2: srcValue = RM(Y--); break;
case 3: srcValue = RM(U--); break;
case 4: srcValue = RM(S--); break;
- default: IIError(m68_state); return; /* reg PC thru F */
+ default: IIError(m68_state); return; /* reg PC through F */
}
switch(tb&15) {
@@ -981,7 +981,7 @@ OP_HANDLER( tfmmm )
case 2: WM(Y--, srcValue); break;
case 3: WM(U--, srcValue); break;
case 4: WM(S--, srcValue); break;
- default: IIError(m68_state); return; /* reg PC thru F */
+ default: IIError(m68_state); return; /* reg PC through F */
}
PCD = PCD - 3;
@@ -1006,7 +1006,7 @@ OP_HANDLER( tfmpc )
case 2: srcValue = RM(Y++); break;
case 3: srcValue = RM(U++); break;
case 4: srcValue = RM(S++); break;
- default: IIError(m68_state); return; /* reg PC thru F */
+ default: IIError(m68_state); return; /* reg PC through F */
}
switch(tb&15) {
@@ -1015,7 +1015,7 @@ OP_HANDLER( tfmpc )
case 2: WM(Y, srcValue); break;
case 3: WM(U, srcValue); break;
case 4: WM(S, srcValue); break;
- default: IIError(m68_state); return; /* reg PC thru F */
+ default: IIError(m68_state); return; /* reg PC through F */
}
PCD = PCD - 3;
@@ -1040,7 +1040,7 @@ OP_HANDLER( tfmcp )
case 2: srcValue = RM(Y); break;
case 3: srcValue = RM(U); break;
case 4: srcValue = RM(S); break;
- default: IIError(m68_state); return; /* reg PC thru F */
+ default: IIError(m68_state); return; /* reg PC through F */
}
switch(tb&15) {
@@ -1049,7 +1049,7 @@ OP_HANDLER( tfmcp )
case 2: WM(Y++, srcValue); break;
case 3: WM(U++, srcValue); break;
case 4: WM(S++, srcValue); break;
- default: IIError(m68_state); return; /* reg PC thru F */
+ default: IIError(m68_state); return; /* reg PC through F */
}
PCD = PCD - 3;
diff --git a/src/emu/cpu/hd6309/hd6309.c b/src/emu/cpu/hd6309/hd6309.c
index f7f1aed5e39..4e31116ad08 100644
--- a/src/emu/cpu/hd6309/hd6309.c
+++ b/src/emu/cpu/hd6309/hd6309.c
@@ -5,7 +5,7 @@
References:
- HD63B09EP Technical Refrence Guide, by Chet Simpson with addition
+ HD63B09EP Technical Reference Guide, by Chet Simpson with addition
by Alan Dekok
6809 Simulator V09, By L.C. Benschop, Eidnhoven The Netherlands.
@@ -225,7 +225,7 @@ INLINE void fetch_effective_address( m68_state_t *m68_state );
#define M6809_CWAI 8 /* set when CWAI is waiting for an interrupt */
#define M6809_SYNC 16 /* set when SYNC is waiting for an interrupt */
-#define M6809_LDS 32 /* set when LDS occured at least once */
+#define M6809_LDS 32 /* set when LDS occurred at least once */
/****************************************************************************/
/* Read a byte from given memory location */
diff --git a/src/emu/cpu/i86/i86.txt b/src/emu/cpu/i86/i86.txt
index c9234bfafd8..ecf17e0e424 100644
--- a/src/emu/cpu/i86/i86.txt
+++ b/src/emu/cpu/i86/i86.txt
@@ -9,7 +9,7 @@ excellent info in Hamarsoft's 86BUGS list
8086/8088
---------
-20 bit adress bus, 16 bit data bus and registers
+20 bit address bus, 16 bit data bus and registers
many 8080 assembler sources should be compilable/reusable
8086
diff --git a/src/emu/cpu/i86/instr186.c b/src/emu/cpu/i86/instr186.c
index 8cc7e213834..3863dccd088 100644
--- a/src/emu/cpu/i86/instr186.c
+++ b/src/emu/cpu/i86/instr186.c
@@ -4,7 +4,7 @@
****************************************************************************/
// file will be included in all cpu variants
-// function renaming will be added when neccessary
+// function renaming will be added when necessary
// timing value should move to separate array
#undef ICOUNT
diff --git a/src/emu/cpu/i86/instr86.c b/src/emu/cpu/i86/instr86.c
index 595b0ec6f3f..005683de848 100644
--- a/src/emu/cpu/i86/instr86.c
+++ b/src/emu/cpu/i86/instr86.c
@@ -6,7 +6,7 @@
/*
* file will be included in all cpu variants
* put non i86 instructions in own files (i286, i386, nec)
- * function renaming will be added when neccessary
+ * function renaming will be added when necessary
* timing value should move to separate array
*/
diff --git a/src/emu/cpu/i86/instr86.h b/src/emu/cpu/i86/instr86.h
index 620bc32620d..5750d1738e9 100644
--- a/src/emu/cpu/i86/instr86.h
+++ b/src/emu/cpu/i86/instr86.h
@@ -10,7 +10,7 @@
// file will be included in all cpu variants
// put non i86 instructions in own files (i286, i386, nec)
-// function renaming will be added when neccessary
+// function renaming will be added when necessary
// timing value should move to separate array
static void PREFIX86(_add_br8)(i8086_state *cpustate);
diff --git a/src/emu/cpu/i860/i860dec.c b/src/emu/cpu/i860/i860dec.c
index 31323b2b612..4277eecda8a 100644
--- a/src/emu/cpu/i860/i860dec.c
+++ b/src/emu/cpu/i860/i860dec.c
@@ -2738,7 +2738,7 @@ static void insn_fmul (i860s *cpustate, UINT32 insn)
/* FIXME: Set result-status bits besides MRP. And copy to fsr from
last stage. */
/* FIXME: Scalar version flows through all stages. */
- /* FIXME: Mixed precision (only wierd for pfmul). */
+ /* FIXME: Mixed precision (only weird for pfmul). */
if (!piped)
{
/* Scalar version writes the current calculation to the fdest
@@ -3279,7 +3279,7 @@ static void insn_dualop (i860s *cpustate, UINT32 insn)
/* FIXME: Set result-status bits besides MRP. And copy to fsr from
last stage. */
- /* FIXME: Mixed precision (only wierd for pfmul). */
+ /* FIXME: Mixed precision (only weird for pfmul). */
#if 1 /* FIXME: WIP on FSR update. This may not be correct. */
/* Copy 3rd stage MRP to FSR. */
if (cpustate->M[num_mul_stages - 2 /* 1 */].stat.mrp)
diff --git a/src/emu/cpu/konami/konami.c b/src/emu/cpu/konami/konami.c
index 1a78d3e6fdf..3fe57dd150d 100644
--- a/src/emu/cpu/konami/konami.c
+++ b/src/emu/cpu/konami/konami.c
@@ -117,7 +117,7 @@ INLINE konami_state *get_safe_token(device_t *device)
#define KONAMI_CWAI 8 /* set when CWAI is waiting for an interrupt */
#define KONAMI_SYNC 16 /* set when SYNC is waiting for an interrupt */
-#define KONAMI_LDS 32 /* set when LDS occured at least once */
+#define KONAMI_LDS 32 /* set when LDS occurred at least once */
#define RM(cs,Addr) (cs)->program->read_byte(Addr)
#define WM(cs,Addr,Value) (cs)->program->write_byte(Addr,Value)
diff --git a/src/emu/cpu/m6809/m6809.c b/src/emu/cpu/m6809/m6809.c
index 4fb5be8d8c4..367f12a4982 100644
--- a/src/emu/cpu/m6809/m6809.c
+++ b/src/emu/cpu/m6809/m6809.c
@@ -162,7 +162,7 @@ INLINE void fetch_effective_address( m68_state_t *m68_state );
#define M6809_CWAI 8 /* set when CWAI is waiting for an interrupt */
#define M6809_SYNC 16 /* set when SYNC is waiting for an interrupt */
-#define M6809_LDS 32 /* set when LDS occured at least once */
+#define M6809_LDS 32 /* set when LDS occurred at least once */
/****************************************************************************/
diff --git a/src/emu/cpu/pic16c5x/dis16c5x.c b/src/emu/cpu/pic16c5x/dis16c5x.c
index d1fd0fe6616..d7e898f74c5 100644
--- a/src/emu/cpu/pic16c5x/dis16c5x.c
+++ b/src/emu/cpu/pic16c5x/dis16c5x.c
@@ -35,7 +35,7 @@ int main(int argc,char *argv[])
printf(" <input-file> source file data must be MSB first\n");
printf(" <start-addr> starting address to disassemble from (decimal)\n");
printf(" <num-of-addr> number of addresses to disassemble (decimal)\n");
- printf(" Preceed values with 0x if HEX values preffered\n");
+ printf(" Precede values with 0x if HEX values preffered\n");
exit(1);
}
diff --git a/src/emu/cpu/pic16c5x/pic16c5x.c b/src/emu/cpu/pic16c5x/pic16c5x.c
index 876c3e1841a..8ca1fe08f6b 100644
--- a/src/emu/cpu/pic16c5x/pic16c5x.c
+++ b/src/emu/cpu/pic16c5x/pic16c5x.c
@@ -43,7 +43,7 @@
* *
* *
* **** Notes: **** *
- * PIC WatchDog Timer has a seperate internal clock. For the moment, we're *
+ * PIC WatchDog Timer has a separate internal clock. For the moment, we're *
* basing the count on a 4MHz input clock, since 4MHz is the typical *
* input frequency (but by no means always). *
* A single scaler is available for the Counter/Timer or WatchDog Timer. *
diff --git a/src/emu/cpu/pic16c62x/dis16c62x.c b/src/emu/cpu/pic16c62x/dis16c62x.c
index b43765fa713..2da766d1d83 100644
--- a/src/emu/cpu/pic16c62x/dis16c62x.c
+++ b/src/emu/cpu/pic16c62x/dis16c62x.c
@@ -37,7 +37,7 @@ int main(int argc,char *argv[])
printf(" <input-file> source file data must be MSB first\n");
printf(" <start-addr> starting address to disassemble from (decimal)\n");
printf(" <num-of-addr> number of addresses to disassemble (decimal)\n");
- printf(" Preceed values with 0x if HEX values preffered\n");
+ printf(" Precede values with 0x if HEX values preffered\n");
exit(1);
}
diff --git a/src/emu/cpu/pic16c62x/pic16c62x.c b/src/emu/cpu/pic16c62x/pic16c62x.c
index bae5876979e..2e527d8b3c4 100644
--- a/src/emu/cpu/pic16c62x/pic16c62x.c
+++ b/src/emu/cpu/pic16c62x/pic16c62x.c
@@ -33,7 +33,7 @@
* - Opcode disassembly *
* *
* **** Notes (from PIC16C5X): **** *
- * PIC WatchDog Timer has a seperate internal clock. For the moment, we're *
+ * PIC WatchDog Timer has a separate internal clock. For the moment, we're *
* basing the count on a 4MHz input clock, since 4MHz is the typical *
* input frequency (but by no means always). *
* A single scaler is available for the Counter/Timer or WatchDog Timer. *
diff --git a/src/emu/cpu/sc61860/readpc.c b/src/emu/cpu/sc61860/readpc.c
index b3808bc4880..79900746c3f 100644
--- a/src/emu/cpu/sc61860/readpc.c
+++ b/src/emu/cpu/sc61860/readpc.c
@@ -24,7 +24,7 @@
nearly all sharp pocket pc's system roms should be readable
this way.
-for some early pocket pc's it would be neccessary to load
+for some early pocket pc's it would be necessary to load
this program into memory.
(they don't have poke/peek/call instructions,
so this program can't be typed in)
@@ -38,7 +38,7 @@ adapter sharp - cteprommer
5 f1 handshake --> 8 bit textool data 1 pin 18
6 save
7 load
-8 ib7 <--handshake 8 bit textool adress 0 pin 16
+8 ib7 <--handshake 8 bit textool address 0 pin 16
9 ib9
10
11
diff --git a/src/emu/cpu/sc61860/scdasm.c b/src/emu/cpu/sc61860/scdasm.c
index 2a77e75d98b..1ac4137bf72 100644
--- a/src/emu/cpu/sc61860/scdasm.c
+++ b/src/emu/cpu/sc61860/scdasm.c
@@ -45,8 +45,8 @@
/* explanations for the sharp mnemonics
d data: external memory
m memory: internal memory (address in p register)
- p register (internal memory adress)
- q register (internal memory adress), internally used in several opcodes!?
+ p register (internal memory address)
+ q register (internal memory address), internally used in several opcodes!?
r stack pointer (internal memory)
c carry flag
z zero flag
diff --git a/src/emu/cpu/tms0980/tms0980.c b/src/emu/cpu/tms0980/tms0980.c
index 5dd4d30e301..084f5c3f662 100644
--- a/src/emu/cpu/tms0980/tms0980.c
+++ b/src/emu/cpu/tms0980/tms0980.c
@@ -714,11 +714,11 @@ static const UINT8 tms1000_next_pc[64] = {
/* emulator for the program counter increment on the tms0980/tmc0980 mcu;
see patent 4064554 figure 19 (on page 13) for an explanation of feedback:
- nand324 = NAND of PC0 thru pc4, i.e. output is true if ((pc&0x1f) != 0x1f)
+ nand324 = NAND of PC0 through pc4, i.e. output is true if ((pc&0x1f) != 0x1f)
nand323 = NAND of pc5, pc6 and nand324
i.e. output is true, if ((pc&0x1f)==0x1f) || pc5 is 0 || pc 6 is 0
or321 = OR of pc5 and pc6, i.e. output is true if ((pc&0x60) != 0)
- nand322 = NAND of pc0 thru pc5 plus /pc6,
+ nand322 = NAND of pc0 through pc5 plus /pc6,
i.e. output is true if (pc != 0x3f)
nand325 = nand pf nand323, or321 and nand322
This one is complex:
diff --git a/src/emu/cpu/tms32010/dis32010.c b/src/emu/cpu/tms32010/dis32010.c
index f0d91e92eb2..5b8d2a6d907 100644
--- a/src/emu/cpu/tms32010/dis32010.c
+++ b/src/emu/cpu/tms32010/dis32010.c
@@ -37,7 +37,7 @@ int main(int argc,char *argv[])
printf(" <input-file> source file data must be MSB first\n");
printf(" <start-addr> starting address to disassemble from (decimal)\n");
printf(" <num-of-addr> number of addresses to disassemble (decimal)\n");
- printf(" Preceed values with 0x if HEX values preffered\n");
+ printf(" Precede values with 0x if HEX values preffered\n");
exit(1);
}
diff --git a/src/emu/cpu/tms32025/dis32025.c b/src/emu/cpu/tms32025/dis32025.c
index 8a6dcfddf4f..44e458f3ede 100644
--- a/src/emu/cpu/tms32025/dis32025.c
+++ b/src/emu/cpu/tms32025/dis32025.c
@@ -36,7 +36,7 @@ int main(int argc,char *argv[])
printf(" <input-file> source file data must be MSB first\n");
printf(" <start-addr> starting address to disassemble from (decimal)\n");
printf(" <num-of-addr> number of addresses to disassemble (decimal)\n");
- printf(" Preceed values with 0x if HEX values preffered\n");
+ printf(" Precede values with 0x if HEX values preffered\n");
exit(1);
}
diff --git a/src/emu/cpu/tms32025/tms32025.c b/src/emu/cpu/tms32025/tms32025.c
index fcaf214431b..51e0ea0150d 100644
--- a/src/emu/cpu/tms32025/tms32025.c
+++ b/src/emu/cpu/tms32025/tms32025.c
@@ -620,7 +620,7 @@ static void addh(tms32025_state *cpustate)
if ( ((INT16)(cpustate->oldacc.w.h) < 0) && ((INT16)(cpustate->ACC.w.h) >= 0) ) {
SET1(cpustate, C_FLAG);
}
- /* Carry flag is not cleared, if no carry occured */
+ /* Carry flag is not cleared, if no carry occurred */
}
static void addk(tms32025_state *cpustate)
{
@@ -1537,7 +1537,7 @@ static void subh(tms32025_state *cpustate)
if ( ((INT16)(cpustate->oldacc.w.h) >= 0) && ((INT16)(cpustate->ACC.w.h) < 0) ) {
CLR1(cpustate, C_FLAG);
}
- /* Carry flag is not affected, if no borrow occured */
+ /* Carry flag is not affected, if no borrow occurred */
}
static void subk(tms32025_state *cpustate)
{
diff --git a/src/emu/cpu/tms32051/32051ops.c b/src/emu/cpu/tms32051/32051ops.c
index 5cba65989af..3643f6d12b0 100644
--- a/src/emu/cpu/tms32051/32051ops.c
+++ b/src/emu/cpu/tms32051/32051ops.c
@@ -38,7 +38,7 @@ INLINE INT32 SUB(tms32051_state *cpustate, INT32 a, INT32 b, int shift16)
}
else // normal mode, result is not modified
{
- // set OV flag if overflow occured, this is a sticky flag
+ // set OV flag if overflow occurred, this is a sticky flag
if (((a) ^ (b)) & ((a) ^ ((INT32)res)) & 0x80000000)
{
cpustate->st0.ov = 1;
@@ -86,7 +86,7 @@ INLINE INT32 ADD(tms32051_state *cpustate, INT32 a, INT32 b, int shift16)
}
else // normal mode, result is not modified
{
- // set OV flag if overflow occured, this is a sticky flag
+ // set OV flag if overflow occurred, this is a sticky flag
if (((res) ^ (b)) & ((res) ^ (a)) & 0x80000000)
{
cpustate->st0.ov = 1;
diff --git a/src/emu/cpu/tms9900/99xxcore.h b/src/emu/cpu/tms9900/99xxcore.h
index 8702ed76684..fb706ee797b 100644
--- a/src/emu/cpu/tms9900/99xxcore.h
+++ b/src/emu/cpu/tms9900/99xxcore.h
@@ -2497,9 +2497,9 @@ static void contextswitchX(tms99xx_state *cpustate, UINT16 addr)
#endif
/*
- * decipheraddr : compute and return the effective adress in word instructions.
+ * decipheraddr : compute and return the effective address in word instructions.
*
- * NOTA : the LSBit is always ignored in word adresses,
+ * NOTA : the LSBit is always ignored in word addresses,
* but we do not set it to 0 because of XOP...
*/
static UINT16 decipheraddr(tms99xx_state *cpustate, UINT16 opcode)
@@ -2548,7 +2548,7 @@ static UINT16 decipheraddr(tms99xx_state *cpustate, UINT16 opcode)
}
}
-/* decipheraddrbyte : compute and return the effective adress in byte instructions. */
+/* decipheraddrbyte : compute and return the effective address in byte instructions. */
static UINT16 decipheraddrbyte(tms99xx_state *cpustate, UINT16 opcode)
{
register UINT16 ts = opcode & 0x30;
@@ -2919,7 +2919,7 @@ static void h0200(tms99xx_state *cpustate, UINT16 opcode)
/* Used by the memory mapper on ti990/10 with mapping option, ti990/12, and the TIM99610
mapper chip to be associated with tms99000.
Syntax: "LMF Rn,m" loads map file m (0 or 1) with six words of memory, starting at address
- specified in workspace register Rn (0 thru 15). */
+ specified in workspace register Rn (0 through 15). */
#if HAS_PRIVILEGE
if (cpustate->STATUS & ST_PR)
{
diff --git a/src/emu/crsshair.h b/src/emu/crsshair.h
index defbea703d1..244f05593db 100644
--- a/src/emu/crsshair.h
+++ b/src/emu/crsshair.h
@@ -61,7 +61,7 @@ struct _crosshair_user_settings
/* initializes the crosshair system */
void crosshair_init(running_machine &machine);
-/* draws crosshair(s) in a given screen, if neccessary */
+/* draws crosshair(s) in a given screen, if necessary */
void crosshair_render(screen_device &screen);
/* sets the screen(s) for a given player's crosshair */
diff --git a/src/emu/imagedev/flopdrv.c b/src/emu/imagedev/flopdrv.c
index 4fb50ff082d..87f220289fd 100644
--- a/src/emu/imagedev/flopdrv.c
+++ b/src/emu/imagedev/flopdrv.c
@@ -342,7 +342,7 @@ int floppy_drive_get_flag_state(device_t *img, int flag)
drive_flags = drv->flags;
- /* these flags are independant of a real drive/disk image */
+ /* these flags are independent of a real drive/disk image */
flags |= drive_flags & (FLOPPY_DRIVE_READY | FLOPPY_DRIVE_INDEX);
flags &= flag;
diff --git a/src/emu/imagedev/flopdrv.h b/src/emu/imagedev/flopdrv.h
index c8f07234a81..0e326a207df 100644
--- a/src/emu/imagedev/flopdrv.h
+++ b/src/emu/imagedev/flopdrv.h
@@ -87,7 +87,7 @@ struct chrn_id
/* set if drive is ready */
#define FLOPPY_DRIVE_READY 0x0010
-/* set if index has just occured */
+/* set if index has just occurred */
#define FLOPPY_DRIVE_INDEX 0x0020
/* a callback which will be executed if the ready state of the drive changes e.g. not ready->ready, ready->not ready */
diff --git a/src/emu/machine/8042kbdc.c b/src/emu/machine/8042kbdc.c
index 8d45e2005a8..9e13c4af7f7 100644
--- a/src/emu/machine/8042kbdc.c
+++ b/src/emu/machine/8042kbdc.c
@@ -445,7 +445,7 @@ WRITE8_HANDLER(kbdc8042_8_w)
break;
case 1:
- /* preceeded by writing 0xD1 to port 60h
+ /* preceded by writing 0xD1 to port 60h
* |7|6|5|4|3|2|1|0| 8042 Output Port
* | | | | | | | `---- system reset line
* | | | | | | `----- gate A20
@@ -459,24 +459,24 @@ WRITE8_HANDLER(kbdc8042_8_w)
break;
case 2:
- /* preceeded by writing 0xD2 to port 60h */
+ /* preceded by writing 0xD2 to port 60h */
kbdc8042.data = data;
kbdc8042.sending=1;
at_keyboard_write(space->machine(), data);
break;
case 3:
- /* preceeded by writing 0xD3 to port 60h */
+ /* preceded by writing 0xD3 to port 60h */
kbdc8042.data = data;
break;
case 4:
- /* preceeded by writing 0xD4 to port 60h */
+ /* preceded by writing 0xD4 to port 60h */
kbdc8042.data = data;
break;
case 5:
- /* preceeded by writing 0x60 to port 60h */
+ /* preceded by writing 0x60 to port 60h */
kbdc8042.command = data;
break;
}
diff --git a/src/emu/machine/ins8250.c b/src/emu/machine/ins8250.c
index 417e1348627..8fa8aea7aec 100644
--- a/src/emu/machine/ins8250.c
+++ b/src/emu/machine/ins8250.c
@@ -65,7 +65,7 @@ Known issues:
History:
KT - 14-Jun-2000 - Improved Interrupt setting/clearing
- KT - moved into seperate file so it can be used in Super I/O emulation and
+ KT - moved into separate file so it can be used in Super I/O emulation and
any other system which uses a PC type COM port
KT - 24-Jun-2000 - removed pc specific input port tests. More compatible
with PCW16 and PCW16 doesn't requre the PC input port definitions
diff --git a/src/emu/machine/intelfsh.c b/src/emu/machine/intelfsh.c
index 23f59a63c96..56ae07c9df9 100644
--- a/src/emu/machine/intelfsh.c
+++ b/src/emu/machine/intelfsh.c
@@ -6,7 +6,7 @@
AMD/Fujitsu 29F016 (byte-wide)
Sharp LH28F400 (word-wide)
- Flash ROMs use a standardized command set accross manufacturers,
+ Flash ROMs use a standardized command set across manufacturers,
so this emulation should work even for non-Intel and non-Sharp chips
as long as the game doesn't query the maker ID.
*/
diff --git a/src/emu/machine/matsucd.c b/src/emu/machine/matsucd.c
index fe7f64a48ff..7778eb5b0db 100644
--- a/src/emu/machine/matsucd.c
+++ b/src/emu/machine/matsucd.c
@@ -21,7 +21,7 @@ can be expanded with support for the other drives as needed.
#define MATSU_STATUS_READY ( 1 << 0 ) /* driver ready */
#define MATSU_STATUS_DOORLOCKED ( 1 << 1 ) /* door locked */
#define MATSU_STATUS_PLAYING ( 1 << 2 ) /* drive playing */
-#define MATSU_STATUS_SUCCESS ( 1 << 3 ) /* last command was succesful */
+#define MATSU_STATUS_SUCCESS ( 1 << 3 ) /* last command was successful */
#define MATSU_STATUS_ERROR ( 1 << 4 ) /* last command failed */
#define MATSU_STATUS_MOTOR ( 1 << 5 ) /* spinning */
#define MATSU_STATUS_MEDIA ( 1 << 6 ) /* media present (in caddy or tray) */
diff --git a/src/emu/softlist.c b/src/emu/softlist.c
index fae5b2c8844..157c6d1e4fa 100644
--- a/src/emu/softlist.c
+++ b/src/emu/softlist.c
@@ -109,7 +109,7 @@ INLINE void unknown_attribute_value(parse_state *state,
/*-------------------------------------------------
software_name_split
helper; splits a software_list:software:part
- string into seperate software_list, software,
+ string into separate software_list, software,
and part strings.
str1:str2:str3 => swlist_name - str1, swname - str2, swpart - str3
diff --git a/src/emu/sound/digitalk.c b/src/emu/sound/digitalk.c
index 48410c38df7..25948e43fab 100644
--- a/src/emu/sound/digitalk.c
+++ b/src/emu/sound/digitalk.c
@@ -168,7 +168,7 @@ period.
- Rom organization
The rom starts with a vector of 16-bits little endian values which are
-the adresses of the segments table for the samples. The segments data
+the addresses of the segments table for the samples. The segments data
is a vector of 24-bits little-endian values organized as such:
adr+2 adr+1 adr
diff --git a/src/emu/sound/disc_dev.c b/src/emu/sound/disc_dev.c
index 4a7c7940c0d..a2bdb054889 100644
--- a/src/emu/sound/disc_dev.c
+++ b/src/emu/sound/disc_dev.c
@@ -215,7 +215,7 @@ DISCRETE_STEP(dsd_555_astbl)
}
else
{
- /* no discharge resistor so we imediately discharge */
+ /* no discharge resistor so we immediately discharge */
v_cap_next = trigger;
}
@@ -1012,7 +1012,7 @@ DISCRETE_RESET(dsd_555_cc)
* | i | --- C cap_voltage = cap_voltage + dv
* '---' |
* | | DISCHARGING:
- * gnd gnd thru rDischarge
+ * gnd gnd through rDischarge
*
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* !!!!! IMPORTANT NOTE ABOUT TYPES 3 - 7 !!!!!
@@ -1053,7 +1053,7 @@ DISCRETE_RESET(dsd_555_cc)
* .---. --- Z Rc = rGnd
* | i | --- C Z rGnd
* '---' | | DISCHARGING:
- * | | | thru rDischarge || rGnd ( || means in parallel)
+ * | | | through rDischarge || rGnd ( || means in parallel)
* gnd gnd gnd
*
* [4]
@@ -1072,7 +1072,7 @@ DISCRETE_RESET(dsd_555_cc)
* | vBias | | i | --- C v = vBias + vi
* '-------' '---' |
* | | | DISCHARGING:
- * gnd gnd gnd thru rDischarge
+ * gnd gnd gnd through rDischarge
*
* [6]
* .---ZZZ---+------------+------+------> cap_voltage CHARGING:
@@ -1090,7 +1090,7 @@ DISCRETE_RESET(dsd_555_cc)
* | vBias | | i | --- C Z rGnd v = vBias * (rGnd / (rBias + rDischarge + rGnd)) + vi
* '-------' '---' | |
* | | | | DISCHARGING:
- * gnd gnd gnd gnd thru rDischarge || rGnd
+ * gnd gnd gnd gnd through rDischarge || rGnd
*/
/*
@@ -1370,9 +1370,9 @@ DISCRETE_RESET(dsd_555_vco1)
* depending on B+, so they will be simulated with a table.
*
* The data sheets show Vmod should be no less then 3/4*B+. In reality
- * you can go to close to 1/2*B+ before you loose linearity. Below 1/2,
+ * you can go to close to 1/2*B+ before you lose linearity. Below 1/2,
* oscillation stops. When Vmod is 0V to 0.1V less then B+, it also
- * looses linearity, and stops oscillating when >= B+. This is because
+ * loses linearity, and stops oscillating when >= B+. This is because
* there is no voltage difference to create a current source.
*
* The current source is dependant on the voltage difference between B+
diff --git a/src/emu/sound/disc_mth.c b/src/emu/sound/disc_mth.c
index 7a78896c653..4fe5b39d310 100644
--- a/src/emu/sound/disc_mth.c
+++ b/src/emu/sound/disc_mth.c
@@ -972,7 +972,7 @@ DISCRETE_STEP(dst_lookup_table)
*
* There are 3 basic types of mixers, defined by the 2 types. The
* op amp mixer is further defined by the prescence of rI. This is a
- * brief explaination.
+ * brief explanation.
*
* DISC_MIXER_IS_RESISTOR
* The inputs are high pass filtered if needed, using (rX || rF) * cX.
@@ -1968,13 +1968,13 @@ DISCRETE_RESET(dst_tvca_op_amp)
m_i_fixed = m_v_out_max / info->r1;
m_v_cap1 = 0;
- /* Charge rate thru r5 */
+ /* Charge rate through r5 */
/* There can be a different charge rates depending on function F3. */
m_exponent_c[0] = RC_CHARGE_EXP(RES_2_PARALLEL(info->r5, info->r6) * info->c1);
m_exponent_c[1] = RC_CHARGE_EXP(RES_2_PARALLEL(info->r5, m_r67) * info->c1);
- /* Discharge rate thru r6 + r7 */
+ /* Discharge rate through r6 + r7 */
m_exponent_d[1] = RC_CHARGE_EXP(m_r67 * info->c1);
- /* Discharge rate thru r6 */
+ /* Discharge rate through r6 */
if (info->r6 != 0)
{
m_exponent_d[0] = RC_CHARGE_EXP(info->r6 * info->c1);
diff --git a/src/emu/sound/disc_wav.c b/src/emu/sound/disc_wav.c
index 1e4109d52ff..54025acc98e 100644
--- a/src/emu/sound/disc_wav.c
+++ b/src/emu/sound/disc_wav.c
@@ -524,7 +524,7 @@ DISCRETE_STEP(dss_note)
}
else
{
- /* Seperate clock info from x_time info. */
+ /* separate clock info from x_time info. */
clock = (int)DSS_NOTE__CLOCK;
x_time = DSS_NOTE__CLOCK - clock;
}
diff --git a/src/emu/sound/discrete.h b/src/emu/sound/discrete.h
index c22d6e9ec59..65a0fe56002 100644
--- a/src/emu/sound/discrete.h
+++ b/src/emu/sound/discrete.h
@@ -474,7 +474,7 @@
* DISC_CLK_IS_FREQ - internally clock at this frequency.
*
* x_time options: you can also | these x_time features to the basic
- * types above if needed, or use seperately with 7492.
+ * 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
@@ -2141,8 +2141,8 @@
***********************************************************************
*
* DISCRETE_OP_AMP_TRIG_VCA - Triggered Norton op amp voltage controlled amplifier.
- * This means the cap is rapidly charged thru r5 when F2=1.
- * Then it discharges thru r6+r7 when F2=0.
+ * This means the cap is rapidly charged through r5 when F2=1.
+ * Then it discharges through r6+r7 when F2=0.
* This voltage controls the amplitude.
* While the diagram looks complex, usually only parts of it are used.
*
@@ -2260,7 +2260,7 @@
***********************************************************************
*
* DISCRETE_CRFILTER - Simple single pole CR filter network (vRef = 0)
- * DISCRETE_CRFILTER_VREF - Same but refrenced to vRef not 0V
+ * DISCRETE_CRFILTER_VREF - Same but referenced to vRef not 0V
*
* .------------.
* | |
@@ -2815,7 +2815,7 @@
***********************************************************************
*
* DISCRETE_RCFILTER - Simple single pole RC filter network (vRef = 0)
- * DISCRETE_RCFILTER_VREF - Same but refrenced to vRef not 0V
+ * DISCRETE_RCFILTER_VREF - Same but referenced to vRef not 0V
*
* .------------.
* | |
diff --git a/src/emu/sound/es5506.c b/src/emu/sound/es5506.c
index 5b01857d306..a4cf6d7d50b 100644
--- a/src/emu/sound/es5506.c
+++ b/src/emu/sound/es5506.c
@@ -18,7 +18,7 @@ Ensoniq OTIS - ES5505 Ensoniq OTTO -
- On chip real time digital filters - Loop start and stop posistions for each voice
- Frequency interpolation - Bidirectional and reverse looping
- 32 independent voices (up from 25 in DOCII) - 68000 compatibility for asynchronous bus communication
- - Loop start and stop positions for each voice - Seperate host and sound memory interface
+ - Loop start and stop positions for each voice - separate host and sound memory interface
- Bidirectional and reverse looping - 6 channel stereo serial communication port
- 68000 compatibility for asynchronous bus communication - Programmable clocks for defining serial protocol
- On board pulse width modulation D to A - Internal volume multiplication and stereo panning
diff --git a/src/emu/sound/fm.c b/src/emu/sound/fm.c
index 5228b6e15ab..f686fe280ee 100644
--- a/src/emu/sound/fm.c
+++ b/src/emu/sound/fm.c
@@ -365,7 +365,7 @@ static const UINT32 lfo_samples_per_step[8] = {108, 77, 71, 67, 62, 44, 8, 5};
5.9 dB = 0, 1, 2, 3, 4, 5, 6, 7, 8....63, 63, 62, 61, 60, 59,.....2,1,0
1.4 dB = 0, 0, 0, 0, 1, 1, 1, 1, 2,...15, 15, 15, 15, 14, 14,.....0,0,0
- (1.4 dB is loosing precision as you can see)
+ (1.4 dB is losing precision as you can see)
It's implemented as generator from 0..126 with step 2 then a shift
right N times, where N is:
@@ -1080,7 +1080,7 @@ INLINE void advance_lfo(FM_OPN *OPN)
/* update AM when LFO output changes */
- /* actually I can't optimize is this way without rewritting chan_calc()
+ /* actually I can't optimize is this way without rewriting chan_calc()
to use chip->lfo_am instead of global lfo_am */
{
@@ -3462,7 +3462,7 @@ static void YM2608_save_state(YM2608 *F2608, device_t *device)
device->save_item(NAME(F2608->OPN.SL3.kcode));
/* address register1 */
device->save_item(NAME(F2608->addr_A1));
- /* rythm(ADPCMA) */
+ /* rhythm(ADPCMA) */
FMsave_state_adpcma(device,F2608->adpcm);
/* Delta-T ADPCM unit */
YM_DELTAT_savestate(device,&F2608->deltaT);
@@ -4144,7 +4144,7 @@ static void YM2610_save_state(YM2610 *F2610, device_t *device)
device->save_item(NAME(F2610->addr_A1));
device->save_item(NAME(F2610->adpcm_arrivedEndAddress));
- /* rythm(ADPCMA) */
+ /* rhythm(ADPCMA) */
FMsave_state_adpcma(device,F2610->adpcm);
/* Delta-T ADPCM unit */
YM_DELTAT_savestate(device,&F2610->deltaT);
diff --git a/src/emu/sound/fm2612.c b/src/emu/sound/fm2612.c
index 0fb8e71275e..e7175a49ea4 100644
--- a/src/emu/sound/fm2612.c
+++ b/src/emu/sound/fm2612.c
@@ -381,7 +381,7 @@ static const UINT32 lfo_samples_per_step[8] = {108, 77, 71, 67, 62, 44, 8, 5};
5.9 dB = 0, 1, 2, 3, 4, 5, 6, 7, 8....63, 63, 62, 61, 60, 59,.....2,1,0
1.4 dB = 0, 0, 0, 0, 1, 1, 1, 1, 2,...15, 15, 15, 15, 14, 14,.....0,0,0
- (1.4 dB is loosing precision as you can see)
+ (1.4 dB is losing precision as you can see)
It's implemented as generator from 0..126 with step 2 then a shift
right N times, where N is:
@@ -2297,7 +2297,7 @@ void ym2612_update_one(void *chip, FMSAMPLE **buffer, int length)
bufL[i] = lt;
bufR[i] = rt;
- /* CSM mode: if CSM Key ON has occured, CSM Key OFF need to be sent */
+ /* CSM mode: if CSM Key ON has occurred, CSM Key OFF need to be sent */
/* only if Timer A does not overflow again (i.e CSM Key ON not set again) */
OPN->SL3.key_csm <<= 1;
diff --git a/src/emu/sound/fmopl.c b/src/emu/sound/fmopl.c
index 1b95bfda06d..d3cdc743c1c 100644
--- a/src/emu/sound/fmopl.c
+++ b/src/emu/sound/fmopl.c
@@ -538,7 +538,7 @@ static unsigned int sin_tab[SIN_LEN * 4];
The whole table takes: 64 * 210 = 13440 samples.
When AM = 1 data is used directly
- When AM = 0 data is divided by 4 before being used (loosing precision is important)
+ When AM = 0 data is divided by 4 before being used (losing precision is important)
*/
#define LFO_AM_TAB_ELEMENTS 210
diff --git a/src/emu/sound/k054539.h b/src/emu/sound/k054539.h
index f4381148508..4298fa0f703 100644
--- a/src/emu/sound/k054539.h
+++ b/src/emu/sound/k054539.h
@@ -32,7 +32,7 @@ READ8_DEVICE_HANDLER( k054539_r );
void k054539_init_flags(device_t *device, int flags);
/*
- Note that the eight PCM channels of a K054539 do not have seperate
+ 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
diff --git a/src/emu/sound/mos6560.c b/src/emu/sound/mos6560.c
index a2f62c9e1e5..52044732397 100644
--- a/src/emu/sound/mos6560.c
+++ b/src/emu/sound/mos6560.c
@@ -49,7 +49,7 @@
pixel ratio seems to be different on pal and ntsc
commodore vic20 notes
- 6560 adress line 13 is connected inverted to address line 15 of the board
+ 6560 address line 13 is connected inverted to address line 15 of the board
1 K 4 bit ram at 0x9400 is additional connected as 4 higher bits
of the 6560 (colorram) without decoding the 6560 address line a8..a13
diff --git a/src/emu/sound/okim9810.c b/src/emu/sound/okim9810.c
index e9fa9bbd763..5b49201115b 100644
--- a/src/emu/sound/okim9810.c
+++ b/src/emu/sound/okim9810.c
@@ -428,7 +428,7 @@ void okim9810_device::okim_voice::generate_audio(direct_read_data &direct,
if (!m_playing)
return;
- // seperate out left and right channels
+ // separate out left and right channels
stream_sample_t *outL = buffers[0];
stream_sample_t *outR = buffers[1];
diff --git a/src/emu/sound/s14001a.c b/src/emu/sound/s14001a.c
index 19029c48fb0..076f83829cd 100644
--- a/src/emu/sound/s14001a.c
+++ b/src/emu/sound/s14001a.c
@@ -95,7 +95,7 @@ TTL/CMOS compatible voltage. The AUDIO OUT pin also outputs a voltage below GND,
and the TEST pins may do so too.
START is pulled high when a word is to be said and the word number is on the
-word select/speech address input lines. The Canon 'Canola' uses a seperate 'rom
+word select/speech address input lines. The Canon 'Canola' uses a separate 'rom
strobe' signal independent of the chip to either enable or clock the speech rom.
Its likely that they did this to be able to force the speech chip to stop talking,
which is normally impossible. The later 'version 3' TSI speech board as featured in
diff --git a/src/emu/sound/sp0256.c b/src/emu/sound/sp0256.c
index d6ed1337ac4..8039e774599 100644
--- a/src/emu/sound/sp0256.c
+++ b/src/emu/sound/sp0256.c
@@ -26,7 +26,7 @@
This emulation flips the bits on every byte of the memory map during
the sp0256_start() call.
- If the memory map contents is modified during execution (becuase of ROM
+ If the memory map contents is modified during execution (accross of ROM
bank switching) the sp0256_bitrevbuff() call must be called after the
section of ROM is modified.
*/
diff --git a/src/emu/sound/speaker.c b/src/emu/sound/speaker.c
index fb365c5b4c5..25d5eb1b8be 100644
--- a/src/emu/sound/speaker.c
+++ b/src/emu/sound/speaker.c
@@ -21,7 +21,7 @@
* For faithful reproduction of the sound, this must be carefully handled
* with anti-alias filtering when converting a high-rate low-resolution signal
* to a moderate-rate high-resolution signal suitable for the DAC in the emulator's sound card.
- * (Originally, removal of any redundant high frequency content occured on the analog side
+ * (Originally, removal of any redundant high frequency content occurred on the analog side
* with no aliasing effects.)
*
* The most straightforward, naive way to handle this is to use two streams;
@@ -32,7 +32,7 @@
* The stream system has features to handle rate conversion from stream 1 to 2.
*
* I tried it out of curiosity; it works fine conceptually, but
- * - it puts an unneccessary burden on system resources
+ * - it puts an unnecessary burden on system resources
* - sound quality is still not satisfactory, though better than without anti-alias
* - "stream 1" properties are machine specific and so should be configured
* individually in each machine driver using this approach.
diff --git a/src/emu/sound/tms5220.c b/src/emu/sound/tms5220.c
index dfee397802a..a60509d951f 100644
--- a/src/emu/sound/tms5220.c
+++ b/src/emu/sound/tms5220.c
@@ -153,7 +153,7 @@ Interpolation is inhibited (i.e. interpolation at IP frames will not happen
****Documentation of chip commands:***
- x0x0xbcc : on 5200/5220: NOP (does nothing); on 5220C: Select frame length by cc, and b selects whether every frame is preceeded by 2 bits to select the frame length (instead of using the value set by cc); the default (and after a reset command) is as if '0x00' was written, i.e. for frame length (200 samples) and 0 for whether the preceeding 2 bits are enabled (off)
+ x0x0xbcc : on 5200/5220: NOP (does nothing); on 5220C: Select frame length by cc, and b selects whether every frame is preceded by 2 bits to select the frame length (instead of using the value set by cc); the default (and after a reset command) is as if '0x00' was written, i.e. for frame length (200 samples) and 0 for whether the preceding 2 bits are enabled (off)
x001xxxx: READ BYTE (RDBY) Sends eight read bit commands (M0 high M1 low) to VSM and reads the resulting bits serially into a temporary register, which becomes readable as the next byte read from the tms52xx once ready goes active. Note the bit order of the byte read from the TMS52xx is BACKWARDS as compared to the actual data order as in the rom on the VSM chips; the read byte command of the tms5100 reads the bits in the 'correct' order. This was IMHO a rather silly design decision of TI. (I (LN) asked Larry Brantingham about this but he wasn't involved with the TMS52xx chips, just the 5100); There's ASCII data in the TI 99/4 speech module VSMs which has the bit order reversed on purpose because of this!
TALK STATUS must be CLEAR for this command to work; otherwise it is treated as a NOP.
@@ -1041,7 +1041,7 @@ static void tms5220_process(tms5220_state *tms, INT16 *buffer, unsigned int size
tms->current_pitch += (((tms->target_pitch - tms->current_pitch)*(1-inhibit_state)) INTERP_SHIFT);
break;
case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11:
- /* PC = 2 thru 11, B cycle, write updated K1 thru K10 */
+ /* PC = 2 through 11, B cycle, write updated K1 through K10 */
tms->current_k[tms->PC-2] += (((tms->target_k[tms->PC-2] - tms->current_k[tms->PC-2])*(1-inhibit_state)) INTERP_SHIFT);
break;
case 12: /* PC = 12, do nothing */
@@ -1452,7 +1452,7 @@ static void parse_frame(tms5220_state *tms)
// We actually don't care how many bits are left in the fifo here; the frame subpart will be processed normally, and any bits extracted 'past the end' of the fifo will be read as zeroes; the fifo being emptied will set the /BE latch which will halt speech exactly as if a stop frame had been encountered (instead of whatever partial frame was read); the same exact circuitry is used for both on the real chip, see us patent 4335277 sheet 16, gates 232a (decode stop frame) and 232b (decode /BE plus DDIS (decode disable) which is active during speak external).
/* if the chip is a tms5220C, and the rate mode is set to that each frame (0x04 bit set)
- has a 2 bit rate preceeding it, grab two bits here and store them as the rate; */
+ has a 2 bit rate preceding it, grab two bits here and store them as the rate; */
if ((tms->variant == SUBTYPE_TMS5220C) && (tms->tms5220c_rate & 0x04))
{
indx = extract_bits(tms, 2);
diff --git a/src/emu/sound/vlm5030.c b/src/emu/sound/vlm5030.c
index 70de43431d2..471ed81594b 100644
--- a/src/emu/sound/vlm5030.c
+++ b/src/emu/sound/vlm5030.c
@@ -12,7 +12,7 @@
OSC2 ck | 3 _ 38 | ?? TST3
OSC1 ck | 4 (_) 37 | ?? TST2
D0 -> | 5 36 | -> DAO
- D1 -> | 6 35 | -- VREF (+5v thru 5.6k resistor)
+ D1 -> | 6 35 | -- VREF (+5v through 5.6k resistor)
D2 -> | 7 34 | -> MTE
D3 -> | 8 V 33 | -> /ME
D4 -> | 9 L 32 | <- VCU
diff --git a/src/emu/sound/ym2413.c b/src/emu/sound/ym2413.c
index 7aaf447e99b..757103bc3b6 100644
--- a/src/emu/sound/ym2413.c
+++ b/src/emu/sound/ym2413.c
@@ -1877,7 +1877,7 @@ static void OPLLWriteReg(YM2413 *chip, int r, int v)
SLOT->TLL = SLOT->TL + (CH->ksl_base>>SLOT->ksl);
- /*check wether we are in rhythm mode and handle instrument/volume register accordingly*/
+ /*check whether we are in rhythm mode and handle instrument/volume register accordingly*/
if ((chan>=6) && (chip->rhythm&0x20))
{
/* we're in rhythm mode*/
diff --git a/src/emu/sound/ymf262.c b/src/emu/sound/ymf262.c
index 87e875b9325..19aa511cdbb 100644
--- a/src/emu/sound/ymf262.c
+++ b/src/emu/sound/ymf262.c
@@ -495,7 +495,7 @@ static unsigned int sin_tab[SIN_LEN * 8];
The whole table takes: 64 * 210 = 13440 samples.
When AM = 1 data is used directly
- When AM = 0 data is divided by 4 before being used (loosing precision is important)
+ When AM = 0 data is divided by 4 before being used (losing precision is important)
*/
#define LFO_AM_TAB_ELEMENTS 210
diff --git a/src/emu/uimenu.c b/src/emu/uimenu.c
index bbc4bd1be99..9c19131b62f 100644
--- a/src/emu/uimenu.c
+++ b/src/emu/uimenu.c
@@ -3968,7 +3968,7 @@ static void menu_render_triangle(bitmap_t &dest, const bitmap_t &source, const r
{
int dalpha;
- /* first colum we only consume one pixel */
+ /* first column we only consume one pixel */
if (x == 0)
{
dalpha = MIN(0xff, linewidth);
diff --git a/src/emu/video/k053250.c b/src/emu/video/k053250.c
index f3ac0f5fb2f..c7a15ed6c10 100644
--- a/src/emu/video/k053250.c
+++ b/src/emu/video/k053250.c
@@ -374,7 +374,7 @@ void k053250_t::draw( bitmap_t *bitmap, const rectangle *cliprect, int colorbase
pal_ptr = pal_base + ((color & 0x1f) << 4);
// calculate physical pixel location
- // each offset unit represents two hundred and fifty six pixels and should wrap at ROM boundary for safty
+ // each offset unit represents two hundred and fifty six pixels and should wrap at ROM boundary for safety
pix_ptr = unpacked + ((offset << 8) % unpacked_size);
// get scanline zoom factor