mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-23 13:54:30 +02:00
On creating child PSP (func 0x55), copy command line parameters from the parent
(required for some device loaders)
This commit is contained in:
parent
234ed1181f
commit
5756cf8d26
@ -1137,6 +1137,8 @@ dispatch:
|
||||
/* Dos Create New Psp & set p_size */
|
||||
case 0x55:
|
||||
child_psp(lr.DX, cu_psp, lr.SI);
|
||||
/* copy command line from the parent (required for some device loaders) */
|
||||
fmemcpy(MK_FP(lr.DX, 0x80), MK_FP(cu_psp, 0x80), 128);
|
||||
cu_psp = lr.DX;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user