diff options
Diffstat (limited to 'emu/memory.h')
-rw-r--r-- | emu/memory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emu/memory.h b/emu/memory.h index 00e0de6..3a15bfe 100644 --- a/emu/memory.h +++ b/emu/memory.h @@ -23,6 +23,8 @@ typedef struct memory_t void memory_init( memory_t *memory, memory_type_t type, uint16_t addr, uint16_t size, bool initialize ); void memory_load( memory_t *memory, const char *filename ); +void memory_set( memory_t *memory, uint16_t addr, uint8_t *buf, int bufsize ); +void memory_reset( memory_t *memory ); uint8_t memory_read( void *obj, uint16_t addr ); void memory_write( void *obj, uint16_t addr, uint8_t data ); |