From 3a8289412d4e12f7d71c1f3d984358321b26463c Mon Sep 17 00:00:00 2001 From: Charles Ancheta <55412395+cbebe@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:08:29 -0600 Subject: [PATCH] riscv/fysh: Add comment about Fysh-C interop --- pkg/riscv/fysh/simple-matrix.fysh | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkg/riscv/fysh/simple-matrix.fysh b/pkg/riscv/fysh/simple-matrix.fysh index 4237463..20b1f8a 100755 --- a/pkg/riscv/fysh/simple-matrix.fysh +++ b/pkg/riscv/fysh/simple-matrix.fysh @@ -48,14 +48,19 @@ x x x x x x x x ><(((@> [><{°>] ><> - [><(({°> >(draw fysh) ><(((°>] ~ - [><(({°> >(draw fysh) ><(({°>] ~ - [><(({°> >(draw fysh) ><({(°>] ~ - [><(({°> >(draw fysh) ><({{°>] ~ - [><(({°> >(draw fysh) ><{((°>] ~ - [><(({°> >(draw fysh) ><{({°>] ~ - [><(({°> >(draw fysh) ><{{(°>] ~ - [><(({°> >(draw fysh) ><{{{°>] ~ + > + `draw frame` is defined in `gpio.c`, + which calls both `set pixel` and `draw fysh`. + This showcases Fysh-C interop. + <*/>< + [><(({°> >(draw frame) ><(((°>] ~ + [><(({°> >(draw frame) ><(({°>] ~ + [><(({°> >(draw frame) ><({(°>] ~ + [><(({°> >(draw frame) ><({{°>] ~ + [><(({°> >(draw frame) ><{((°>] ~ + [><(({°> >(draw frame) ><{({°>] ~ + [><(({°> >(draw frame) ><{{(°>] ~ + [><(({°> >(draw frame) ><{{{°>] ~ <>< > we're just being nice to LLVM