Hi. To understand my situation:
I'm making an OS-type-thingy that loads from a floppy, and then basically reads the contents of any part(maybe one sector, maybe more) of the hard drive, or partition for further processing (kinda like a sector-editor). This hard drive might be 500MB or 100GB, and might contain winNT or Linux or some obscure OS nobody's heard of - but the OS on the drive shouldn't matter, I just want to read the sectors. So I understand that I must use int13h when reading my OS-type-thingy from the floppy into memory, but to access the HD I'll have to use something else because of the inherent size limits.
Have searched the web for many moons, and found little information. I am going to spout off some stuff, and maybe someone can tell me if I'm on the nail's head or on my thumb.
1. The difference between int13h and int25/26 is that int13 is a BIOS interrupt, int25/26 is a DOS interrupt using BIOS. And then there's int21 7305h, which I think is for fat32. Could someone elaborate on this for me?
2. int13 extensions must be used to access large drives >8GB partitions. And does anyone have any links to detailed info on these extensions. I know that the 4xh functions mirror 0xh functions... what addressing must you use: CHS or LBA. Elaboration on this would be super, too.
I've seen a lot of references to Ralf Brown's interrupt list, but I find it a little cryptic.
Basically I believe that if I want to load my own OS-type-thingy into memory from the boot sector, I'll have to use int13h, and then to access further down the disk, I'll have to use int13h extensions? I'm so confused.
Please shed some light...
I'm making an OS-type-thingy that loads from a floppy, and then basically reads the contents of any part(maybe one sector, maybe more) of the hard drive, or partition for further processing (kinda like a sector-editor). This hard drive might be 500MB or 100GB, and might contain winNT or Linux or some obscure OS nobody's heard of - but the OS on the drive shouldn't matter, I just want to read the sectors. So I understand that I must use int13h when reading my OS-type-thingy from the floppy into memory, but to access the HD I'll have to use something else because of the inherent size limits.
Have searched the web for many moons, and found little information. I am going to spout off some stuff, and maybe someone can tell me if I'm on the nail's head or on my thumb.
1. The difference between int13h and int25/26 is that int13 is a BIOS interrupt, int25/26 is a DOS interrupt using BIOS. And then there's int21 7305h, which I think is for fat32. Could someone elaborate on this for me?
2. int13 extensions must be used to access large drives >8GB partitions. And does anyone have any links to detailed info on these extensions. I know that the 4xh functions mirror 0xh functions... what addressing must you use: CHS or LBA. Elaboration on this would be super, too.
I've seen a lot of references to Ralf Brown's interrupt list, but I find it a little cryptic.
Basically I believe that if I want to load my own OS-type-thingy into memory from the boot sector, I'll have to use int13h, and then to access further down the disk, I'll have to use int13h extensions? I'm so confused.
Please shed some light...