boot sector



I've been looking at the code for my hard drive's boot sector, and I am
somewhat confused by this portion:

60 pusha
6A00 push byte +0x0
6A00 push byte +0x0
FF760A push word [bp+0xa]
FF7608 push word [bp+0x8]
6A00 push byte +0x0
68007C push word 0x7c00
6A01 push byte +0x1
6A10 push byte +0x10
B442 mov ah,0x42
8BF4 mov si,sp
CD13 int 0x13
61 popa

It appears to call this interrupt for an "EXTENDED READ":

http://www.ctyme.com/intr/rb-0708.htm

That page indicates the format of a disk address packet is as follows:

00h BYTE size of packet (10h or 18h)
01h BYTE reserved (0)
02h WORD number of blocks to transfer (max 007Fh for Phoenix EDD)
04h DWORD -> transfer buffer
08h QWORD starting absolute block number

The code says the size of packet is 0x10 with the line "push byte
+0x10". However, it seems to put a 1 in the reserved section with
"push byte +0x1" - or am I reading it wrong?

Also, it doesn't appear to specify all 16 bytes of the disk address
packet. Is it planning to use the leftovers from the initial pusha
call?

Thanks.

.



Relevant Pages

  • Re: Zip Drive Delayed Write Failure - need help
    ... |out R vs. RW and formal authoring vs. packet writing, ... You can fill the whole disk at once, ...
    (microsoft.public.windowsxp.hardware)
  • Re: Zip Drive Delayed Write Failure - need help
    ... IKWYM about the day of Zip drives; ... out R vs. RW and formal authoring vs. packet writing, ... You can fill the whole disk at once, ...
    (microsoft.public.windowsxp.hardware)
  • Re: dvd writer not writing
    ... To use them as HUGE flopiies, you need a packet writing program like ... > other with just a number on each disk with 4x as part of the number. ... > gig DVD-r's could be used as plain old HUGE data disks. ...
    (microsoft.public.windowsxp.newusers)
  • Re: packet drop with intel gigabit / marwell gigabit
    ... and benchmarked with a client on the other gigabit machine. ... it showed 0% packet drop, when apache was not running and 4-7%, when running.. ... disk to other. ...
    (freebsd-performance)
  • Re: packet drop with intel gigabit / marwell gigabit
    ... packet drop with intel gigabit / marwell gigabit ... Is the number 3-4MB/s for per stream or the total for all 30-40 streams? ... If MB/s is MBytes/s and you also write this amount data to a disk, plus other traffic on fxp0 to disk too, ...
    (freebsd-performance)