diff --git a/src/arch/zx81sd/tools/build_sd81.py b/src/arch/zx81sd/tools/build_sd81.py
old mode 100644
new mode 100755
index dceccf77e..8ce978cb1
--- a/src/arch/zx81sd/tools/build_sd81.py
+++ b/src/arch/zx81sd/tools/build_sd81.py
@@ -54,19 +54,11 @@
def main():
- ap = argparse.ArgumentParser(
- description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter
- )
+ ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
ap.add_argument("source", help="BASIC source file (.bas)")
- ap.add_argument(
- "output_base", nargs="?", help="Output base name (default: source file name)"
- )
- ap.add_argument(
- "--copy-to", metavar="DIR", help="Also copy the page files + .P loader here"
- )
- ap.add_argument(
- "--asm", action="store_true", help="Also emit .asm (the generated assembly listing)"
- )
+ ap.add_argument("output_base", nargs="?", help="Output base name (default: source file name)")
+ ap.add_argument("--copy-to", metavar="DIR", help="Also copy the page files + .P loader here")
+ ap.add_argument("--asm", action="store_true", help="Also emit .asm (the generated assembly listing)")
ap.add_argument("-O", "--optimize", default="2", help="zxbc.py optimization level (default 2)")
ap.add_argument(
"-D",
diff --git a/src/arch/zx81sd/tools/gen_map.py b/src/arch/zx81sd/tools/gen_map.py
old mode 100644
new mode 100755
index 4098cae36..07158114a
--- a/src/arch/zx81sd/tools/gen_map.py
+++ b/src/arch/zx81sd/tools/gen_map.py
@@ -42,13 +42,9 @@
def main():
- ap = argparse.ArgumentParser(
- description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter
- )
+ ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
ap.add_argument("source", help="BASIC source file (.bas)")
- ap.add_argument(
- "output_base", nargs="?", help="Output base name (default: source file name)"
- )
+ ap.add_argument("output_base", nargs="?", help="Output base name (default: source file name)")
ap.add_argument("-O", "--optimize", default="2", help="zxbc.py optimization level (default 2)")
ap.add_argument(
"-D",