Rename DumpMem function -> memory_dump
[emu8051.git] / src / common / memory.h
index 7beb0e8..f7911f7 100644 (file)
@@ -43,9 +43,15 @@ enum mem_id_t {
        MEM_ID_COUNT
 };
 
+#define DISPLAY_ERROR_NO  0
+#define DISPLAY_ERROR_YES 1
+
 void
 memory_init(void);
 
+int
+memory_check_address(enum mem_id_t id, unsigned long address, int display_error);
+
 u_int8_t *
 memory_getbuf(enum mem_id_t id, unsigned long address);
 
@@ -86,6 +92,6 @@ uint16_t
 pgm_read_addr16(uint16_t base);
 
 void
-DumpMem(char *Address, char *Asize, int memory_id);
+memory_dump(unsigned int address, int size, int memory_id);
 
 #endif /* MEMORY_H */