/kernel/trunk/detect/biosdisk.inc |
---|
55,7 → 55,8 |
inc ax |
cmp word [si], 170h |
jz @f |
mov ax, -1 |
or ax,-1 |
; mov ax, -1 |
@@: |
stosw |
pop ds |
63,10 → 64,14 |
bddl: |
mov al, dl |
stosb |
mov al, 0 |
xor ax,ax |
stosb |
mov ax, -1 |
dec ax |
stosw |
; mov al, 0 |
; stosb |
; mov ax, -1 |
; stosw |
bddc2: |
cmp cl, [es:0x475] |
jae bdde |
/kernel/trunk/detect/dev_fd.inc |
---|
24,7 → 24,7 |
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 |