Hi Blair,

>> PS: Another possibility is that the old MEMDISK used for our
>> 1.0 CD/DVD fails to boot on BIOSes without int 15.87 memcopy?
> 
> I don't think so, because the kernel does display its init message
> before invalid opcode.

Maybe it is that "BSS_INIT macro" problem? In theory,
our kernel sets BSS RAM contents to 0 manually, but at
least for OpenWatcom compiled 2038 kernels, this seems
to fail as RayeR found out. A workaround is to change:

#ifdef _MSC_VER
#define BSS_INIT(x) = x
#else
#define BSS_INIT(x)
#endif

into the more foolproof:

#define BSS_INIT(x) = x

which effectively makes all BSS variables non-BSS variables
instead of doing that only for MS C compilers. Hardly makes
any difference for kernel size etc because we only have very
few BSS variables in the kernel anyway. Let me know if you
can recompile your own test kernel with the above change.

Some of our BSS variables are used by initdisk so if the BSS
contents do not get set to 0 properly, initdisk will crash.

Thanks :-)

Eric

PS: Many BIOSes init low RAM to 0 which is why we
did not notice this BSS related bug for a long time.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to