diff --git a/amd64/Development/M0.M1 b/amd64/Development/M0.M1 index 4405b78..0cdaf8c 100644 --- a/amd64/Development/M0.M1 +++ b/amd64/Development/M0.M1 @@ -238,15 +238,15 @@ DEFINE xor_r13,r13 4D31ED call_[rcx+BYTE] !8 # rootdir->open() add_rsp, !48 # deallocate stack - # Allocate ourselves 16 MiB of memory - mov_rdx, %0x1000000 # allocate 16 MiB of memory for malloc pool + # Allocate ourselves 32 MiB of memory + mov_rdx, %0x2000000 # allocate 32 MiB of memory for malloc pool call %allocate_pool # allocate memory mov_r12,rax # save malloc pointer mov_[rip+DWORD],rax %malloc_pool # save the beginning of malloc pool # Zero allocated memory buffer - add_rax, %0x1000000 # end of malloc area + add_rax, %0x2000000 # end of malloc area :zero_loop dec_rax # next byte mov_[rax],BYTE !0 # zero it diff --git a/amd64/Development/M0.S b/amd64/Development/M0.S index ef476ff..9116375 100644 --- a/amd64/Development/M0.S +++ b/amd64/Development/M0.S @@ -102,15 +102,15 @@ loop_options_done: call [rcx+8] # rootdir->open() add rsp, 48 # deallocate stack - # Allocate ourselves 16 MiB of memory - mov rdx, 0x1000000 # allocate 16 MiB of memory for malloc pool + # Allocate ourselves 32 MiB of memory + mov rdx, 0x2000000 # allocate 32 MiB of memory for malloc pool call allocate_pool # allocate memory mov r12, rax # save malloc pointer mov [rip+malloc_pool], rax # save the beginning of malloc pool # Zero allocated memory buffer - add rax, 0x1000000 # end of malloc area + add rax, 0x2000000 # end of malloc area zero_loop: dec rax # next byte mov BYTE PTR [rax], 0 # zero it diff --git a/amd64/M0.hex2 b/amd64/M0.hex2 index f11e181..363fba1 100644 --- a/amd64/M0.hex2 +++ b/amd64/M0.hex2 @@ -100,14 +100,14 @@ 4883C4 30 ; add_rsp, !48 # deallocate stack # Allocate ourselves 16 MiB of memory - 48C7C2 00000001 ; mov_rdx, %0x1000000 # allocate 16 MiB of memory for malloc pool + 48C7C2 00000002 ; mov_rdx, %0x2000000 # allocate 64 MiB of memory for malloc pool E8 %allocate_pool ; call %allocate_pool # allocate memory 4989C4 ; mov_r12,rax # save malloc pointer 488905 %malloc_pool ; mov_[rip+DWORD],rax %malloc_pool # save the beginning of malloc pool # Zero allocated memory buffer - 4805 00000001 ; add_rax, %0x1000000 # end of malloc area + 4805 00000002 ; add_rax, %0x2000000 # end of malloc area :zero_loop 48FFC8 ; dec_rax # next byte C600 00 ; mov_[rax],BYTE !0 # zero it