mirror of https://github.com/ksherlock/ample.git
Add Atari ST support.
This commit is contained in:
parent
8bc7e26279
commit
06233137a9
|
@ -38,6 +38,9 @@ MACHINES = (
|
||||||
|
|
||||||
# 128k clones
|
# 128k clones
|
||||||
# "unitron", "utrn1024",
|
# "unitron", "utrn1024",
|
||||||
|
|
||||||
|
#atari
|
||||||
|
"st", "megast"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -54,6 +57,9 @@ SLOTS = (
|
||||||
# mac nubus
|
# mac nubus
|
||||||
"nb1", "nb2", "nb3", "nb4", "nb5", "nb6", "nb7",
|
"nb1", "nb2", "nb3", "nb4", "nb5", "nb6", "nb7",
|
||||||
"nb8", "nb9", "nba", "nbb", "nbc", "nbd", "nbe",
|
"nb8", "nb9", "nba", "nbb", "nbc", "nbd", "nbe",
|
||||||
|
|
||||||
|
# st
|
||||||
|
"centronics", "mdin", "mdout"
|
||||||
)
|
)
|
||||||
|
|
||||||
SLOT_NAMES = {
|
SLOT_NAMES = {
|
||||||
|
@ -69,7 +75,7 @@ SLOT_NAMES = {
|
||||||
"sl7": "Slot 7",
|
"sl7": "Slot 7",
|
||||||
"exp": "Expansion",
|
"exp": "Expansion",
|
||||||
"aux": "Auxiliary",
|
"aux": "Auxiliary",
|
||||||
"rs232": "RS232",
|
"rs232": "Modem",
|
||||||
"gameio": "Game I/O",
|
"gameio": "Game I/O",
|
||||||
"modem": "Modem",
|
"modem": "Modem",
|
||||||
"printer": "Printer",
|
"printer": "Printer",
|
||||||
|
@ -80,4 +86,8 @@ SLOT_NAMES = {
|
||||||
"nbc": "Slot C",
|
"nbc": "Slot C",
|
||||||
"nbd": "Slot D",
|
"nbd": "Slot D",
|
||||||
"nbe": "Slot E",
|
"nbe": "Slot E",
|
||||||
|
|
||||||
|
"centronics": "Printer",
|
||||||
|
"mdin": "MIDI In",
|
||||||
|
"mdout": "MIDI Out",
|
||||||
}
|
}
|
||||||
|
|
|
@ -210,6 +210,8 @@ def find_media(parent, include_slots=False):
|
||||||
"bitbanger": "bitbanger", # null_modem, etc.
|
"bitbanger": "bitbanger", # null_modem, etc.
|
||||||
"picture_image": "picture", # a2ceyes
|
"picture_image": "picture", # a2ceyes
|
||||||
# "printer_image": "printout",
|
# "printer_image": "printout",
|
||||||
|
"midiin": "midiin",
|
||||||
|
"midiout": "midiout",
|
||||||
}
|
}
|
||||||
remap_slot = {
|
remap_slot = {
|
||||||
# now handled at the slot level.
|
# now handled at the slot level.
|
||||||
|
@ -310,6 +312,7 @@ DEVICE_EXCLUDE = set([
|
||||||
'smoc501',
|
'smoc501',
|
||||||
'cfp1080s',
|
'cfp1080s',
|
||||||
'cf', # ATA compact flash
|
'cf', # ATA compact flash
|
||||||
|
'cp2024', # Conner Peripherals CP-2024 hard disk
|
||||||
])
|
])
|
||||||
|
|
||||||
def make_device_options(slot):
|
def make_device_options(slot):
|
||||||
|
@ -445,8 +448,6 @@ def make_bios(m):
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def make_smartport(machine):
|
def make_smartport(machine):
|
||||||
|
|
||||||
|
|
||||||
|
@ -457,12 +458,14 @@ def make_smartport(machine):
|
||||||
# maclc <slot name="scsi:1" .. "scsi:7" (but 4-7 not configurable)
|
# maclc <slot name="scsi:1" .. "scsi:7" (but 4-7 not configurable)
|
||||||
# maciix <slot name="scsi:6">
|
# maciix <slot name="scsi:6">
|
||||||
# macse <slot name="scsibus:6">
|
# macse <slot name="scsibus:6">
|
||||||
|
# atari st, etc: <slot name="wd1772:[0-1]">
|
||||||
|
|
||||||
slots = []
|
slots = []
|
||||||
SLOTS = [
|
SLOTS = [
|
||||||
*['fdc:' + str(x) for x in range(0,4)],
|
*['fdc:' + str(x) for x in range(0,4)],
|
||||||
*['scsi:' + str(x) for x in range(0,7)],
|
*['scsi:' + str(x) for x in range(0,7)],
|
||||||
*['scsibus:' + str(x) for x in range(0,7)],
|
*['scsibus:' + str(x) for x in range(0,7)],
|
||||||
|
*['wd1772:' + str(x) for x in range(0,4)],
|
||||||
|
|
||||||
"sl6:0", "sl6:1", "0", "1", "2", "3"
|
"sl6:0", "sl6:1", "0", "1", "2", "3"
|
||||||
]
|
]
|
||||||
|
|
|
@ -33,6 +33,8 @@ mac_nubus_children = [
|
||||||
mac_128k_children = ["mac128k", "mac512k", "mac512ke", "macplus",
|
mac_128k_children = ["mac128k", "mac512k", "mac512ke", "macplus",
|
||||||
"macse", "macsefd", "macse30", "macclasc", "macclas2", "maccclas"]
|
"macse", "macsefd", "macse30", "macclasc", "macclas2", "maccclas"]
|
||||||
|
|
||||||
|
atari_st_children = ["st", "megast"]
|
||||||
|
|
||||||
tree = [
|
tree = [
|
||||||
("Apple I", "apple1", apple1_children),
|
("Apple I", "apple1", apple1_children),
|
||||||
("Apple ][", "apple2", apple2_children),
|
("Apple ][", "apple2", apple2_children),
|
||||||
|
@ -48,6 +50,7 @@ tree = [
|
||||||
("China Education Computer", None, cec_children),
|
("China Education Computer", None, cec_children),
|
||||||
("Macintosh (Compact)", "macse30", mac_128k_children),
|
("Macintosh (Compact)", "macse30", mac_128k_children),
|
||||||
("Macintosh (NuBus)", "maciix", mac_nubus_children),
|
("Macintosh (NuBus)", "maciix", mac_nubus_children),
|
||||||
|
("Atari ST", "st", atari_st_children)
|
||||||
]
|
]
|
||||||
|
|
||||||
env = {'DYLD_FALLBACK_FRAMEWORK_PATH': '../embedded'}
|
env = {'DYLD_FALLBACK_FRAMEWORK_PATH': '../embedded'}
|
||||||
|
|
Loading…
Reference in New Issue