First post, by DaveDDS
- Rank
- Member
At one point IBM gave away PCDOS within a free download called "ServerGuide
Toolkit" - I've used this for a few floppy images that I deployed (eq: ImageDisk
boot disk), and I'd like to use it more internally, but I've never been able
to got a complete "build a system" setup... the main reason:
Both FDISK32 and FORMAT fail with "Insufficient memory"!
It seems to recognize and work with drives that I prepare with MSDOS-5,
but I can't prepare a disk directly under PCDOS.
The CONFIG and AUTOEXEC on the IBM .ISO DOS files are very simple, IIRC
loading only HIMEM - but using the exact same files - I still get "insufficient
memory"
1) Does anyone know if there's a simple way to get FDISK and FORMAT in PCDOS7
to work!
3) I had at one point decided to write my own FDISK and FORMAT tools, as
the disk structures are not terribly complicated, but I ran into a
problem ... I've not been able to determine the size (Cyls/Heads/Sects) of
the "raw" hard drive - which you kinda need to know to initialize it.
I've got a PHOENIX Technical reference - "Complete guide to System BIOS for
IBM PC/XT/AT computers and compatibles" which gives a lot of detail, BIOS calls
and RAM data ... but I've not been able to find a way to reliably get the
drive information. INT 13h AH=08h comes close... I am able to determine the
cylinders and heads, but sectors/track always seems to come out as 1.
NOTE: I've been testing with "real" DOS booted under DosBox. so it's
relying on the DosBox BIOS, but everything otherwise seems to work (faked
hard drives can be booted and accessed normally - and I can read more that
1 sector on each HD track - so I think things are normal...
DOS5 FDISK finds and correctly shows the available sizes of virtual hard drives...
But I'm not seeing an obvious way to get this information directly from BIOS.
There's a HD drive type table in ROM - but this doesn't gives values for
the user defined drive types - the Phoenix doc says these parameters are "stored
in CMOS RAM" - and doesn't document exactly how, and I doubt this would be
consistent.
Anyone know how best to determine the physical drive parameters of
hard drives available on a DOS PC?
Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal