summaryrefslogtreecommitdiff
path: root/anim/scenes/syscalls.zig
diff options
context:
space:
mode:
Diffstat (limited to 'anim/scenes/syscalls.zig')
-rw-r--r--anim/scenes/syscalls.zig9
1 files changed, 6 insertions, 3 deletions
diff --git a/anim/scenes/syscalls.zig b/anim/scenes/syscalls.zig
index 0d39089..e9f0ae5 100644
--- a/anim/scenes/syscalls.zig
+++ b/anim/scenes/syscalls.zig
@@ -54,12 +54,15 @@ fn frame(s: *anim.Frame) void {
says.line(s, "A program cannot open a file itself.\nIt asks the kernel, and waits.");
cur.walk(s, .line, rec.lineMoment(6, main.enter));
+ // Each caption leads its beat, and is read while it plays: the call's
+ // caption the line that makes it, the descend's the descend, so that no
+ // still picture waits out a reading time.
+ says.line(s, "`main` calls `open` by its stub in the PLT, with \"note\"\nin rdi and O_RDONLY in rsi.");
cur.walk(s, .moment, stub - 1);
- says.line(s, "`main` calls `open` by its stub in the PLT. The arguments\nare in rdi and rsi: \"note\" and O_RDONLY.");
+ says.line(s, "The call goes down: main's call waits, ringed;\nthe stub's three rows open under it.");
canim.descent.step(cur, s, .moment);
s.wait(t.phrase_rest);
- says.line(s, "The call went down: main's window keeps its call, ringed,\nand the stub's three rows open under it.");
- says.line(s, "The stub's jmp reads open@got, the GOT's slot,\nand goes on to libc's `open`.");
+ says.line(s, "The stub's jmp reads open@got\nand goes on to libc's `open`.");
canim.descent.step(cur, s, .moment);
s.wait(t.phrase_rest);
// The wrapper at a run, veiled; its last three instructions walked, named as they run.