identifying a particular sector on the floppy is bad under NT,2000

Hello there,
iam changing the id of a particular sector to some number x.
In 9X, iam able to recognise whether that sector x is existing or not by
reading from that particular sector through the issue of 13h interrupt
with the help of DeviceIocontrol function.

But under NT, when iam using createfile, readfile etc. iam unable to do
so.
can we use interrupts in NT , in my custom created device driver.
when iam issuing 13h interrupt in my device driver , my system is getting
restarted under 2000.
if not, is it possible to know that a particular sector on a particular
track (i have altered the id of that sector to some id x) is existing or
not. is there any way to achieve that in NT, whether through a device
driver or kernel mode driver etc.

if the question is still not clear then pls let me know.
any help in this regard is mostly appreciated.
bye
ramana

>> can we use interrupts in NT , in my custom created device driver.

No you cant. Never Ever.

----- Original Message -----
From: “ramana cheekoti”
To: “NT Developers Interest List”
Sent: Thursday, August 08, 2002 8:32 AM
Subject: [ntdev] identifying a particular sector on the floppy is bad under
NT,2000

> Hello there,
> iam changing the id of a particular sector to some number x.
> In 9X, iam able to recognise whether that sector x is existing or not by
> reading from that particular sector through the issue of 13h interrupt
> with the help of DeviceIocontrol function.
>
> But under NT, when iam using createfile, readfile etc. iam unable to do
> so.
> can we use interrupts in NT , in my custom created device driver.
> when iam issuing 13h interrupt in my device driver , my system is getting
> restarted under 2000.
> if not, is it possible to know that a particular sector on a particular
> track (i have altered the id of that sector to some id x) is existing or
> not. is there any way to achieve that in NT, whether through a device
> driver or kernel mode driver etc.
>
> if the question is still not clear then pls let me know.
> any help in this regard is mostly appreciated.
> bye
> ramana
>
> —
> You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>

you cannot call int13 inside of the NT kernel - the system bios calls
are unavailable.

-p

-----Original Message-----
From: ramana cheekoti [mailto:xxxxx@globarena.com]
Sent: Wednesday, August 07, 2002 10:32 PM
To: NT Developers Interest List
Subject: [ntdev] identifying a particular sector on the floppy is bad
under NT,2000

Hello there,
iam changing the id of a particular sector to some number x.
In 9X, iam able to recognise whether that sector x is existing or not by
reading from that particular sector through the issue of 13h interrupt
with the help of DeviceIocontrol function.

But under NT, when iam using createfile, readfile etc. iam unable to do
so. can we use interrupts in NT , in my custom created device driver.
when iam issuing 13h interrupt in my device driver , my system is
getting restarted under 2000. if not, is it possible to know that a
particular sector on a particular track (i have altered the id of that
sector to some id x) is existing or not. is there any way to achieve
that in NT, whether through a device driver or kernel mode driver etc.

if the question is still not clear then pls let me know.
any help in this regard is mostly appreciated.
bye
ramana


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%