Lines Matching defs:read
76 .set ERROR_TIMEOUT,0x80 # BIOS timeout on read
81 .set MAX_READ,0x10000 # max we can read at a time
83 .set MEM_READ_BUFFER,0x9000 # buffer to read from CD
138 call read # Read it in
144 jne load_vd # No, read next
170 # we have to read it in 64k chunks.
179 load_sizeok: movzbw %al,%cx # Num sectors to read
186 cmp $MAX_READ_SEC,%cl # Truncate to max read size
191 call read # Read it in
350 call read # Read directory block
408 read: push %si # Save
410 mov %eax,edd_lba # LBA to read from
414 read.retry: call twiddle # Entertain the user
422 jc read.fail # Worked?
426 read.fail: cmp $ERROR_TIMEOUT,%ah # Timeout?
427 je read.retry # Yes, Retry.
428 read.error: mov %ah,%al # Save error
560 edd_len: .byte 0x0 # Num to read