Hi Thomas,

> I'm building a freeware HDD disk wiper, checking and cloning application.
> It runs fine with FreeDos except that I get some errors messages when a 
> disk is not partitioned. Since I'm not relying on any DOS calls for HDD
> access and the nature of the program I would prefer the kernel would
> not touch the HDDs at all.

You can manipulate initdisk.c, in particular BIOS_nrdrives() and
the loops from 0 to nHardDisk to make FreeDOS ignore all your
harddisks. For compilation, you should have NASM, UPX and the
OpenWatcom C compiler. A tiny distro of the latter should be
on http://rugxulo.googlepages.com/ somewhere... :-). You can
get the current sources via SVN, of download the 2038 zip if
a somewhat older kernel is acceptable for you.

Eric


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to