main: insure master environment starts out empty

This commit is contained in:
C. Masloch 2023-07-03 11:47:39 +02:00 committed by Kenneth J Davis
parent a0549a395e
commit 29ccb6e454

View File

@ -106,6 +106,12 @@ VOID ASMCFUNC FreeDOSmain(void)
drv = 3; /* C: */
LoL->BootDrive = drv;
/* init master environment start */
*master_env = 0;
master_env[1] = 0;
master_env[2] = 0;
master_env[3] = 0;
/* install DOS API and other interrupt service routines, basic kernel functionality works */
setup_int_vectors();