Re: This Ain't No DOS - The BIOS Is Back - aeBIOS Int 13h proposed extension



Mike Gonta wrote:
Proposed aeBIOS Int 13h extension

Int 13h Read Sector/Write Sector
al = number of sectors
ch = cylinder
cl = sector
dh = head
dl = drive
ebx = buffer flat 32 bit address


Since what you're doing here is implementing an OS, I would suggest using an interrupt vector in the OS range, like, say, 21h :)

-hpa

.



Relevant Pages

  • Re: RFC: disk geometry via sysfs
    ... 10, sector 10, and there are only 9 sectors, then the supplied ... If the head number ... Problems occur if the BIOS ... In that case you're going to ask the bios for a larger cylinder number, and it will happily read a sector from the disk that is further from the start than you intended. ...
    (Linux-Kernel)
  • Re: RFC: disk geometry via sysfs
    ... A sector with LBA of 1234 would have a CHS ... The disk gets an OFFSET! ... The BIOS takes these PHONY things, ... DH will contain the head number. ...
    (Linux-Kernel)
  • Re: Disk performance testing
    ... In the disc drivers, when there are multiple outstanding requests, they are ... (Cylinder, Head, Sector) ... A seek is when a head moves from one ...
    (comp.os.linux.development.apps)
  • Re: RFC: making gpart default
    ... :>> sector of 34 for the free space. ... think) do start on full cylinder boundaries for partitions>= 8GB. ... head boundary start: cyl 0, head 1, sec 1 ...
    (freebsd-arch)
  • Re: Harddisks: Seek, Read, Write, Read, Write, Slow ?
    ... > sector of the platter it is on. ... to adjust the write-to-read element offset to center the write head. ... That's actually automatic as the drive reads every servo field and ...
    (microsoft.public.windowsxp.hardware)