Set the PSP before the DTA. This solves an interrupt vector table corruption.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@665 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
1d62201ec7
commit
8f1bbcd45d
@ -216,8 +216,8 @@ STATIC void init_kernel(void)
|
||||
setvec(0x2a, int2a_handler);
|
||||
setvec(0x2f, int2f_handler);
|
||||
|
||||
set_DTA(MK_FP(DOS_PSP, 0x80));
|
||||
init_PSPSet(DOS_PSP);
|
||||
set_DTA(MK_FP(DOS_PSP, 0x80));
|
||||
init_PSPInit(DOS_PSP);
|
||||
((psp far *)MK_FP(DOS_PSP, 0))->ps_environ = DOS_PSP + 8;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user