X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fcommon%2Fmemory.h;h=9b3bae1cf9753711935c87204cb7f2ab9225ca4e;hb=888cea8f85af92ccea5223d635eff1c6d44925a5;hp=cbb9eb8656e00254af1f8b1919352f1d5ccb413d;hpb=8e5b455c12e63cc80693f734b7055d5f2c83534b;p=emu8051.git diff --git a/src/common/memory.h b/src/common/memory.h index cbb9eb8..9b3bae1 100644 --- a/src/common/memory.h +++ b/src/common/memory.h @@ -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);