mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-03 15:31:29 +00:00
Remove flash_memory function
This commit is contained in:
parent
578e0b291c
commit
9564f86a57
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user