Lines Matching defs:read
77 .set ERROR_TIMEOUT,0x80 # BIOS timeout on read
82 .set MAX_READ,0x10000 # max we can read at a time
84 .set MEM_READ_BUFFER,0x9000 # buffer to read from CD
148 call read # Read it in
154 jne load_vd # No, read next
180 # we have to read it in 64k chunks.
189 load_sizeok: movzbw %al,%cx # Num sectors to read
196 cmp $MAX_READ_SEC,%cl # Truncate to max read size
201 call read # Read it in
360 call read # Read directory block
418 read: push %si # Save
420 mov %eax,edd_lba # LBA to read from
424 read.retry: call twiddle # Entertain the user
432 jc read.fail # Worked?
436 read.fail: cmp $ERROR_TIMEOUT,%ah # Timeout?
437 je read.retry # Yes, Retry.
438 read.error: mov %ah,%al # Save error
570 edd_len: .byte 0x0 # Num to read