Re: [Freedos-kernel] Kernel working, not SYS

2011-04-01 Thread Tom Ehlert
Hallo Herr Ibidem,

am 1. April 2011 um 07:56 schrieben Sie:

 I tried building svn revision 1560 with Turbo C 2 and a 16-bit nasm
 0.9x (FAT32/186).  It started building, but then when build.bat hit
 SYS, I got this:

 Error sys.c 629: Expression syntax in function initOptions

 I REM'd out SYS (I have a working install and grub4dos), built the
 kernel, rebooted, loaded the kernel via grub4dos, and ran a few tests:
 SELFOWNT.COM (succeeds, with both messages).
 No significant regressions in functionality (VDE/TC/TCC/EDIT/Arachne
 work).
 HX untested.

 SHARE still compiles fine.
 The relevant lines in sys.c (starting at 629):

   if (!argv[drivearg][1] || (argv[drivearg][1]==':'
 !argv[drivearg][2]))
 // if 1st arg drive 
 {
 if (!argv[argno][1] || (argv[argno][1]==':'
  !argv[argno][2])) // if 2nd arg drive {

most likely
   !argv[argno][2])) // if 2nd arg drive
{


Tom


--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel


[Freedos-kernel] Kernel working, not SYS

2011-03-31 Thread Ibidem
I tried building svn revision 1560 with Turbo C 2 and a 16-bit nasm
0.9x (FAT32/186).  It started building, but then when build.bat hit
SYS, I got this:

Error sys.c 629: Expression syntax in function initOptions

I REM'd out SYS (I have a working install and grub4dos), built the
kernel, rebooted, loaded the kernel via grub4dos, and ran a few tests:
SELFOWNT.COM (succeeds, with both messages).
No significant regressions in functionality (VDE/TC/TCC/EDIT/Arachne
work).
HX untested.

SHARE still compiles fine.
The relevant lines in sys.c (starting at 629):

  if (!argv[drivearg][1] || (argv[drivearg][1]==':'  !argv[drivearg][2])) 
// if 1st arg drive 
{
if (!argv[argno][1] || (argv[argno][1]==':'
 !argv[argno][2])) // if 2nd arg drive {
  srcarg = drivearg; /* set source path */
  drivearg = argno;  /* set destination drive */

So the issue is buried a bit...

Ibidem


--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel