From: Hugo Villeneuve Date: Sat, 11 Jan 2014 22:26:25 +0000 (-0500) Subject: Set program memory size default to 65536 X-Git-Tag: v2.0.0~12 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=002704777252af946e2e06ff0adb7003556f99d0;p=emu8051.git Set program memory size default to 65536 Before was set to 8192. To make sure to not cause problems with bigger programs, or with small programs that are split accross large memory regions. --- diff --git a/src/common/memory.h b/src/common/memory.h index fee41a6..be1c422 100644 --- a/src/common/memory.h +++ b/src/common/memory.h @@ -33,7 +33,7 @@ #define INT_MEM_MAX_SIZE 256 #define EXT_MEM_MAX_SIZE 65536 -#define PGM_MEM_DEFAULT_SIZE 8192 +#define PGM_MEM_DEFAULT_SIZE PGM_MEM_MAX_SIZE #define EXT_MEM_DEFAULT_SIZE 1024 enum mem_id_t {