... | ... |
@@ -94,7 +94,7 @@ uxn_interrupt(void) |
94 | 94 |
static int |
95 | 95 |
start(Uxn *u) |
96 | 96 |
{ |
97 |
- if(!uxn_boot(u, (Uint8 *)calloc(0x10000, sizeof(Uint8)), emu_dei, emu_deo)) |
|
97 |
+ if(!uxn_boot(u, (Uint8 *)calloc(0x10300, sizeof(Uint8)), emu_dei, emu_deo)) |
|
98 | 98 |
return error("Boot", "Failed"); |
99 | 99 |
/* system */ uxn_port(u, 0x0, system_dei, system_deo); |
100 | 100 |
/* console */ uxn_port(u, 0x1, nil_dei, console_deo); |
... | ... |
@@ -264,7 +264,7 @@ static int |
264 | 264 |
start(Uxn *u, char *rom) |
265 | 265 |
{ |
266 | 266 |
free(u->ram); |
267 |
- if(!uxn_boot(u, calloc(0x10000, 1), emu_dei, emu_deo)) |
|
267 |
+ if(!uxn_boot(u, calloc(0x10300, 1), emu_dei, emu_deo)) |
|
268 | 268 |
return error("Boot", "Failed to start uxn."); |
269 | 269 |
if(!load(u, rom)) |
270 | 270 |
return error("Boot", "Failed to load rom."); |