@@ -1,8 +1,8 @@ | |||
/* | |||
* Emulate a basic 6502 (MOS) chip. | |||
*/ | |||
const BITM = require('../utils/bitman.js'); | |||
var IMem = require('../memory').IMem; | |||
const BITM = require('../../utils/bitman.js'); | |||
var IMem = require('../../memory').IMem; | |||
// mode = 0 - Immediate | |||
// mode = 1 - Zero Page |
@@ -1,6 +1,6 @@ | |||
const IO = require('./io.js'); | |||
const BCD = require('./utils/bcd.js'); | |||
const BITM = require('./utils/bitman.js'); | |||
const IO = require('../io.js'); | |||
const BCD = require('../utils/bcd.js'); | |||
const BITM = require('../utils/bitman.js'); | |||
function EnableICBit(cia, pos){ | |||
v = 1 << pos; |
@@ -2,7 +2,7 @@ | |||
require('./unit.src.clock.spec.js'); | |||
require('./unit.src.utils.spec.js'); | |||
require('./unit.src.memory.spec.js'); | |||
require('./unit.src.MOSCIA.spec.js'); | |||
require('./unit.src.MOS6502.assembler.spec.js'); | |||
require('./unit.src.MOS6502.cpu.spec.js'); | |||
require('./unit.src.MOS.CIA.spec.js'); | |||
require('./unit.src.MOS.6502.assembler.spec.js'); | |||
require('./unit.src.MOS.6502.cpu.spec.js'); | |||
@@ -1,5 +1,5 @@ | |||
const expect = require('chai').expect; | |||
const Assembler = require('../src/MOS6502/assembler.js'); | |||
const Assembler = require('../src/MOS/6502/assembler.js'); | |||
describe("Testing MOS6502 Assembler...", function(){ |
@@ -1,5 +1,5 @@ | |||
const expect = require('chai').expect; | |||
const MOS6502 = require('../src/MOS6502'); | |||
const MOS6502 = require('../src/MOS/6502'); | |||
const Mem = require('../src/memory'); | |||
@@ -1,5 +1,5 @@ | |||
const expect = require('chai').expect; | |||
const MOSCIA = require('../src/MOSCIA.js'); | |||
const MOSCIA = require('../src/MOS/CIA.js'); | |||
describe("MOSCIA Tests...", function(){ |