read/write directly disk sectors. 
Author Message
 read/write directly disk sectors.


>How is possible in basic read or write directly absolute sectors of disks=
> ?

With interrupt calls.

>Linking routines in ASM or C ?

Not necessary.

>Who have material about ?

You will need...

1. Documentation for your version of BASIC

2. Documentation for these calls:

ints 25h/26h. DOS absolute sector read/write for drives up to 2GB and
FAT16 file systems. Note: QucikBASIC 4.5 has a problem with these
calls when running in DOS 5+.

int 21h ax=7305h, 7306h. Same as above for FAT32 file system

int 13h. BIOS disk i/o

Find in Ralf Brown's Interrupt List ( - ralf has
moved but this link will still get you to his page) among other

3. You will need to understand IN DETAIL any file systems you will be
working with.

I think there are some examples of some of these calls in the ABC
packets (

BTW, outside of some anti-virus and data recovery applications, I
can't think of any good reason for doing sector level disk i/o.


Tue, 17 Oct 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Reading/Writing Sector Directly Under Windows 98/ME

2. Reading and writing disk sectors.

3. Reading directly sectors from HDD?

4. ABF) Writing to a specific sector on a disk

5. Writing to floppy disk boot sector - how ?



8. VBH6: read sector by seector from Hard Disk

9. Reading Physical Sectors and Tracks of Disks

10. Can I read a disk sector with VB?

11. Reading Physical Disk Tracks and Sectors

12. DLL to write and read on Disk by disk-address


Powered by phpBB® Forum Software