moved nemu to devices.ts, new folder structure

This commit is contained in:
Steven Hugg 2019-08-22 21:31:56 -04:00
parent 385f64bc50
commit 52783cffe7
5 changed files with 10 additions and 10 deletions

View File

@ -543,9 +543,9 @@ function require(modname) {
<script src="gen/ui.js"></script>
<!-- <script src="src/audio/votrax.js"></script> -->
<!-- <script src="local/lzg.js"></script> -->
<script src="gen/nemu/nemu.js"></script>
<script src="gen/nemu/cpu/MOS6502.js"></script>
<script src="gen/nemu/machine/apple2.js"></script>
<script src="gen/devices.js"></script>
<script src="gen/cpu/MOS6502.js"></script>
<script src="gen/machine/apple2.js"></script>
<script>
// submenus open on click + hover

View File

@ -1,5 +1,5 @@
import { CPU, Bus, ClockBased, SavesState, Interruptable } from "../nemu";
import { CPU, Bus, ClockBased, SavesState, Interruptable } from "../devices";
// Copyright 2015 by Paulo Augusto Peccin. See license.txt distributed with this file.

View File

@ -1,9 +1,9 @@
"use strict";
import { MOS6502, MOS6502State } from "../cpu/MOS6502";
import { Bus, RasterFrameBased, SavesState, AcceptsROM, noise, Resettable, SampledAudioSource, SampledAudioSink } from "../nemu";
import { KeyFlags } from "../../emu"; // TODO
import { lzgmini } from "../../util";
import { Bus, RasterFrameBased, SavesState, AcceptsROM, noise, Resettable, SampledAudioSource, SampledAudioSink } from "../devices";
import { KeyFlags } from "../emu"; // TODO
import { lzgmini } from "../util";
const cpuFrequency = 1023000;
const cpuCyclesPerLine = 65; // approx: http://www.cs.columbia.edu/~sedwards/apple2fpga/

View File

@ -1068,9 +1068,9 @@ class Apple2MAMEPlatform extends BaseMAMEPlatform implements Platform {
///
// TODO: move to own place, debugging
import { CPU, Bus, ClockBased, SavesState, Interruptable, CPUClockHook } from "../nemu/nemu";
import { MOS6502 } from "../nemu/cpu/MOS6502";
import { AppleII } from "../nemu/machine/apple2";
import { CPU, Bus, ClockBased, SavesState, Interruptable, CPUClockHook } from "../devices";
import { MOS6502 } from "../cpu/MOS6502";
import { AppleII } from "../machine/apple2";
class NewApple2Platform extends Base6502Platform implements Platform {