Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hackwaly committed May 9, 2013
1 parent 88971eb commit edf3321
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/m65c02.js
Original file line number Diff line number Diff line change
Expand Up @@ -1907,8 +1907,6 @@ M65C02Context.prototype.execute = function() {
} else {
if (this._code < 0xBB) {
this.reg_x = (this.reg_sp & 0xFF);
this.flag_n = (this.reg_x & 0x80) >> 7;
this.flag_z = (this.reg_x & 0xFF) ? 0 : 1;
this.cycles += 2;
} else {
this.cycles += 1;
Expand Down
6 changes: 3 additions & 3 deletions src/wqx.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ var Wqx = (function (){
return this.ram[io05_clock_ctrl]; // follow rulz by GGV
};
Wqx.prototype.read06StopTimer1 = function (){
console.log('read06StopTimer1');
console.log('read06StopTimer1: ' + this.ram[io04_general_ctrl]);
//todo
return this.ram[io06_lcd_config];
};
Expand All @@ -317,7 +317,7 @@ var Wqx = (function (){
};
Wqx.prototype.read3BUnknown = function (){
if (!(this.ram[0x3d] & 0x03)) {
return 0 & 0xFE; // unknown & 0xFE.
return this.clockRecords[0x3B] & 0xFE;
}
};
Wqx.prototype.read3FClock = function (){
Expand Down Expand Up @@ -497,7 +497,7 @@ var Wqx = (function (){
this.memmap[mapE000] = getByteArray(this.volume0array[0], 0x2000, 0x2000);
}

this.memmap[map2000] = this.ram2000_4000;
this.memmap[map2000] = this.ram4000_6000;
var roabbs = this.ram[io0A_roa];
if (!(roabbs & 0x04)) {
this.memmap[map2000] = this.ram2000_4000;
Expand Down

0 comments on commit edf3321

Please sign in to comment.