Site Archived Nov 7, 2023

Devlog

These are my daily notes and internal conversations during development. They may be helpful to understand the larger context of decisions that were made, and how I learned and explored while building.

Devlog < 2023 < June < 28

| by date | | thread: cohost |

After spending some time trying to write device IO code, I left off trying to think a bit more about the architecture of my stack machine's stack manipulation instructions. I was missing some fundamental operations for actually using the stack effectively, which meant that I mostly was resorting to using the various registers and stacks as individual registers. I did more reading on Forth to refresh my memory, and started thinking about better ways I might be able to implement "picking" and "rolling" for a variable-width stack. Perhaps I could use bit-masks for surfacing bytes? And integers for rolling and tucking?

| thread: cohost | | by date |