mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
Reduce memory use
This commit is contained in:
parent
ac97d79c52
commit
8a0a89f179
3 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ typedef void (**cfa)();
|
|||
#define CELL sizeof(cell)
|
||||
#define STACK_SIZE 1024
|
||||
#define RSTACK_SIZE 1024
|
||||
#define MEMORY_SIZE 0x100000
|
||||
#define MEMORY_SIZE 0x20000
|
||||
|
||||
typedef struct builtin {
|
||||
struct builtin *prev;
|
||||
|
|
|
@ -7,7 +7,7 @@ import os
|
|||
import sys
|
||||
import operator
|
||||
|
||||
MEMORY_SIZE = 0x08000000
|
||||
MEMORY_SIZE = 0x20000
|
||||
STACK_SIZE = 0x400
|
||||
RSTACK_SIZE = 0x400
|
||||
HERE_CELL = 0
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
00000030: 0000 0000 0100 0000 e_shnum,e_shstrndx,<phdr>p_type=PT_LOAD
|
||||
00000038: 0000 0000 0080 0408 p_offset,p_vaddr=0x08048000
|
||||
00000040: 0000 0000 f003 0000 p_paddr,p_filesz
|
||||
00000048: 0000 0008 0700 0000 p_memsz(128MB),p_flags=PF_X|PF_W|PF_R
|
||||
00000048: 0000 2000 0700 0000 p_memsz(128KB),p_flags=PF_X|PF_W|PF_R
|
||||
00000050: 0010 0000 f083 0408 p_align, <here>
|
||||
00000058: d083 0408 0000 0000 <latest:init="v">, <sp0>
|
||||
00000060: f080 0408 7081 0408 <interpreter>key, find
|
||||
00000068: a081 0408 4081 0408 execute, jump
|
||||
00000070: f0ff ffff be60 8004 -16, movl $interpreter, %esi
|
||||
00000078: 08bd 0080 0410 8925 movl $0x10048000,%ebp; movl %esp,sp0;
|
||||
00000078: 08bd 0080 0608 8925 movl $0x08068000,%ebp; movl %esp,sp0;
|
||||
00000080: 5c80 0408 adff 2000 next;
|
||||
|
||||
00000088: 0000 0000 0151 0000 Q: quit
|
||||
|
|
Loading…
Reference in a new issue