Align memory data columns text on left side
[emu8051.git] / src / memory.h
index 55a034a..4166da9 100644 (file)
 
 #include <sys/types.h>
 
+#define PGM_MEM_SIZE 65536
+#define INT_MEM_SIZE 256 /* IRAM = Direct addresses $00 to $7F
+                         * SFR  = Direct addresses $80 to $FF */
+#define EXT_MEM_SIZE 65536
+
 enum {
   PGM_MEM_ID,
   INT_MEM_ID,
@@ -31,12 +36,12 @@ enum {
 };
 
 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);
+DumpMem(char *Address, char *Asize, int memory_id);
 
 #endif /* MEMORY_H */