From f2ac7b405786f6bc047dfda7b45c139d194ba032 Mon Sep 17 00:00:00 2001 From: Maxwell Beck Date: Sun, 20 Jul 2025 20:23:03 -0500 Subject: feat: Disk swapping --- src/6502.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/6502.c') diff --git a/src/6502.c b/src/6502.c index 09f0a04..0ed0773 100644 --- a/src/6502.c +++ b/src/6502.c @@ -1,3 +1,5 @@ +#include + #include "6502.h" #define STACK_PUSH(v) \ @@ -529,7 +531,7 @@ void cpu_reset(cpu_t *cpu) { FETCH_PC(0xfffc); } -uint8_t cpu_step(cpu_t *cpu) { +uint8_t __not_in_flash_func(cpu_step)(cpu_t *cpu) { uint8_t cycles = 0; if (cpu->jammed) { return cycles; -- cgit 1.4.1