From 55183a3c50e100241c7b9bbf270e2023e6755ed4 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Fri, 17 May 2024 14:57:24 -0700 Subject: [PATCH] Up RAMFactor memory to 8M --- js/components/Slinky.tsx | 2 +- js/main2.ts | 2 +- js/main2e.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/components/Slinky.tsx b/js/components/Slinky.tsx index 95be0751..0e28a14f 100644 --- a/js/components/Slinky.tsx +++ b/js/components/Slinky.tsx @@ -21,7 +21,7 @@ export interface SlinkyProps { export const Slinky = ({ io, slot }: SlinkyProps) => { useEffect(() => { if (io) { - const slinky = new RAMFactor(1024 * 1024); + const slinky = new RAMFactor(8 * 1024 * 1024); io.setSlot(slot, slinky); } }, [io, slot]); diff --git a/js/main2.ts b/js/main2.ts index ed736d36..8c4d834a 100644 --- a/js/main2.ts +++ b/js/main2.ts @@ -86,7 +86,7 @@ apple2.ready const lc = new LanguageCard(apple2.getROM()); const parallel = new Parallel(printer); const videoTerm = new VideoTerm(); - const slinky = new RAMFactor(1024 * 1024); + const slinky = new RAMFactor(8 * 1024 * 1024); const disk2 = new DiskII(io, driveLights, sectors); const clock = new Thunderclock(); const smartport = new SmartPort(cpu, null, { block: true }); diff --git a/js/main2e.ts b/js/main2e.ts index 69a09eee..665c236e 100644 --- a/js/main2e.ts +++ b/js/main2e.ts @@ -66,7 +66,7 @@ apple2.ready const mouseUI = new MouseUI(options.canvas); const parallel = new Parallel(printer); - const slinky = new RAMFactor(1024 * 1024); + const slinky = new RAMFactor(8 * 1024 * 1024); const disk2 = new DiskII(io, driveLights); const clock = new Thunderclock(); const smartport = new SmartPort(cpu, null, { block: !enhanced });