#define INT_MEM_SIZE 256 /* IRAM = Direct addresses $00 to $7F
* SFR = Direct addresses $80 to $FF */
#define EXT_MEM_SIZE 65536
+#define EXT_MEM_DEFAULT_SIZE 1024
enum {
PGM_MEM_ID,
static struct argp_option argp_options[] = {
{"debug", 'd', "level", 0, "Produce debugging output" },
{"iram", 'i', "size", 0, "Set internal ram size" },
- {"xram", 'x', "size", 0, "Set external ram size" },
+ {"xram", 'x', "size", 0, "Set external ram size (default is 1024)" },
{ 0 }
};
/* Setting default values. */
options.filename = NULL;
options.iram_size = INT_MEM_SIZE;
- options.xram_size = EXT_MEM_SIZE;
+ options.xram_size = EXT_MEM_DEFAULT_SIZE;
/* Parse our arguments. */
argp_parse(&argp, argc, argv, 0, 0, NULL);