2003-08-29

GRUB for DOS

wengierwu writes:

Hi! The author of GRUB for DOS has written down the following details about the bugs in FreeDOS Kernel 2030/2031:

[...]

Also, I have made a download page for GRUB for DOS(in English): http://newdos.yginfo.net/grubdos.htm

Bart Oldeman replies:

Thanks for the diagnosis on the web site. Your problem is now resolved in the current FreeDOS kernel CVS with this fix:

--- kernel/main.c      28 Aug 2003 21:03:47 -0000      1.52
+++ kernel/main.c      30 Aug 2003 22:17:42 -0000      1.53
@@ -216,8 +216,8 @@
   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;

FreeDOS kernels since August 2003 fix this bug.