Fix various typos

Squashed commit of the following:

commit 040fd169bfd6845b33d3f86fd66afb4a632605c6
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Sun Nov 30 22:24:30 2014 +0000

    Fix more typos in comments

commit 6121ae593008a574735427e047fdb7a16f4fa47f
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Sun Nov 30 22:20:37 2014 +0000

    Fix more typos

    Not all are in comments this time, but the vast majority are, and
    the rest are in printed text.  None are variable or constant names.

commit 84bc72573009bb46f5601f7257a7f7538f25cfc2
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date:   Sun Nov 30 22:01:46 2014 +0000

    Fix some typos
This commit is contained in:
Zoë Blade 2014-11-30 22:29:32 +00:00
parent da5edaf680
commit 44322992e5
40 changed files with 56 additions and 56 deletions

View File

@ -2696,7 +2696,7 @@ Beyond that last category are the roms waiting to be classified.
<!--
<software name="smkartupa" cloneof="smkart">
<!- - Van Halen - ->
<!- - Notes: this earlier prototype has a lot more memory the the final release - ->
<!- - Notes: this earlier prototype has a lot more memory than the final release - ->
<description>Super Mario Kart (USA, Prototype)</description>
<year>1992</year>
<publisher>Nintendo</publisher>

View File

@ -666,8 +666,8 @@ WRITE8_MEMBER(nes_magseries_device::write_h)
In MESS: Supported.
Notes: Metal Force and Buzz & Waldog only use the the first
4 regs and no mirroring. Janggun ui Adeul uses all features
Notes: Metal Force and Buzz & Waldog only use the first 4
regs and no mirroring. Janggun ui Adeul uses all features
-------------------------------------------------*/

View File

@ -1059,7 +1059,7 @@ void alto2_cpu_device::f1_late_load_kstat()
/* KSTAT[14-15] are just taken from BUS[14-15] */
PUT_KSTAT_COMPLETION(m_dsk.kstat, GET_KSTAT_COMPLETION(m_bus));
/* May set the the CKSUM flip-flop 44b
/* May set the CKSUM flip-flop 44b
* JK flip-flop 44b (KSTAT<- clocked)
* CLK SYSCLKA'
* J !BUS[13]

View File

@ -154,7 +154,7 @@ static const prom_load_t pl_displ_a63 =
/**
* @brief PROM a66 is a 256x4 bit (type 3601)
* <PRE>
* Address lines are driven by H[1] to H[128] of the the horz. line counters.
* Address lines are driven by H[1] to H[128] of the horz. line counters.
* PROM is enabled when H[256] and H[512] are both 0.
*
* Q1 is VSYNC for the odd field (with H1024=0)

View File

@ -274,7 +274,7 @@ enum {
* @brief vertical blank and synch PROM
*
* PROM a66 is a 256x4 bit (type 3601), containing the vertical blank + synch.
* Address lines are driven by H[1] to H[128] of the the horz. line counters.
* Address lines are driven by H[1] to H[128] of the horz. line counters.
* The PROM is enabled whenever H[256] and H[512] are both 0.
*/
UINT8* m_disp_a66;

View File

@ -560,7 +560,7 @@ void alto2_cpu_device::tx_packet(void* ptr, INT32 arg)
PUT_ETH_WLF(m_eth.status, 0);
m_eth.tx_timer->adjust(attotime::from_usec(5.44), -1);
} else {
// transmit teh next word after 5.44us
// transmit the next word after 5.44us
m_eth.tx_timer->adjust(attotime::from_usec(5.44), arg + 1);
}
eth_wakeup();

View File

@ -536,7 +536,7 @@ private:
* \brief current micro instruction's register selection
* The emulator F2s ACSOURCE and ACDEST modify this.
* Note: The S registers are addressed by the original RSEL[0-4],
* even when the the emulator modifies this.
* even when the emulator modifies this.
*/
UINT8 m_rsel;
UINT8 m_d_rsel; //!< decoded RSEL[0-4]

View File

@ -1391,7 +1391,7 @@ void i860_cpu_device::insn_pstd (UINT32 insn)
if (auto_inc)
set_iregval (isrc2, eff);
/* Update the the pixel mask depending on the pixel size. Shift PM
/* Update the pixel mask depending on the pixel size. Shift PM
right by 8/2^ps bits. */
if (ps == 0)
pm = (pm >> 8) & 0x00;

View File

