Lines Matching refs:read
106 callw read # Read from disk
272 read: testb $FL_PACKET,%cs:MEM_REL+flags-start # LBA support enabled? label
273 jz read.1 # No, use CHS
275 jb read.1 # No, use CHS
281 jc read.1 # If error, use CHS
283 jne read.1 # No, so use CHS
285 jz read.1 # No, so use CHS
288 int $0x13 # read
290 read.1: push %dx # Save
321 mov 0x2(%bp),%ah # Blocks to read
322 cmpb %ah,%al # To read
323 jb read.2 # this
329 read.2: mov $0x5,%di # Try count
330 read.3: les 0x4(%bp),%bx # Transfer buffer
335 jnc read.4 # If success
337 jz read.6 # No
341 jmp read.3 # Continue
342 read.4: movzbw %bl,%ax # Sectors read
344 jnc read.5 # LBA,
346 read.5: shlb %bl # buffer
349 ja read.1 # If not done
350 read.6: retw # To caller