X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fmemory.h;h=892e17a7e2ad73ef98af5906cca49568f864de0c;hb=fc3c2b3dbd1b840445dc5bd9f2d3e99ac68837e6;hp=9b8fa047069a861bc1ecf4fd83bd837d2f5c9576;hpb=fc4dd8fa3aab94a5f63c097ed9809c75560abd7d;p=emu8051.git diff --git a/src/memory.h b/src/memory.h index 9b8fa04..892e17a 100644 --- a/src/memory.h +++ b/src/memory.h @@ -22,23 +22,21 @@ #ifndef MEMORY_H #define MEMORY_H 1 - #include - enum { - SFR_MEM_ID, PGM_MEM_ID, INT_MEM_ID, EXT_MEM_ID }; - void -memory_write8( int memory_id, unsigned long address, u_int8_t value ); +memory_write8(int memory_id, unsigned long address, u_int8_t value); u_int8_t -memory_read8( int memory_id, unsigned long address ); +memory_read8(int memory_id, unsigned long address); +void +DumpMem(char *buf, char *Address, int memory_id); #endif /* MEMORY_H */