mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 07:17:41 +00:00
. The auto-switch is done on each reset, or on inserting a disk at the start-up screen (MODE_LOGO). . The Window's title include '(S6-13)' if DiskII card has 13-sector f/w. . The debugger's 'disk info' cmd will show FW13 or FW16 depending on f/w.
This commit is contained in:
@@ -118,3 +118,17 @@ void Disk2CardManager::Destroy(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool Disk2CardManager::IsAnyFirmware13Sector(void)
|
||||
{
|
||||
for (UINT i = 0; i < NUM_SLOTS; i++)
|
||||
{
|
||||
if (g_CardMgr.QuerySlot(i) == CT_Disk2)
|
||||
{
|
||||
// If any Disk2 card has 13-sector firmware then return true
|
||||
if (dynamic_cast<Disk2InterfaceCard&>(g_CardMgr.GetRef(i)).GetCurrentFirmware() == 13)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user