Add command line support for hard disk controller (hdc) in slot-5 (#1033)

. -s5 hdc
. -s5h1 <pathname>
NB. No GUI config support, so no way to plug/unplug HDDs.
This commit is contained in:
tomcw
2023-02-26 20:42:21 +00:00
parent 0d0adc1f22
commit d612972e6c
6 changed files with 48 additions and 20 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ Overview
HarddiskInterfaceCard::HarddiskInterfaceCard(UINT slot) :
Card(CT_GenericHDD, slot)
{
if (m_slot != SLOT7) // fixme
if (m_slot != SLOT5 && m_slot != SLOT7) // fixme
ThrowErrorInvalidSlot();
m_unitNum = HARDDISK_1 << 7; // b7=unit