@ -514,16 +514,16 @@ bool debug_comment_load(running_machine &machine);
/* return the physical address corresponding to the given logical address */
int debug_cpu_translate(address_space &space, int intention, offs_t *address);
/* return a byte from the the specified memory space */
/* return a byte from the specified memory space */
UINT8 debug_read_byte(address_space &space, offs_t address, int apply_translation);
/* return a word from the the specified memory space */
/* return a word from the specified memory space */
UINT16 debug_read_word(address_space &space, offs_t address, int apply_translation);
/* return a dword from the the specified memory space */
/* return a dword from the specified memory space */
UINT32 debug_read_dword(address_space &space, offs_t address, int apply_translation);
/* return a qword from the the specified memory space */
/* return a qword from the specified memory space */
UINT64 debug_read_qword(address_space &space, offs_t address, int apply_translation);
/* return 1,2,4 or 8 bytes from the specified memory space */

View File

@ -237,8 +237,8 @@ static const help_item static_help_list[] =
"\n"
" cheatinit [<address>,<length>[,<cpu>]] -- initialize the cheat search to the selected memory area\n"
" cheatrange <address>,<length> -- add to the cheat search the selected memory area\n"
" cheatnext <condition>[,<comparisonvalue>] -- continue cheat search comparing with the the last value\n"
" cheatnextf <condition>[,<comparisonvalue>] -- continue cheat search comparing with the the first value\n"
" cheatnext <condition>[,<comparisonvalue>] -- continue cheat search comparing with the last value\n"
" cheatnextf <condition>[,<comparisonvalue>] -- continue cheat search comparing with the first value\n"
" cheatlist [<filename>] -- show the list of cheat search matches or save them to <filename>\n"
" cheatundo -- undo the last cheat search (state only)\n"
},

View File

@ -51,7 +51,7 @@
- calls config_load_settings() [config.c] to load the configuration file
- calls nvram_load [machine/generic.c] to load NVRAM
- calls ui_display_startup_screens() [ui.c] to display the the startup screens
- calls ui_display_startup_screens() [ui.c] to display the startup screens
- begins resource tracking (level 2)
- calls soft_reset() [mame.c] to reset all systems

View File

@ -238,7 +238,7 @@ private:
// Live states change continually depending on the disk contents
// until the next externally discernable event is found. They
// are checkpointing, run until an event is found, then they wait
// for it. When an event eventually happen the the changes are
// for it. When an event eventually happens, the changes are
// either committed or replayed until the sync event time.
//
// The transition to IDLE is only done on a synced event. Some

View File

@ -55,7 +55,7 @@
- calls config_load_settings() [config.c] to load the configuration file
- calls nvram_load [machine/generic.c] to load NVRAM
- calls ui_display_startup_screens() [ui.c] to display the the startup screens
- calls ui_display_startup_screens() [ui.c] to display the startup screens
- begins resource tracking (level 2)
- calls soft_reset() [mame.c] to reset all systems

View File

@ -2868,7 +2868,7 @@ void address_table::setup_range_masked(offs_t addrstart, offs_t addrend, offs_t
}
while (base_address != end_address + 1);
// Efficient method to go the the next range start given a mirroring mask
// Efficient method to go to the next range start given a mirroring mask
base_mirror = (base_mirror + 1 + ~bytemirror) & bytemirror;
}
while (base_mirror);

View File

@ -571,7 +571,7 @@ void upd775x_device::advance_state()
m_state = STATE_DUMMY2;
break;
/* Second dummy state: ignore any data here and issue a request for the the sixth byte */
/* Second dummy state: ignore any data here and issue a request for the sixth byte */
/* The expected response will be the first block header */
case STATE_DUMMY2:
m_offset++;

View File

@ -237,7 +237,7 @@ void timer_device::device_reset()
if (m_screen == NULL)
fatalerror("timer '%s': unable to find screen '%s'\n", tag(), m_screen_tag);
// set the timer to to fire immediately
// set the timer to fire immediately
m_first_time = true;
m_timer->adjust(attotime::zero, m_param);
break;

View File

