Displaying 1 result from an estimated 1 matches for "hard_disk".
Did you mean:
add_disk
2009 Mar 22
1
[PATCH] [memdisk] Additional comments in memdisk.inc and postprocess.pl
...; depending on if AH was zero or not.
setnz [bx+4] ; Set CF iff error
@@ -181,7 +184,8 @@ Reset:
TRACER 'R'
xor ax,ax ; Bottom of memory
mov es,ax
- test dl,dl ; Always pass it on if we are
resetting HD
+ test dl,dl ; Always pass it on if we are
+ ; resetting HD
js .hard_disk ; Bit 7 set
; Some BIOSes get very unhappy if we pass a reset floppy
; command to them and don't actually have any floppies.
@@ -194,7 +198,8 @@ Reset:
jmp .pass_on ; ... otherwise pass it to the
BIOS
.hard_disk:
; ... same thing for hard disks, sigh ...
- cmp byte [es:0x475],1...