5 def filename(idx
, alternate
=0):
6 if "gruvin9x" in sys
.argv
:
10 if isinstance(idx
, int):
11 result
= "%04d%s" % (idx
, ext
)
12 elif board
in ('sky9x', 'taranis'):
15 if alternate
>= NO_ALTERNATE
:
17 result
= "%04d%s" % (alternate
, ext
)
20 if "sky9x" in sys
.argv
:
22 PROMPT_CUSTOM_BASE
= 256
23 PROMPT_SYSTEM_BASE
= 0
24 elif "taranis" in sys
.argv
or "horus" in sys
.argv
:
26 PROMPT_CUSTOM_BASE
= 256
27 PROMPT_SYSTEM_BASE
= 0
28 elif "gruvin9x" in sys
.argv
:
30 PROMPT_CUSTOM_BASE
= 0
31 PROMPT_SYSTEM_BASE
= 256
34 PROMPT_CUSTOM_BASE
= 0
35 PROMPT_SYSTEM_BASE
= 256