@ -1653,7 +1653,7 @@ void ui_menu_sliders::custom_render(void *selectedref, float top, float bottom,
percentage = (float)(curval - curslider->minval) / (float)(curslider->maxval - curslider->minval);
default_percentage = (float)(curslider->defval - curslider->minval) / (float)(curslider->maxval - curslider->minval);
/* assemble the the text */
/* assemble the text */
tempstring.ins(0, " ").ins(0, curslider->description);
/* move us to the bottom of the screen, and expand to full width */

View File

@ -20,7 +20,7 @@
raw wave. It saves some time & memory but disables the ability to "hear" the
cassette.
This does not affect raw wave files.
Also, we do not do this for k5 files because the the corresponding wave
Also, we do not do this for k5 files because the corresponding wave
files are more compact anyway. */
/* It must be set accordingly in machine/thomson.c */

View File

@ -665,7 +665,7 @@ FLAC_API FLAC__bool FLAC__metadata_simple_iterator_delete_block(FLAC__Metadata_S
*
* - Create a new chain using FLAC__metadata_chain_new(). A chain is a
* linked list of FLAC metadata blocks.
* - Read all metadata into the the chain from a FLAC file using
* - Read all metadata into the chain from a FLAC file using
* FLAC__metadata_chain_read() or FLAC__metadata_chain_read_ogg() and
* check the status.
* - Optionally, consolidate the padding using
@ -1690,7 +1690,7 @@ FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_append_comment(FLAC__Str
* For convenience, a trailing NUL is added to the entry if it doesn't have
* one already.
*
* Depending on the the value of \a all, either all or just the first comment
* Depending on the value of \a all, either all or just the first comment
* whose field name(s) match the given entry's name will be replaced by the
* given entry. If no comments match, \a entry will simply be appended.
*

View File

@ -64544,7 +64544,7 @@ static int vdbeRecordCompareDebug(
assert( mem1.zMalloc==0 );
/* rc==0 here means that one of the keys ran out of fields and
** all the fields up to that point were equal. Return the the default_rc
** all the fields up to that point were equal. Return the default_rc
** value. */
return pPKey2->default_rc;
}
@ -64907,7 +64907,7 @@ SQLITE_PRIVATE int sqlite3VdbeRecordCompare(
assert( mem1.zMalloc==0 );
/* rc==0 here means that one or both of the keys ran out of fields and
** all the fields up to that point were equal. Return the the default_rc
** all the fields up to that point were equal. Return the default_rc
** value. */
assert( CORRUPT_DB
|| pPKey2->default_rc==vdbeRecordCompareDebug(nKey1, pKey1, pPKey2)
@ -77813,7 +77813,7 @@ static int exprStructSize(Expr *p){
** Note that with flags==EXPRDUP_REDUCE, this routines works on full-size
** (unreduced) Expr objects as they or originally constructed by the parser.
** During expression analysis, extra information is computed and moved into
** later parts of teh Expr object and that extra information might get chopped
** later parts of the Expr object and that extra information might get chopped
** off if the expression is reduced. Note also that it does not work to
** make a EXPRDUP_REDUCE copy of a reduced expression. It is only legal
** to reduce a pristine expression tree from the parser. The implementation
@ -82529,7 +82529,7 @@ static void stat4Destructor(void *pOld){
** in the index (N). The second argument (C) is only used for STAT3 and STAT4.
**
** This routine allocates the Stat4Accum object in heap memory. The return
** value is a pointer to the the Stat4Accum object encoded as a blob (i.e.
** value is a pointer to the Stat4Accum object encoded as a blob (i.e.
** the size of the blob is sizeof(void*) bytes).
*/
static void statInit(
@ -86366,7 +86366,7 @@ static int hasColumn(const i16 *aiCol, int nCol, int x){
** no rowid btree for a WITHOUT ROWID. Instead, the canonical
** data storage is a covering index btree.
** (2) Bypass the creation of the sqlite_master table entry
** for the PRIMARY KEY as the the primary key index is now
** for the PRIMARY KEY as the primary key index is now
** identified by the sqlite_master table entry of the table itself.
** (3) Set the Index.tnum of the PRIMARY KEY Index object in the
** schema to the rootpage from the main table.

View File

@ -79,7 +79,7 @@ private:
UINT32 m_block_size; // block size
// header stripping
bool m_strip_metadata; // strip the the metadata?
bool m_strip_metadata; // strip the metadata?
UINT32 m_ignore_bytes; // how many bytes to ignore when writing
bool m_found_audio; // have we hit the audio yet?
};

View File

@ -150,7 +150,7 @@ public:
merge(left, parentNode);
merge(right, parentNode);
// Now we're the the root
// Now we're the root
m_root = parentNode;
}
else

View File

@ -135,7 +135,7 @@ struct bpf_stat
///< from the beginning of the current capture. This value includes the packets
///< lost by the driver.
UINT bs_drop; ///< number of packets that the driver lost from the beginning of a capture.
///< Basically, a packet is lost when the the buffer of the driver is full.
///< Basically, a packet is lost when the buffer of the driver is full.
///< In this situation the packet cannot be stored and the driver rejects it.
UINT ps_ifdrop; ///< drops by interface. XXX not yet supported
UINT bs_capt; ///< number of packets that pass the filter, find place in the kernel buffer and

View File

@ -45,7 +45,7 @@ extern "C" {
*/
struct pcap_send_queue
{
u_int maxlen; ///< Maximum size of the the queue, in bytes. This variable contains the size of the buffer field.
u_int maxlen; ///< Maximum size of the queue, in bytes. This variable contains the size of the buffer field.
u_int len; ///< Current size of the queue, in bytes.
char *buffer; ///< Buffer containing the packets to be sent.
};

View File

@ -160,7 +160,7 @@ struct static_tree_desc_s {int dummy;}; /* for buggy compilers */
/* ===========================================================================
* Update a hash value with the given input byte
* IN assertion: all calls to to UPDATE_HASH are made with consecutive
* IN assertion: all calls to UPDATE_HASH are made with consecutive
* input characters, so that a running hash key can be computed from the
* previous key instead of complete recalculation each time.
*/
@ -173,7 +173,7 @@ struct static_tree_desc_s {int dummy;}; /* for buggy compilers */
* the previous length of the hash chain.
* If this file is compiled with -DFASTEST, the compression level is forced
* to 1, and no hash chains are maintained.
* IN assertion: all calls to to INSERT_STRING are made with consecutive
* IN assertion: all calls to INSERT_STRING are made with consecutive
* input characters and the first MIN_MATCH bytes of str are valid
* (except for the last MIN_MATCH-1 bytes of the input file).
*/

View File

@ -339,7 +339,7 @@ static DISCRETE_SOUND_START(bzone)
5.0 * RES_VOLTAGE_DIVIDER(BZ_R7, BZ_R6), /* INP0 */
5.0 * RES_VOLTAGE_DIVIDER(BZ_R7, RES_2_PARALLEL(CD4066_R_ON + BZ_R5, BZ_R6))) /* INP1 */
/* R5, R6, R7 all affect the following circuit charge discharge rates */
/* they are not emulated as their effect is less the the 5% component tolerance */
/* they are not emulated as their effect is less than the 5% component tolerance */
DISCRETE_RCDISC3(NODE_62, /* IC K5, pin 7 */
1, NODE_61, BZ_R8, BZ_R9, BZ_C13, -0.5)

View File

@ -191,7 +191,7 @@ foreground and not behind the moving elevator layer.
2. Oddly enough, the emulation completely misses the huge zombie that jumps
out during the attract demo right before the text story text comes in.
When you hear the the high pitch "zing" sound, there should be a zombie nearly
When you hear the high pitch "zing" sound, there should be a zombie nearly
the entire size of the screen.

View File

@ -2214,8 +2214,8 @@ http://uk.youtube.com/watch?v=Y-KvbKtqzaQ
Rom 21 is full of 0's... i cleaned and re-dumped
it numerous times, but i just got 0's everytime.
It contains some of the the graphics for enemies
on the opening stage at the very least.
It contains some of the graphics for enemies on
the opening stage at the very least.
enjoy..

View File

@ -798,9 +798,9 @@ COMMAND_MODE:
Each star map is generated by two data sets pointed by the second source
address. The first 256-byte set has scattered bits to reflect the star
population while the second 256-byte set appears to have random values.
When the game runs the the star fields are updated a small portion at a
time by a third data set containing gradient patterns which may indicate
gray shades or alpha levels.
When the game runs the star fields are updated a small portion at a time
by a third data set containing gradient patterns which may indicate gray
shades or alpha levels.
Halley's Comet draws and clears the two star fields as if they are
independent from the backgrounds, making it a total of four scrollable

View File

@ -13,7 +13,7 @@ TODO:
- various gfx size/pos glitches (gaps, extra rows of pixels here and there)
- real gfx zoom, based on the zoom params, not lookup table
- apply double buffering (sometimes gfx is displayed at y+256 every other frame (extra bits are currently masked out))
- fix road/sky (extra bits in teh scroll reg. are there two bitmap buffers? )
- fix road/sky (extra bits in the scroll reg. are there two bitmap buffers? )
- bitmap layer clearing
- fix wrong coords of sprites rendered into the bitmap layer (intro car)
- is toggle_bit really a vblank bit ? or somethign else (blitter status ?)

View File

@ -499,7 +499,7 @@ WRITE32_MEMBER(_3do_state::_3do_madam_w){
case 0x0100/4: /* 03300100 - SPRSTRT - Start the CEL engine (W) */
case 0x0104/4: /* 03300104 - SPRSTOP - Stop the CEL engine (W) */
case 0x0108/4: /* 03300108 - SPRCNTU - Continue the CEL engine (W) */
case 0x010c/4: /* 0330010c - SPRPAUS - Pause the the CEL engine (W) */
case 0x010c/4: /* 0330010c - SPRPAUS - Pause the CEL engine (W) */
break;
case 0x0110/4: /* 03300110 - CCOBCTL0 - CCoB control (RW) */
m_madam.ccobctl0 = data;

View File

@ -25,7 +25,7 @@
/* Note on a tapes leader-BOT-data-EOT-trailer format:
* A cassette has a transparent piece of tape on both ends,
* leader and trailer. And data tapes also have BOT and EOT
* holes, shortly before the the leader and trailer.
* holes, shortly before the leader and trailer.
* The holes and clear tape are detected using a photo-resitor.
* When rewinding, the BOT/EOT signal will show a short
* pulse and if rewind continues a constant high signal later.

View File

@ -63,7 +63,7 @@
that changes at every address. To prevent that double use, the CPU fetches
the 8-bit key from a different place when decrypting words 0-3, but this only
happens after wrapping around at least once; when decrypting the first four
words of memory, which correspond the the initial SP and initial PC vectors,
words of memory, which correspond to the initial SP and initial PC vectors,
the 8-bit key is taken from bytes 0-3 of RAM. Instead, when fetching the
vectors, the global key is handled differently, to prevent double use of
those bytes. But this special handling of the global key doesn't apply to

View File

@ -660,7 +660,7 @@ bool atari_motion_objects_device::dual_sprite_parameter::set(const atari_motion_
if (!m_upper.set(input.data_upper))
return false;
// determine teh upper shift amount
// determine the upper shift amount
UINT16 temp = m_lower.mask();
m_uppershift = 0;
while (temp != 0)

View File

@ -56,7 +56,7 @@ Tile encoding 4 bytes/tile (banks of 2000 bytes):
Communication with these ics go through 4 memory zones:
1000/2000 bytes: access to the currently selected ram bank
2000 bytes: readonly access the the currently select tile
2000 bytes: readonly access to the currently selected tile
rom bank for rom checksumming
40 bytes: writeonly access to the first register bank
8 bytes: writeonly access to the second register bank

View File

@ -421,7 +421,7 @@ WRITE8_MEMBER(segag80r_state::spaceod_back_port_w)
WRITE8_MEMBER(segag80r_state::monsterb_videoram_w)
{
/* accesses to the the area $f040-$f07f go to background palette if */
/* accesses to the area $f040-$f07f go to background palette if */
/* the palette access enable bit is set */
if ((offset & 0x1fc0) == 0x1040 && (m_video_control & 0x40))
{
@ -491,7 +491,7 @@ WRITE8_MEMBER(segag80r_state::monsterb_back_port_w)
WRITE8_MEMBER(segag80r_state::pignewt_videoram_w)
{
/* accesses to the the area $f040-$f07f go to background palette if */
/* accesses to the area $f040-$f07f go to background palette if */
/* the palette access enable bit is set */
if ((offset & 0x1fc0) == 0x1040 && (m_video_control & 0x02))
{
@ -574,7 +574,7 @@ WRITE8_MEMBER(segag80r_state::pignewt_back_port_w)
WRITE8_MEMBER(segag80r_state::sindbadm_videoram_w)
{
/* accesses to the the area $f000-$f03f go to background palette if */
/* accesses to the area $f000-$f03f go to background palette if */
/* the palette access enable bit is set */
if ((offset & 0x1fc0) == 0x1000 && (m_video_control & 0x02))
{

View File

@ -118,7 +118,7 @@ struct cass_data_t {
struct {
int length; /* time cassette level is at output.level */
int level; /* cassette level */
int bit; /* bit to to output */
int bit; /* bit to output */
} output;
};

View File

@ -34,7 +34,7 @@ struct cass_data_t {
struct {
int length; /* time cassette level is at output.level */
int level; /* cassette level */
int bit; /* bit to to output */
int bit; /* bit to output */
} output;
};

View File

@ -45,7 +45,7 @@ struct cass_data_t {
struct {
int length; /* time cassette level is at output.level */
int level; /* cassette level */
int bit; /* bit to to output */
int bit; /* bit to output */
} output;
z80netape_speed speed; /* 300 - 600 - 1200 */
int wave_filter;

View File

@ -377,7 +377,7 @@ WRITE8_MEMBER(bbc_state::bbcm_ACCCON_write)
/* ACCCON_TST controls paging of rom reads in the 0xFC00-0xFEFF reigon */
/* if 0 the I/O is paged for both reads and writes */
/* if 1 the the ROM is paged in for reads but writes still go to I/O */
/* if 1 the ROM is paged in for reads but writes still go to I/O */
if (m_ACCCON_TST)
{
m_bank8->set_base(m_region_os->base() + 0x3c00);