This commit is contained in:
ceriel 1988-07-13 16:55:48 +00:00
parent c259e2c9f8
commit dc57d08c82
2 changed files with 8 additions and 1 deletions

View File

@ -48,7 +48,14 @@ begtext:
shr bx,cl
shl bx,cl
call grow
xor cx,cx
push cx
call _sbrk
mov (.limhp),ax
mov (.reghp),ax ! on Xenix, heap begins above stack!
pop ax
call _m_a_i_n
push ax
call __exit
.sect .data
begdata:

View File

@ -6,6 +6,6 @@ wait(p)
long l = _wait();
if (l == -1) return -1;
if (*p) *p = (l >> 16);
if (p) *p = (l >> 16);
return (int) l;
}