Displaying 1 result from an estimated 1 matches for "restoredl".
Did you mean:
restored
2009 Mar 22
1
[PATCH] [memdisk] Additional comments in memdisk.inc and postprocess.pl
...he sign bit for HD
jz .our_drive ; If ZF=1, we have an exact
match
cmp dl,[cs:DriveNo]
jb .nomatch ; Drive < Our drive
@@ -115,13 +118,13 @@ Int13Start:
pushf
push bp
mov bp,sp
- cmp byte [cs:SavedAX+1],08h
+ cmp byte [cs:SavedAX+1],08h ; Get drive params
function?
je .norestoredl
- cmp byte [cs:SavedAX+1],15h
+ cmp byte [cs:SavedAX+1],15h ; Get disk type
function?
jne .restoredl
test byte [bp+4],80h ; Hard disk?
jnz .norestoredl
-.restoredl:
+.restoredl: ; DL should have number of
drives
mov dl,[bp+4]
.norestoredl:
push ax
@@ -129,7 +132,7 @@ Int13Start...