mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Reinstate vbl hack.
This commit is contained in:
parent
deec11a2a3
commit
680de778ee
@ -35,9 +35,10 @@ export function Apple2(options) {
|
||||
vm.enhanced(options.enhanced);
|
||||
|
||||
var io = new Apple2IO(cpu, vm);
|
||||
var mmu = null;
|
||||
|
||||
if (options.e) {
|
||||
var mmu = new MMU(cpu, vm, gr, gr2, hgr, hgr2, io, options.rom);
|
||||
mmu = new MMU(cpu, vm, gr, gr2, hgr, hgr2, io, options.rom);
|
||||
cpu.addPageHandler(mmu);
|
||||
} else {
|
||||
var ram1 = new RAM(0x00, 0x03),
|
||||
@ -100,6 +101,9 @@ export function Apple2(options) {
|
||||
} else {
|
||||
cpu.stepCycles(step);
|
||||
}
|
||||
if (mmu) {
|
||||
mmu.resetVB();
|
||||
}
|
||||
if (io.annunciator(0)) {
|
||||
if (options.multiScreen) {
|
||||
vm.blit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user