Re: int 0x13 utility
- From: "Wolfgang Kern" <spamtrap@xxxxxxxxxx>
- Date: Thu, 27 Mar 2008 09:00:59 +0100
JJ "João Jerónimo" asked:
Wolfgang Kern wrote:
But if you write your own HD-driver, the physical CHS-limit is:
16 heads, 255 sectors, 65536 tracks(cylinders), and this gives
us 267386880 sectors (= 127.5 GB).
So if the the hardware can handle it then it works almost like LBA28
(max= 128 GB), ...except for the unconvenient calculation needs.
But is this a DOS or a BIOS level driver?
You will encounter I/O-permission issues if you try this on windoze
or in a winDOS-box. My first disk-editor ran on DOS 3.0, and had its
own HD-routines, so bypassing all limits from DOS and BIOS int13.
All it did:
temporary replace HD-IRQ vectors (just to not confuse DOS)
fill the HDC-registers as desired (incl. command-byte as the last)
wait for acknowledge
read or write sector(s)
[find all required details in RBIL-ports (01F0../0170..)]
I kept this very rare now used CHS functions in my PM32 Os, just for
the opportunity to read from old drives when they become replaced.
__
wolfgang
.
- Follow-Ups:
- Re: int 0x13 utility
- From: João Jerónimo
- Re: int 0x13 utility
- References:
- int 0x13 utility
- From: Alex Buell
- Re: int 0x13 utility
- From: João Jerónimo
- Re: int 0x13 utility
- From: Alex Buell
- Re: int 0x13 utility
- From: João Jerónimo
- Re: int 0x13 utility
- From: Wolfgang Kern
- Re: int 0x13 utility
- From: João Jerónimo
- int 0x13 utility
- Prev by Date: Re: int 0x13 utility
- Next by Date: Re: int 0x13 utility
- Previous by thread: Re: int 0x13 utility
- Next by thread: Re: int 0x13 utility
- Index(es):
Relevant Pages
|