1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-08-20 09:29:01 +00:00

Remove flash_memory function

This commit is contained in:
Peter Evans 2018-01-11 21:57:52 -06:00
parent 578e0b291c
commit 9564f86a57
2 changed files with 0 additions and 11 deletions

View File

@ -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);

View File

@ -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