Fix typos
This commit is contained in:
github-jane-doe 2020-10-04 10:46:41 -07:00 committed by GitHub
parent 7df9050845
commit 15ff296628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 12 deletions

View file

@ -461,7 +461,7 @@ CPU.prototype.idiv16 = function(source_operand)
}
// If the dividend is too large, the division cannot be done precisely using
// JavaScript's double floating point numbers. Run simple long divsion until
// JavaScript's double floating point numbers. Run simple long division until
// the dividend is small enough
CPU.prototype.do_div32 = function(div_low, div_high, quot)
{

View file

@ -9,7 +9,7 @@ if(typeof window !== "undefined" && !window.requestAnimationFrame)
/**
* Adapter to use visual screen in browsers (in constrast to node)
* Adapter to use visual screen in browsers (in contrast to node)
* @constructor
*
* @param {BusConnector} bus
@ -78,7 +78,7 @@ function ScreenAdapter(screen_container, bus)
/**
* Charmaps that containt unicode sequences for the default dospage
* Charmaps that constraint unicode sequences for the default dospage
* @const
*/
var charmap_high = new Uint16Array([

View file

@ -231,7 +231,7 @@ function V86Starter(options)
if(name === "bios" || name === "vga_bios" ||
name === "initial_state" || name === "multiboot")
{
// Ignore async for these because they must be availabe before boot.
// Ignore async for these because they must be available before boot.
// This should make result.buffer available after the object is loaded
file.async = false;
}

View file

@ -134,7 +134,7 @@ CPU.prototype.debug_init = function()
}
// http://ref.x86asm.net/x86reference.xml
// for debuggin" purposes
// for debugging purposes
var opcode_map = [
"ADD", "ADD", "ADD", "ADD", "ADD", "ADD", "PUSH", "POP",
"OR", "OR", "OR", "OR", "OR", "OR", "PUSH", "0F:",

View file

@ -272,7 +272,7 @@ function Ne2k(cpu, bus)
var pg = this.get_page();
if(pg === 0)
{
// acknoledge interrupts where bit is set
// acknowledge interrupts where bit is set
dbg_log("Write isr: " + h(data_byte, 2), LOG_NET);
this.isr &= ~data_byte
this.update_irq();
@ -359,7 +359,7 @@ function Ne2k(cpu, bus)
var pg = this.get_page();
if(pg === 0)
{
dbg_log("Write start addresse count high: " + h(data_byte, 2), LOG_NET);
dbg_log("Write start address count high: " + h(data_byte, 2), LOG_NET);
this.rsar = this.rsar & 0xFF | data_byte << 8 & 0xFF00;
}
else

View file

@ -478,7 +478,7 @@ SB16.prototype.port2x9_read = function()
};
// Read Data.
// Used to acces in-bound DSP data.
// Used to access in-bound DSP data.
SB16.prototype.port2xA_read = function()
{
dbg_log("22A read: read data", LOG_SB16);
@ -807,7 +807,7 @@ register_dsp_command([0x14, 0x15], 2, function()
this.dma_transfer_start();
});
// Creative 8-bit to 2-bit ADPCM single-cycle DMA mode digitzed sound output.
// Creative 8-bit to 2-bit ADPCM single-cycle DMA mode digitized sound output.
register_dsp_command([0x16], 2);
// Creative 8-bit to 2-bit ADPCM single-cycle DMA mode digitzed sound output

View file

@ -323,7 +323,7 @@ function run_test(test, done)
var graphical_test_done = false;
var size_test_done = false;
function check_grapical_test_done()
function check_graphical_test_done()
{
return !test.expect_graphical_mode || (graphical_test_done && (!test.expect_graphical_size || size_test_done));
}
@ -343,7 +343,7 @@ function run_test(test, done)
return;
}
if(check_text_test_done() && check_mouse_test_done() && check_grapical_test_done())
if(check_text_test_done() && check_mouse_test_done() && check_graphical_test_done())
{
var end = Date.now();
@ -373,7 +373,7 @@ function run_test(test, done)
console.warn('Expected text "%s" after %d seconds.', bytearray_to_string(test.expected_texts[0]), timeout_seconds);
}
if(!check_grapical_test_done())
if(!check_graphical_test_done())
{
console.warn("Expected graphical mode after %d seconds.", timeout_seconds);
}