Re: read floppy problem



On 25 Oct 2005 02:06:20 -0700, cmk128@xxxxxxxxxxx wrote:

>Fo int 0x13
>AH = 02h
>AL = number of sectors to read (must be nonzero)
>CH = low eight bits of cylinder number
>CL = sector number 1-63 (bits 0-5)
>high two bits of cylinder (bits 6-7, hard disk only)
>DH = head number
>DL = drive number (bit 7 set for hard disk)
>ES:BX -> data buffer
>
>What is the maximum value i can put in al?

At a guess:

For a floppy, probably 128, if the buffer is aligned on a 64k
boundary, and if the bios supports multi track reads.



--
ArarghMail510 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html

To reply by email, remove the garbage from the reply address.
.



Relevant Pages

  • Re: read floppy problem
    ... Fo int 0x13 ... AL = number of sectors to read (must be nonzero) ... high two bits of cylinder ...
    (alt.lang.asm)
  • Re: When does `write return?
    ... the write could return as soon as the data get to a memory buffer. ... > But the hardware controller for the disk drives allowed you to read any ... > per cylinder and 20 sectors per track. ... > the whole cylinder and do an automatic seek with no intervention from the OS ...
    (comp.os.linux.misc)
  • Re: Disk geometry from /sys
    ... Many compact flash cards will report 16 heads, and 16 or 32 sectors ... Simplest way to find out what geometry a disk pretents to have is to ask ... Why do you want to know what cylinder size the hard disk pretents to ...
    (Linux-Kernel)
  • Re: XP Partition size
    ... Blocks per cylinder is not a basic. ... Cylinders, defined by position of heads radially; ... and sectors ... around when you are partitioning and the partitioning software makes ...
    (microsoft.public.windowsxp.general)
  • Re: sector and cylinder Information
    ... and cylinder of the hard disk. ... for example the number of sectors in a partition or the first cylinder ... // size of output buffer ...
    (microsoft.public.win32.programmer.kernel)