[Coco] Disk drive questions?

John Murphy jmurphy at delphiforums.com
Sat Dec 6 15:44:00 EST 2003


----- Original Message ----- 
From: "John E. Malmberg" <wb8tyw at qsl.net>
To: <coco at maltedmedia.com>
Sent: Saturday, December 06, 2003 2:38 PM
Subject: Re: [Coco] Disk drive questions?


> John Murphy wrote:
> > From: "John E. Malmberg"
> >
> >>It depends on your definiton of modern.  Windows 2000, and Windows XP
> >>have removed the API that programs could use to read 256 byte sectored
> >>floppies.
> >>
> >>That API is known to work on DOS 2.x to 6.x, Windows 95, and Windows 98,
> >>and possibly Windows NT 4.0 and earlier.
> >>
> >
> > Specifically, which API?
>
> Modifying the Disk Parameter Block at Interrupt Vector 1Eh.  The only
> documented way to change the floppy disk characteristics.

not the only way... that's in reference to 13h, right? What API call were
you using to modify the vector???

int 21h, Function 440Dh, minor code 40h Set Device Parameters
int 21h, Function 440Dh, minor code 60h Get Device Parameters

The read/write functions are also buried in here (int21h) somewhere....




>
> Changes to the Disk Parameter Block appear to be ignored on programs run
> on the newer Microsoft Operating Systems.
>
> > Binaries still seem to work under 2K, XP. I say
> > "seem" because I haven't tested very recently, but I'm fairly certain
I've
> > done this under one or the other. Possibly the binary used a different
API?
>
> If it is, I would like to know what it is.
>
> -John
> wb8tyw at qsl.network
> Personal Opinion Only
>
>
>
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>




More information about the Coco mailing list