From ec735c7e09678eb333d73d5920004947d361f589 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sat, 30 Apr 2022 00:58:40 +0300 Subject: fix(cpu): don't clear RAM on reset #107 wokwi/wokwi-features#282 --- src/cpu/cpu.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/cpu') diff --git a/src/cpu/cpu.ts b/src/cpu/cpu.ts index 77a6b05..d26ef8f 100644 --- a/src/cpu/cpu.ts +++ b/src/cpu/cpu.ts @@ -85,7 +85,6 @@ export class CPU { } reset() { - this.data.fill(0); this.SP = this.data.length - 1; this.pc = 0; this.pendingInterrupts.fill(null); -- cgit v1.2.3