each DEVICEHIGH in config.c causes a warning
[ http://www.freedos.org/bugs/bugzilla/show_bug.cgi?id=1759 ]

is the document for getting Openwatcom packages (in order to compile the kernel) still correct (except OpenWatcom 1.0 -> 1.2 then)?

http://www.freedos.org/freedos/news/newsitem/137.txt

idea (excuse my lack of C knowledge):
static bool umbwarn=true; // somewhere in the start of config.c

and then check at DEVICEHIGH (line 1311):

STATIC VOID DeviceHigh(BYTE * pLine)
{
  if(umbwarn) // true unless warning already given.
  {
    if (UmbState == 1)
    {
      if (LoadDevice(pLine, MK_FP(umb_start + UMB_top, 0), TRUE) == DE_NOMEM)
      {
        printf("Not enough free memory in UMB's: loading low\n");
      }
    }
    else
    {
      printf("UMB's unavailable!\n");
    }
    umbwarn=false;  // only warn user once about lack of UMBs, not for each DEVICEHIGH
  }
  LoadDevice(pLine, lpTop, FALSE);
}

Bernd


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to