Re: int 0x13 utility



Am Sat, 29 Mar 2008 14:36:11 +0000 schrieb João Jerónimo:

Dirk Wolfgang Glomp 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?

If you write the driver for DOS it´s a DOS-driver, else if you write
it for your own OS maybe you can call it BIOS-driver?

Nop. But I don't know whether DOS can have it's own drivers to control HDs.
DOS usually calls the BIOS, so one can replace the BIOS HD driver and have
DOS call it, thinking it's the original BIOS driver.

Is that the driver you are lookink for?:
Udma2_25.zip...udma2_27.zip
xdma_v16.zip

UltraDMA Drivers for DOS
This is a set of four DOS UltraDMA hard-disk drivers. All the drivers
run UltraDMA disk(s) on PC mainboards using a "South Bridge" controller
chip from Intel, VIA, SiS, ALi and other vendors......

The drivers "intercept" I-O calls issued as Int 13h requests (Interrupt
13) to the BIOS. Only read or write requests are handled. All other
Int 13h requests (seeks, I-O for other type devices, etc.) are "passed"
back to the BIOS or other drivers for handling. Each disk must handle
"logical block addressing" (LBA). The drivers accept 48-bit LBA mode
I-O requests for FreeDOS, MS-DOS 7.xx, and other newer DOS systems that
support LBA mode I-O. 24-bit CHS mode I-O requests are also accepted,
for MS-DOS 6.xx, PC-DOS 7 or earlier. As CHS requests are limited to
24-bit addresses, all data accessed using CHS mode must be in the first
8 gigabytes of a disk. Other partitions may contain more data and may
be accessed using operating systems which support LBA mode requests.

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/udma/devel/udma2_25.txt
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/udma/devel/
http://ftp.uni-sofia.bg/freedos/files/dos/udma/devel/

Did you understand,

I only use Dos-Softints, so i am not familar to write my own driver
for access hdds from the ports(01F0../0170..).

or need more explaining?

Yes of course.

Dirk

.



Relevant Pages

  • Re: Problem with running Pandora Directive
    ... If you hold down the CTRL key while booting and select command mode, you are in DOS. ... The second form of DOS is the DOS Window which you can get to from several routes after Windows is running. ... My last suggestion of using Audigy2 drivers with the SBLive card means that first you install the SBLive and the usual manner, then uninstall the SBLive Windows drivers. ...
    (comp.sys.ibm.pc.games.adventure)
  • Re: SCSI regocnized but not approachable
    ... To format a SCSI disk you have to send a FORMAT UNIT command to the disk ... That's why you have ASPI. ... Same goes for drivers. ... That's for DOS. ...
    (comp.periphs.scsi)
  • Re: SCSI regocnized but not approachable
    ... To format a SCSI disk you have to send a FORMAT UNIT command to the disk ... So they don't work with them, so they work with ASPI. ... On top of this you have device class drivers, a disk driver in this case. ... That's for DOS. ...
    (comp.periphs.scsi)
  • Re: KB files..help please
    ... the apron strings to the old DOS days including its 8.3 file ... SP3 but I may have a major blowdown. ... "how can SP3 possibly be 100% bug free ... - drivers - to run, so which is the real culprit? ...
    (microsoft.public.windowsxp.general)
  • Users Opinion Needed: Dos conundrum.
    ... I've discovered some interesting problems when I was installing MS-DOS ... I also discovered that even Windows XP can't not be installed ... 1982 DOS have against AMD 64bit duel core or even single core? ... Unlike Windows, with DOS, you can't use a CD until you have the drivers ...
    (comp.os.linux.misc)