diff --git a/Ample/Resources/las3000.plist b/Ample/Resources/las3000.plist index 33339d8..b091235 100644 --- a/Ample/Resources/las3000.plist +++ b/Ample/Resources/las3000.plist @@ -23,6 +23,16 @@ RAM options + + intValue + 192 + description + 192K + value + 192K + default + + diff --git a/python/mkmachines.py b/python/mkmachines.py index 1bf02b1..c659764 100644 --- a/python/mkmachines.py +++ b/python/mkmachines.py @@ -407,6 +407,12 @@ def make_ram(machine): } for x in machine.findall('ramoption') ] + + # special case for laser 3000.... + if len(options) == 0 and machine.get('name') == 'las3000': + options.append( { "intValue": 192, "description": "192K", "value": "192K", "default": True} ) + + # sort and add empty starting entry. options.sort(key=lambda x: x["intValue"])