mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
fix PIT single byte access order
This commit is contained in:
parent
6c5fe0f40c
commit
51bf5a63dc
1 changed files with 4 additions and 4 deletions
|
|
@ -308,13 +308,13 @@ PIT.prototype.port43_write = function(reg_byte)
|
|||
|
||||
if(read_mode === 1)
|
||||
{
|
||||
// msb
|
||||
this.counter_next_low[i] = 0;
|
||||
// lsb
|
||||
this.counter_next_low[i] = 1;
|
||||
}
|
||||
else if(read_mode === 2)
|
||||
{
|
||||
// lsb
|
||||
this.counter_next_low[i] = 1;
|
||||
// msb
|
||||
this.counter_next_low[i] = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue