From 9564f86a57d2a91bfced56fb3b87b6d62a500a48 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Thu, 11 Jan 2018 21:57:52 -0600 Subject: [PATCH] Remove flash_memory function --- include/mos6502.h | 1 - src/mos6502.c | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/include/mos6502.h b/include/mos6502.h index 4593149..17eaeef 100644 --- a/include/mos6502.h +++ b/include/mos6502.h @@ -126,7 +126,6 @@ extern vm_16bit mos6502_get16(mos6502 *, size_t); extern vm_16bit mos6502_pop_stack(mos6502 *); extern vm_8bit mos6502_get(mos6502 *, size_t); extern void mos6502_execute(mos6502 *); -extern void mos6502_flash_memory(mos6502 *, vm_segment *); extern void mos6502_free(mos6502 *); extern void mos6502_modify_status(mos6502 *, vm_8bit, vm_8bit); extern void mos6502_push_stack(mos6502 *, vm_16bit); diff --git a/src/mos6502.c b/src/mos6502.c index 3ca703f..4072411 100644 --- a/src/mos6502.c +++ b/src/mos6502.c @@ -419,16 +419,6 @@ mos6502_would_jump(int inst_code) inst_code == RTI; } -/* - * Here we copy the segment directly into the cpu memory, to essentially - * "flash" memory with the contents of another segment. - */ -void -mos6502_flash_memory(mos6502 *cpu, vm_segment *segment) -{ - //vm_segment_copy(cpu, segment, 0, 0, cpu->size - 1); -} - /* * This is a _kind_ of factory method, except we're obviously not * instantiating an object. Given an address mode, we return the