adapted so that _brk routine may update .limhp
This commit is contained in:
parent
2782e386f9
commit
4c7f63ee6c
|
@ -11,7 +11,6 @@
|
|||
jb 1f
|
||||
add eax,02000
|
||||
and eax,~0777
|
||||
mov (.limhp),eax
|
||||
push ebx
|
||||
push eax
|
||||
call _brk
|
||||
|
@ -20,6 +19,7 @@
|
|||
cmp eax,-1
|
||||
je 2f
|
||||
1:
|
||||
mov (.limhp),ecx
|
||||
jmp ebx
|
||||
2:
|
||||
mov eax,EHEAP
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
jb 1f
|
||||
add ax,02000
|
||||
and ax,~0777
|
||||
mov (.limhp),ax
|
||||
push bx
|
||||
push ax
|
||||
call _brk
|
||||
|
@ -20,6 +19,7 @@
|
|||
cmp ax,-1
|
||||
je 2f
|
||||
1:
|
||||
mov (.limhp),cx
|
||||
jmp bx
|
||||
2:
|
||||
mov ax,EHEAP
|
||||
|
|
Loading…
Reference in a new issue