adapted so that _brk routine may update .limhp

This commit is contained in:
ceriel 1990-01-22 15:32:44 +00:00
parent 2782e386f9
commit 4c7f63ee6c
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,6 @@
jb 1f jb 1f
add eax,02000 add eax,02000
and eax,~0777 and eax,~0777
mov (.limhp),eax
push ebx push ebx
push eax push eax
call _brk call _brk
@ -20,6 +19,7 @@
cmp eax,-1 cmp eax,-1
je 2f je 2f
1: 1:
mov (.limhp),ecx
jmp ebx jmp ebx
2: 2:
mov eax,EHEAP mov eax,EHEAP

View file

@ -11,7 +11,6 @@
jb 1f jb 1f
add ax,02000 add ax,02000
and ax,~0777 and ax,~0777
mov (.limhp),ax
push bx push bx
push ax push ax
call _brk call _brk
@ -20,6 +19,7 @@
cmp ax,-1 cmp ax,-1
je 2f je 2f
1: 1:
mov (.limhp),cx
jmp bx jmp bx
2: 2:
mov ax,EHEAP mov ax,EHEAP