Skip to content

Commit

Permalink
Improved and enhanced the floppy emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
fysnet authored Nov 16, 2023
1 parent d4b4323 commit 395d9b5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bochs/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,16 @@ int get_floppy_devtype_from_type(int type)
switch (type) {
case BX_FLOPPY_2_88:
return BX_FDD_350ED;
case BX_FLOPPY_720K:
case BX_FLOPPY_1_44:
return BX_FDD_350HD;
default:
case BX_FLOPPY_720K:
return BX_FDD_350DD;
case BX_FLOPPY_1_2:
return BX_FDD_525HD;
// the remaining types return a 5 1/4" 360k drive
case BX_FLOPPY_360K:
default:
return BX_FDD_525DD;
}
}

Expand Down

0 comments on commit 395d9b5

Please sign in to comment.