Changeset 48067 in vbox
- Timestamp:
- Aug 26, 2013 3:51:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/floppy.c
r47531 r48067 374 374 } 375 375 // Extended floppy size uses special cmos setting 376 else if ( drive_type == 6 ) {377 // 160k 5.25" drive378 config_data = 0x00; // 0000 0000379 media_state = 0x27; // 0010 0111380 retval = 1;381 }382 else if ( drive_type == 7 ) {383 // 180k 5.25" drive384 config_data = 0x00; // 0000 0000385 media_state = 0x27; // 0010 0111386 retval = 1;387 }388 else if ( drive_type == 8 ) {389 // 320k 5.25" drive390 config_data = 0x00; // 0000 0000391 media_state = 0x27; // 0010 0111392 retval = 1;393 }394 376 else if ( drive_type == 14 || drive_type == 15 ) { 395 377 // 15.6 MB 3.5" (fake) || 63.5 MB 3.5" (fake) - report same as 2.88 MB. … … 1060 1042 break; 1061 1043 1062 case 6: // 160k, 5.25"1063 CX = 0x2708; // 40 tracks, 8 sectors1064 SET_DH(0); // max head #1065 break;1066 1067 case 7: // 180k, 5.25"1068 CX = 0x2709; // 40 tracks, 9 sectors1069 SET_DH(0); // max head #1070 break;1071 1072 case 8: // 320k, 5.25"1073 CX = 0x2708; // 40 tracks, 8 sectors1074 break;1075 1076 1044 case 14: // 15.6 MB 3.5" (fake) 1077 1045 CX = 0xfe3f; // 255 tracks, 63 sectors
Note:
See TracChangeset
for help on using the changeset viewer.