about summary refs log tree commit diff stats
path: root/071---subx-params.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-09-19 16:32:10 -0700
committerKartik Agaram <vc@akkartik.com>2019-09-19 16:32:10 -0700
commit8a73e0d19a1d17a21512740df51b9e65b6c6ddad (patch)
tree7c38b4c2f9fa222a085fc1397ca534b616216ba3 /071---subx-params.subx
parentdfbe1550872256f597161de72a411b92405284e1 (diff)
downloadmu-8a73e0d19a1d17a21512740df51b9e65b6c6ddad.tar.gz
5673 - standardize a few knobs
Diffstat (limited to '071---subx-params.subx')
-rw-r--r--071---subx-params.subx16
1 files changed, 16 insertions, 0 deletions
diff --git a/071---subx-params.subx b/071---subx-params.subx
new file mode 100644
index 00000000..aefb6639
--- /dev/null
+++ b/071---subx-params.subx
@@ -0,0 +1,16 @@
+# Normally we introduce names in the layers that need them, but we'll make an
+# exception to colocate various knobs for translating SubX programs using SubX.
+
+== data
+
+# largest segment that can be translated
+Segment-size:
+  0x80000/imm32/512KB
+
+# maximum size of input textual stream (spanning all segments)
+Input-size:
+  0x100000/imm32/1MB
+
+# number of labels we can translate to addresses
+Max-labels:
+  0x10000/imm32/4K-labels/64KB