mirror of
https://github.com/ksherlock/ample.git
synced 2025-01-21 17:32:09 +00:00
move python code into it's own directory.
This commit is contained in:
parent
fe7c71e7c7
commit
b262c8bf2f
@ -18,6 +18,9 @@ MACHINES = (
|
||||
"dodo", "elppa", "hkc8800a", "ivelultr",
|
||||
"maxxi", "microeng", "prav82", "prav8m",
|
||||
"space84", "uniap2en", "uniap2pt", "uniap2ti",
|
||||
"zijini",
|
||||
# China Education Computer
|
||||
"cec2000", "cece", "cecg", "ceci", "cecm",
|
||||
)
|
||||
|
||||
|
||||
@ -30,4 +33,4 @@ SLOTS = (
|
||||
"gameio",
|
||||
"printer",
|
||||
"modem"
|
||||
)
|
||||
)
|
@ -34,5 +34,5 @@ for m in MACHINES:
|
||||
devices[name] = tmp
|
||||
|
||||
|
||||
with open("Resources/devices.plist", "w") as f:
|
||||
f.write(to_plist(devices))
|
||||
with open("../Ample/Resources/devices.plist", "w") as f:
|
||||
f.write(to_plist(devices))
|
@ -14,9 +14,10 @@ DISABLED = set((
|
||||
'hsscsi', # doesn't work
|
||||
'corvus', # these apparently don't use normal disk images.
|
||||
'zipdrive',
|
||||
'vulcan',
|
||||
'focusdrive',
|
||||
'vulcangold'
|
||||
'vulcan',
|
||||
'vulcangold',
|
||||
'vulcaniie',
|
||||
))
|
||||
|
||||
|
||||
@ -165,7 +166,7 @@ for m in MACHINES:
|
||||
data[s] = tmp
|
||||
|
||||
|
||||
path = "Resources/{}.plist".format(m)
|
||||
path = "../Ample/Resources/{}.plist".format(m)
|
||||
with open(path, "w") as f:
|
||||
f.write(to_plist(data))
|
||||
|
@ -20,7 +20,8 @@ ii_clones_children = ["ace100", "agat7", "agat9", "albert",
|
||||
"dodo", "elppa", "hkc8800a", "ivelultr",
|
||||
"maxxi", "microeng", "prav82", "prav8m",
|
||||
"space84", "uniap2en", "uniap2pt", "uniap2ti"]
|
||||
iie_clones_children = ["mprof3", "prav8c", "spectred"]
|
||||
iie_clones_children = ["mprof3", "prav8c", "spectred", "zijini"]
|
||||
cec_children = ["cec2000", "cece", "cecg", "ceci", "cecm"]
|
||||
|
||||
tree = [
|
||||
("Apple I", "apple1", apple1_children),
|
||||
@ -30,6 +31,7 @@ tree = [
|
||||
("Apple IIgs", "apple2gs", apple2gs_children),
|
||||
("Apple ///", "apple3", apple3_children),
|
||||
("Laser", "laser128", laser_children),
|
||||
("China Education Computer", None, cec_children)
|
||||
("II Clones", None, ii_clones_children),
|
||||
("IIe Clones", None, iie_clones_children),
|
||||
]
|
||||
@ -74,7 +76,7 @@ for x in tree:
|
||||
|
||||
data.append(tmp)
|
||||
|
||||
path = "Resources/models.plist"
|
||||
path = "../Ample/Resources/models.plist"
|
||||
with open(path, "w") as f:
|
||||
f.write(to_plist(data))
|
||||
|
73
python/rom.py
Normal file
73
python/rom.py
Normal file
@ -0,0 +1,73 @@
|
||||
from plist import to_plist
|
||||
|
||||
ROMS = """
|
||||
a1cass
|
||||
a2aevm80
|
||||
a2ap16
|
||||
a2ap16a
|
||||
a2aplcrd
|
||||
a2cffa02
|
||||
a2cffa2
|
||||
a2corvus
|
||||
a2diskii
|
||||
a2diskiing
|
||||
a2focdrv
|
||||
a2hsscsi
|
||||
a2iwm
|
||||
a2memexp
|
||||
a2mouse
|
||||
a2pic
|
||||
a2ramfac
|
||||
a2scsi
|
||||
a2ssc
|
||||
a2surance
|
||||
a2swyft
|
||||
a2thunpl
|
||||
a2tmstho
|
||||
a2twarp
|
||||
a2ultrme
|
||||
a2ulttrm
|
||||
a2vidtrm
|
||||
a2vtc1
|
||||
a2vulcan
|
||||
a2vulgld
|
||||
a2vuliie
|
||||
a2zipdrv
|
||||
a3fdc
|
||||
apple1
|
||||
apple2
|
||||
apple2c
|
||||
apple2e
|
||||
apple2gs
|
||||
apple3
|
||||
cec2000
|
||||
cece
|
||||
cecg
|
||||
ceci
|
||||
cecm
|
||||
cga
|
||||
cmsscsi
|
||||
d2fdc
|
||||
diskii13
|
||||
keytronic_pc3270
|
||||
m68705p3
|
||||
votrax
|
||||
zijini
|
||||
""".splitlines()
|
||||
#
|
||||
# others
|
||||
# mprof3
|
||||
# spectred
|
||||
# tk3000
|
||||
# prav8c
|
||||
#
|
||||
|
||||
data = {}
|
||||
data["source"] = "https://archive.org/download/mame0224_rom"
|
||||
data["type"] = "7z"
|
||||
data["version"] = "0.224"
|
||||
data["roms"] = ROMS
|
||||
|
||||
# print(ROMS)
|
||||
with open("../Ample/Resources/roms.plist", "w") as f:
|
||||
f.write(to_plist(data))
|
Loading…
x
Reference in New Issue
Block a user