Programs can now pin specific routines to specific vectors in SplitBit assembly. Added snake game.

This commit is contained in:
Anachronaut
2026-08-17 19:12:42 -04:00
parent 08624925fe
commit 9e3425d34b
18 changed files with 1383 additions and 47 deletions
+3 -2
View File
@@ -3,8 +3,9 @@ CosmOS
> greet.sbx 210
hello.sbx 52
Life.sbx 1411
Snake.sbx 2175
notes.txt 21
4 files
5 files
> load what?
> no such file
> not a program
@@ -16,5 +17,5 @@ finished
what should I call you? hello, Claude. that is all I do.
finished
> halted
Execution halted after 11647 cycles.
Execution halted after 12778 cycles.
[exit 0]
+293
View File
@@ -0,0 +1,293 @@
CosmOS
> loaded, starting at 2000
> +----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| ## |
| @ |
| |
| |
| |
| |
| * |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| # |
| # |
| @ |
| |
| |
| |
| * |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| # |
| # |
| @ |
| |
| |
| * |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| # |
| # |
| @ |
| |
| * |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| # |
| # |
| @ |
| * |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| # |
| # |
| * @ |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| # |
| * @# |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| * @## |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| * @## |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| * @## |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| *@## |
| |
+----------------+
score 0 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| * |
| |
| |
| |
| |
| |
| |
| @### |
| |
+----------------+
score 1 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| * |
| |
| |
| |
| |
| |
| |
| @### |
| |
+----------------+
score 1 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| * |
| |
| |
| |
| |
| |
| |
|@### |
| |
+----------------+
score 1 wasd steers, q stops
+----------------+
| |
| |
| |
| |
| |
| |
| |
| * |
| |
| |
| |
| |
| |
| |
|@### |
| |
+----------------+
score 1 wasd steers, q stops
you ran into something
finished
>
halted
Execution halted after 1910669 cycles.
[exit 0]
+7
View File
@@ -0,0 +1,7 @@
pinned vectors
twenty
sixty three
automatic
done
Execution halted after 272 cycles.
[exit 0]