Added some more rendering stuff and drew a little brick tile.
I added methods like BLIT{,K,S} and some memory operations like MEMCPY
Added some more rendering stuff and drew a little brick tile.
I added methods like BLIT{,K,S} and some memory operations like MEMCPY
I made an on screen controller for my fantasy console! SDL is not all that hard, but then again this is quite a simple UI. In the future I will probably use textures and proper layouting techniques. For now, this will do though! :3
I started work on the input system! I jumped through a ton of hoops along the way, and experimented with different input pulling methods, but landed on polling once per frame. The same input can be pushed to the stack several times during the frame.
I made a little paint game to test it out! it works pretty well, and works on both keyboard and a game controller!
I made langton’s ant in my fantasy console!
Langton’s ant isn’t that hard to write, of course, but it did point me to several issues in my stack handling!
This fantasy console is implemented in C and is built with strange bugs in mind. The pitfalls caused by the arguably cursed ISA actually help to discourage me, at a personal level, from using LLMs in my code.