Skip to content

Commit

Permalink
new console definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismael-VC committed Aug 29, 2024
1 parent 6899e0d commit d7347be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/constants.tal
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
&debug $1 &state $1

|10 @Console
&vector $2 &read $1 &x $2 &y $2 &type $1 &write $1 &error $1
&vector $2 &read $1 &pad0 $2 &live $1 &exit $1 &type $1 &write $1 &error $1
&pad1 $2 &addr $2 &mode $1 &exec $1

|20 @Screen
&vector $2 &width $2 &height $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2
Expand Down
5 changes: 5 additions & 0 deletions src/repl/symbols.tal
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,14 @@

=Console/vector 00 "Console/vector \0
=Console/read 00 "Console/read \0
=Console/live 00 "Console/live \0
=Console/exit 00 "Console/exit \0
=Console/type 00 "Console/type \0
=Console/write 00 "Console/write \0
=Console/error 00 "Console/error \0
=Console/addr 00 "Console/addr \0
=Console/mode 00 "Console/mode \0
=Console/exec 00 "Console/exec \0

=Screen/vector 00 "Screen/vector \0
=Screen/width 00 "Screen/width \0
Expand Down

0 comments on commit d7347be

Please sign in to comment.