forked from KolibriOS/kolibrios
small optimization
git-svn-id: svn://kolibrios.org@1229 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -55,7 +55,8 @@ bdds:
|
||||
inc ax
|
||||
cmp word [si], 170h
|
||||
jz @f
|
||||
mov ax, -1
|
||||
or ax,-1
|
||||
; mov ax, -1
|
||||
@@:
|
||||
stosw
|
||||
pop ds
|
||||
@@ -63,10 +64,14 @@ bdds:
|
||||
bddl:
|
||||
mov al, dl
|
||||
stosb
|
||||
mov al, 0
|
||||
stosb
|
||||
mov ax, -1
|
||||
stosw
|
||||
xor ax,ax
|
||||
stosb
|
||||
dec ax
|
||||
stosw
|
||||
; mov al, 0
|
||||
; stosb
|
||||
; mov ax, -1
|
||||
; stosw
|
||||
bddc2:
|
||||
cmp cl, [es:0x475]
|
||||
jae bdde
|
||||
|
@@ -24,7 +24,7 @@ $Revision$
|
||||
mov cx,0xff
|
||||
wait_cmos:
|
||||
dec cx
|
||||
cmp cx,0
|
||||
jne wait_cmos
|
||||
test cx,cx
|
||||
jnz wait_cmos
|
||||
in al,0x71
|
||||
mov [DRIVE_DATA],al
|
||||
|
Reference in New Issue
Block a user