[Freedos-kernel] Re:
Hi! 21-Сен-2004 00:47 [EMAIL PROTECTED] (Jose Antonio Senna) wrote to "Arkady V.Belousov" <[EMAIL PROTECTED]>: JAS> I have been using your version of FreeDOS kernel,which I downloaded JAS> from Luchezar Georgiev site. JAS> So far,it behaved as well as the mainstream version.I would like to JAS> report two problems,however: JAS> One minor problem is that it returns an error in the line of my JAS> fdconfig.sys file that sets JAS> LASTDRIVE=F: JAS>^ In LASTDRIVE statement you should use only letter, without following colon. Ie.: lastdrive=f JAS> with the caret under the F as shown.At that time,there are actually JAS> only A: to D: drives,but this should not be a problem.Anyway,it sets JAS> correctly A: to F: drives. This is strange, because with wrong argument ("F:" instead "F") statement should be ignored (my changes include rejecting any actions for statements with wrong arguments). JAS> A somewhat worse problem did happen yesterday:I tried to move a file JAS> from HD to floppy using FreeDOS move command: JAS> move d:\pdfr\pdfs\akizcat.002 a:\ JAS> (that file size was exactly the floppy size) JAS> move reported a write problem in the floppy: JAS> Error writing to drive A: DOS area:Data error (bad CRC) JAS> (A)bort,(I)gnore,(R)etry,(F)ail ? JAS> on my reply R,I got JAS> PANIC:more than two new fnodes requested at same time! JAS> System halted JAS> and system really halted. JAS> The floppy had a write problem,(perhaps some dust), JAS> but failure to move a file,even on retry,should not crash the system. Hm. This is question for Bart Oldeman, who implements fnodes logic. Also, question to Lucho: is he includes patch from tom to kernel, which available from his site? Probably, there is problem, which mentioned by tom by tom and should be fixed by his patch (at least, here we also have Critical Error handler). --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
Re: [Freedos-kernel] config.c: bug?
Hi! 22-Апр-2004 11:11 Arkady V.Belousov wrote to [EMAIL PROTECTED]: AVB> I may suggest next patch: Sorry, forget about undocumented "COMMAND": __O\_/_\_/O__ diff -ruNp old/config.c new/config.c --- old/config.c2004-04-14 16:04:04.0 + +++ new/config.c2004-04-22 11:16:16.0 + @@ -125,6 +125,9 @@ static UBYTE ErrorAlreadyPrinted[128] BS char master_env[128] BSS_INIT({0}); static char *envp = master_env; +static char init[NAMEMAX] = "command.com"; +static char inittail[NAMEMAX] = " /P /E:256\r\n"; + struct config Config = { 0, NUMBUFF, @@ -132,8 +135,8 @@ struct config Config = { 0, NFCBS, 0, - "command.com", - " /P /E:256\r\n", + init, + inittail, NLAST, 0, NSTACKS, @@ -267,7 +270,6 @@ STATIC struct table commands[] = { {"BREAK", 1, CfgBreak}, {"BUFFERS", 1, Config_Buffers}, - {"COMMAND", 1, InitPgm}, {"COUNTRY", 1, Country}, {"DOS", 1, Dosmem}, {"DOSDATA", 1, DosData}, @@ -1237,12 +1239,6 @@ STATIC VOID InitPgmHigh(BYTE * pLine) STATIC VOID InitPgm(BYTE * pLine) { - static char init[NAMEMAX]; - static char inittail[NAMEMAX]; - - Config.cfgInit = init; - Config.cfgInitTail = inittail; - /* Get the string argument that represents the new init pgm */ pLine = GetStringArg(pLine, Config.cfgInit); _ O/~\ /~\O --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel