Hi Laaca, thanks for checking!

> ... FreeDOS, MSDOS 7.1, Windows98 and WindowsXP ...
> existing 3,5 floppy disks all give the same (correct) results only
> MSDOS gives wrong Total number of Sectors and Sectors per Cluster

As this is MS Win9x DOS 7, the wrong number is expected...

> 2) For existing hard disks all three give different value for
> Total Nr. of Sectors FD: 65525, MS: 65534, 98: 65526, XP: 15747

I assume you mean total number of clusters?

And I assume you measured on a FAT32 drive
which actually has more than 65536 clusters
which cannot be expressed as 16 bit number?

How many clusters does that drive have, for
example according to dosfsck -v X: or so?

> 3) Non existing drives: difference is in Sectors per Cluster:
> in FreeDOS: all output seems to be "undefined", in other OSes
> is all "undefined" except Sectors per Custer which seems to be
> always 255 (FFh)

As people might call this to find out whether a
drive exists, FreeDOS should return the sectors/
cluster as 255 as expected for invalid drives...

Trying with the FreeDOS 1.0 kernel 2036, I get:
AX, CX, DX, BP, SI, DI, ES, SS, SP unchanged
DS:BX 0:0, so I would not say "undefined". The
experiment was to fill values like 1234 in all
the registers to see what you get back later.

The bugfix would make sure AL=255 is returned
for int 21.1c calls for an invalid drive, but
for CX and DX and DS:BX I am not sure whether
it is better to change or not to change them?
What do the other DOSes or DOSish OSes return?

> 4) Other diferencies are in CD/DVD roms and flashdisks.

Yeah, what happens for CD/DVD is kind of random I guess...

Eric




------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to