Skip to content

Commit ded2d85

Browse files
committed
prevent B: and A: share a single phys drv if floppy drvs are installed
1 parent 72ae65f commit ded2d85

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drbio/disk.asm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2388,6 +2388,12 @@ floppy_init:
23882388
xor dx,dx ; for NEAT hard disk boot bug
23892389
int_____DISK_INT
23902390
int EQUIPMENT_INT ; determine equipment status
2391+
test al,1 ; zero if we have no floppy
2392+
jnz equip_have_floppy
2393+
mov ax,2
2394+
mov nfloppy,0
2395+
jmp equip_check_des
2396+
equip_have_floppy:
23912397
mov cl,6
23922398
shr ax,cl ; shift down floppy bits
23932399
and ax,03h ; mask for floppy

0 commit comments

Comments
 (0)