diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-12 04:45:57 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-12 07:03:05 -0300 |
| commit | 4907e35bc45d12102d0e09380994814fc2e0a369 (patch) | |
| tree | 7cfd90224653d73b63fbadaf2881fa0e6ba92860 /anim/tools | |
| parent | ebdebe04a76f0302aeb24c1ac08fa9217b1a8257 (diff) | |
| download | computeranim-4907e35bc45d12102d0e09380994814fc2e0a369.tar.gz computeranim-4907e35bc45d12102d0e09380994814fc2e0a369.zip | |
canim: the introduction, from the review
The introduction records the plain build (clang -O0, no instrumentation),
so reverse's frame is the compiler's own push, mov and sub. The stack
chapter says its convention once and keeps four free words over rsp so
a push moves the pin and nothing else; reverse's rows stand under main's
and are stepped, each touching its word, the call before the push, the
aim drawn head first to the row it returns to. The close-up frames the
bytes and the stack together with their 128 bytes marked. Nothing is
named before it is shown; offsets are written in hex as the operands are;
the dump folds into its tag; the map is announced before it is shown.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'anim/tools')
| -rw-r--r-- | anim/tools/chart.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/anim/tools/chart.py b/anim/tools/chart.py index aa20e43..53324ff 100644 --- a/anim/tools/chart.py +++ b/anim/tools/chart.py @@ -88,8 +88,9 @@ motion.REGIONS.update({ # 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 II: the texts on the left (the program column), main's rows and reverse's first under them, + # the registers built over the stack. + "intro_stack": {"text": (64, 48, 880, 536), "code": (64, 584, 880, 304), "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}, |
