Bläddra i källkod

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

master
Bryan Miller 5 år sedan
förälder
incheckning
ecd453d812
5 ändrade filer med 4 tillägg och 4 borttagningar
  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 Visa fil


src/chip/MOS6502/cpu.js → src/MOS6502/cpu.js Visa fil

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


test/unit.src.chip.MOS6502.assembler.spec.js → test/unit.src.MOS6502.assembler.spec.js Visa fil

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

@@ -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');



Laddar…
Avbryt
Spara