bbc disk drive controller

This commit is contained in:
Kelvin Sherlock
2023-11-25 10:13:20 -05:00
parent 21365c4b83
commit 45fe975cff
17 changed files with 1386 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ MACHINES_EXTRA = MACHINES + (
SLOTS = (
"fdc", # bbc fdc
"sl0", "sl1", "sl2", "sl3",
"sl4", "sl5", "sl6", "sl7",
"exp", "aux",
@@ -195,4 +196,5 @@ SLOT_NAMES = {
"userport": "User Port",
"internal": "Internal",
"1mhzbus": "1MHz Bus",
"fdc": "Disk Drives",
}

View File

@@ -323,6 +323,14 @@ DEVICE_MEDIA = {
# 'null_modem': 'bitbanger',
# 'rs232_sync_io': 'bitbanger',
'a2romusr': 'rom',
# bbc
"525qd": "floppy_5_25",
"525dd": "floppy_5_25",
"525sd": "floppy_5_25",
"525ssdd": "floppy_5_25",
"525sssd": "floppy_5_25",
}
DEVICE_EXCLUDE = set([
@@ -350,7 +358,6 @@ def make_device_options(slot):
# apple 2 scsi slot 1 is a default cd rom device.
# Macintosh scsi slot 3 is a default cd rom device.
# THIS IS NOT REFLECTED IN THE XML SINCE IT'S SET AT RUN TIME.
# IN FACT, THE :scsi
options = []
has_default = False
@@ -418,6 +425,7 @@ def make_device_slots(machine):
slotname = slot.get("name")
options = make_device_options(slot)
if not options: continue
slots.append({
"name": slotname,
"options": options