Add MetaFloppy.

This commit is contained in:
2021-10-05 19:24:38 +01:00
parent b533635e67
commit 238c2c7ec3
6 changed files with 16 additions and 0 deletions

View File

@@ -303,6 +303,12 @@ namespace Aaru.CommonTypes
mediumType, blocks, blockSize);
return MediaType.IBM33FD_256;
case 1232:
AaruConsole.DebugWriteLine("Media detection",
"SCSI medium type is {0:X2}h, media has {1} blocks of {2} bytes, setting media type to MetaFloppy formatted 5¼\" double density single sided floppy.",
mediumType, blocks, blockSize);
return MediaType.MetaFloppy;
case 1280 when mediumType == 0x01:
AaruConsole.DebugWriteLine("Media detection",
"SCSI medium type is {0:X2}h, media has {1} blocks of {2} bytes, setting media type to Acorn formatted 5¼\" double density floppy with 80 tracks.",