X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fmemory.h;h=4166da9d6b8d292702aaae866063bdefc4f19a99;hb=aae7cef39947a9456cb5c1b581e6614d4e047631;hp=892e17a7e2ad73ef98af5906cca49568f864de0c;hpb=b23541495010180e3a69e3e1f64c934b28775878;p=emu8051.git diff --git a/src/memory.h b/src/memory.h index 892e17a..4166da9 100644 --- a/src/memory.h +++ b/src/memory.h @@ -24,6 +24,11 @@ #include +#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, @@ -37,6 +42,6 @@ u_int8_t 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 */