Lines Matching refs:drive
44 .set FL_SETDRV,0x20 # Override drive number
50 .set _NXTDRV,-(_PRT_END+0x48) # Next drive
94 testb $FL_SETDRV,LOAD+flags-start # Set number drive?
104 push %dx # Save drive number
118 main: movb %dl,_FAKE(%bp) # Save drive number
120 pushw %dx # Save drive number
170 * Add one to the drive number and check it is valid,
174 cmpb NHRDRV,%al # drive exist? (from BIOS?)
177 * If not then if there is only one drive,
178 * Don't display drive as an option.
180 decw %ax # Already drive 0?
184 * then go back to drive 0.
188 * Whatever drive we selected, make it an ascii digit and save it back
189 * to the "next drive" location in the loaded block in case we
191 * This also is part of the printed drive string so add 0x80 to indicate
195 movb %al,_NXTDRV(%bp) # drive number
196 movw $drive,%di # Display
199 * Now that we've printed the drive (if we needed to), display a prompt.
293 * If going to next drive, replace drive with selected one.
297 movb _NXTDRV(%bp),%dl # Next drive
360 * %dl - byte - drive number
412 * These values are sometimes changed before writing back to the drive
413 * Be especially careful that nxtdrv: must come after drive:, as it
416 * Note that the 'drive' string variable is used as the second signature
421 drive: .ascii "Drive "
422 nxtdrv: .byte 0x0 # Next drive number