Hi Eric, 

> On Feb 17, 2025, at 4:15 PM, Eric Auer via Freedos-devel 
> <freedos-devel@lists.sourceforge.net> wrote:
> 
> 
> Hi Jerome,
> 
>> ... my DONUTS package (Disk and Other New Utility Tool Suite for DOS) [1]
>> It contains several very small simple tools.
>> BOOTDRV    Returns system boot drive.
>> DOSOEMID    Returns DOS OEM ID.
>> DOSVER        Returns DOS version number.
>> LASTDRV    Returns LASTDRIVE setting.
> 
>> SWITCHAR    Returns Switch Character setting.
>> TESTANSI    Returns status of ANSI support (network terminal compatible)
>> VERIFLAG    Returns state of DOS write verify flag.
>> VIDKIND        Returns video card graphics support kind (MDA through 
>> SuperVGA).
>> They output the data in a format like “BOOT_DRIVE=C:”
>> which could be redirected to a batch file to change env settings.
>> Compiled, the current set of utilities adds up to a total of 738 bytes worth 
>> of binaries.
> 
> It would be better to have 1 tool which can do all, using
> command line options. Depending on your cluster size, DONUTS
> will take between 4kB and 256kB (or 512kB) of disk space :-p

Yes, many of those float around 50 bytes compiled.

However, if more tools are added and are possibly much larger, you can end up 
wasting a lot of space dragging around support for things not needed. 

For example, if all you need is check the OEM ID on a boot floppy, you’ll only 
use 512kb. 

So, it is a trade off. 

There really is no reason it can’t also contain a DONUTS executable that 
supports all the different functionality of the separate tools. I just have not 
made one. 

Hopefully, someday I will find the time to get back to creating V8Turbo. And 
all this type of stuff will be build into that command interpreter/shell. 
Actually, the current incomplete version has some of it already. 

Too much to do. To little time. 

:-)

Jerome

_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to