Browse Source

Moved MOS6502 out of the chip directory. Adjusted tests accordingly.

master
Bryan Miller 5 years ago
parent
commit
ecd453d812
5 changed files with 4 additions and 4 deletions
  1. +0
    -0
      src/MOS6502/assembler.js
  2. +2
    -2
      src/MOS6502/cpu.js
  3. +0
    -0
      src/MOS6502/index.js
  4. +1
    -1
      test/unit.src.MOS6502.assembler.spec.js
  5. +1
    -1
      test/unit.src.MOS6502.cpu.spec.js

src/chip/MOS6502/assembler.js → src/MOS6502/assembler.js View File


src/chip/MOS6502/cpu.js → src/MOS6502/cpu.js View File

@@ -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

src/chip/MOS6502/index.js → src/MOS6502/index.js View File


test/unit.src.chip.MOS6502.assembler.spec.js → test/unit.src.MOS6502.assembler.spec.js View File

@@ -1,5 +1,5 @@
const expect = require('chai').expect;
const Assembler = require('../src/chip/MOS6502/assembler.js');
const Assembler = require('../src/MOS6502/assembler.js');


describe("Testing MOS6502 Assembler...", function(){

test/unit.src.chip.MOS6502.cpu.spec.js → test/unit.src.MOS6502.cpu.spec.js View File

@@ -1,5 +1,5 @@
const expect = require('chai').expect;
const CPU = require('../src/chip/MOS6502/cpu.js');
const CPU = require('../src/MOS6502/cpu.js');
const Mem = require('../src/memory');



Loading…
Cancel
Save