summaryrefslogtreecommitdiff
path: root/emu/memory.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-12-10 19:50:39 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-12-10 19:50:39 +0100
commit1269d11d15f1014b7ac87fc2bb2c76367404e16c (patch)
treed8d4595811b279d2e7d5ccef32f55ba5cbcba585 /emu/memory.h
parent84e25eb07749636b48deb802d673f44841c55d91 (diff)
download6502-1269d11d15f1014b7ac87fc2bb2c76367404e16c.tar.gz
6502-1269d11d15f1014b7ac87fc2bb2c76367404e16c.tar.bz2
some more unit testing
Diffstat (limited to 'emu/memory.h')
-rw-r--r--emu/memory.h2
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 );