diff --git a/others/planck.c b/others/planck.c index c078d98..6114f4c 100644 --- a/others/planck.c +++ b/others/planck.c @@ -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; diff --git a/others/planck.py b/others/planck.py index 90f57f8..d72e3a6 100644 --- a/others/planck.py +++ b/others/planck.py @@ -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 diff --git a/planck.xxd b/planck.xxd index 9fe3d23..2e09669 100644 --- a/planck.xxd +++ b/planck.xxd @@ -7,13 +7,13 @@ 00000030: 0000 0000 0100 0000 e_shnum,e_shstrndx,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, 00000058: d083 0408 0000 0000 , 00000060: f080 0408 7081 0408 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