comparison src/gb/GB.h @ 96:cb487c4ce5c0

added write-memory!, which allows me to write any value to the gameboy's memory-mapped rom or ram.
author Robert McIntyre <rlm@mit.edu>
date Sun, 11 Mar 2012 23:27:19 -0500
parents 4c60ebca1a9d
children 2090bcb78f44
comparison
equal deleted inserted replaced
95:b74a578d0c88 96:cb487c4ce5c0
46 46
47 extern int getRamSize(); 47 extern int getRamSize();
48 extern int getRomSize(); 48 extern int getRomSize();
49 49
50 extern void storeMemory(int32 *); 50 extern void storeMemory(int32 *);
51 extern void writeMemory(int32 *);
52
51 extern void storeRam(int32 *); 53 extern void storeRam(int32 *);
52 extern void storeRom(int32 *); 54 extern void storeRom(int32 *);
53 extern void storeWRam(int32 *); 55 extern void storeWRam(int32 *);
54 extern void storeVRam(int32 *); 56 extern void storeVRam(int32 *);
55 extern void storeRegisters(int32 *); 57 extern void storeRegisters(int32 *);