mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-22 15:29:58 +00:00
Add PERCH slot.
So you can connect a USB controller or whatever to it.
This commit is contained in:
parent
177098c957
commit
e81ac6f61e
@ -59,7 +59,7 @@ int MPC106::device_postinit()
|
||||
std::string pci_dev_name;
|
||||
|
||||
static const std::map<std::string, int> pci_slots = {
|
||||
{"pci_A1", DEV_FUN(0xD,0)}, {"pci_B1", DEV_FUN(0xE,0)}, {"pci_C1", DEV_FUN(0xF,0)}
|
||||
{"pci_PERCH", DEV_FUN(0xC,0)}, {"pci_A1", DEV_FUN(0xD,0)}, {"pci_B1", DEV_FUN(0xE,0)}, {"pci_C1", DEV_FUN(0xF,0)}
|
||||
};
|
||||
|
||||
for (auto& slot : pci_slots) {
|
||||
@ -296,6 +296,8 @@ void MPC106::setup_ram() {
|
||||
}
|
||||
|
||||
static const PropMap Grackle_Properties = {
|
||||
{"pci_PERCH",
|
||||
new StrProperty("")},
|
||||
{"pci_A1",
|
||||
new StrProperty("")},
|
||||
{"pci_B1",
|
||||
|
@ -84,6 +84,7 @@ static const map<string, string> PropHelp = {
|
||||
{"cdr_config", "CD-ROM device path in [bus]:[device#] format"},
|
||||
{"cdr_img", "specifies path to CD-ROM image"},
|
||||
{"mon_id", "specifies which monitor to emulate"},
|
||||
{"pci_PERCH", "insert a PCI device into PERCH slot"},
|
||||
{"pci_A1", "insert a PCI device into A1 slot"},
|
||||
{"pci_B1", "insert a PCI device into B1 slot"},
|
||||
{"pci_C1", "insert a PCI device into C1 slot"},
|
||||
|
Loading…
Reference in New Issue
Block a user