summaryrefslogtreecommitdiff
path: root/anim/tools/chart.py
diff options
context:
space:
mode:
Diffstat (limited to 'anim/tools/chart.py')
-rw-r--r--anim/tools/chart.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/anim/tools/chart.py b/anim/tools/chart.py
index 0f2894f..aa20e43 100644
--- a/anim/tools/chart.py
+++ b/anim/tools/chart.py
@@ -77,6 +77,22 @@ motion.REGIONS.update({
"sqlite": {**strips(subject(17), True), **words},
"zoom": {**strips(none(9), False), **words},
"gallery": {**strips(beside(13), True), **words},
+ # The pair (src/pair.zig, `split`): the source shared across both columns, then each run's disassembly,
+ # registers and frame as bytes on its side of the seam; no strips. ASan's stderr comes in over its
+ # registers and its disassembly's lower rows once it has stopped.
+ "asan": {"source": (64, 48, 1792, ph(5)),
+ "plain disasm": (64, 212, 880, ph(9)), "asan disasm": (976, 212, 880, ph(5)),
+ "plain registers": (64, 472, 880, ph(4)), "asan stderr": (976, 376, 880, ph(6)),
+ "plain frame": (64, 612, 880, ph(10)), "asan frame": (976, 612, 880, ph(10)), **words},
+ # The introduction (motion.md, "A scene: the introduction"), chapter I: the address space in the
+ # program column, the dump in the state column (the texts beside the address space there while
+ # the dump is on the shelf); the camera at x2 on the dump for its first three beats.
+ "intro_memory": {"space": (64, 48, 880, 840), "dump": (976, 48, 880, 840), **words},
+ # Chapter II: the texts on the left (the program column, empty), the registers built over the stack.
+ "intro_stack": {"text": (64, 48, 880, 840), "registers": (976, 48, 880, 236), "stack": (976, 296, 880, 592), **words},
+ # Chapter III: the aligned panel across both columns under its text above, then the working frame
+ # (the nodes lens as the list scene's), then the map.
+ "intro_code": {"text": (64, 48, 1792, 120), "aligned": (64, 168, 1792, 720), **words},
})
# `cut`: the gallery is the catalogue's pages, cut from one to the next (scenes/gallery.zig: 3, 6, 9.6, 13, 16,
# 19.8, 21 and 24 s), not a scene: a page's first frame changes everything at once by design.