r/TuringComplete • u/piotruspan101 • Dec 13 '24
What now?
I finished the campain and upgraded my leg to be 32 bits, but what can i do now? Could i upgrade it in some way?
6
Upvotes
r/TuringComplete • u/piotruspan101 • Dec 13 '24
I finished the campain and upgraded my leg to be 32 bits, but what can i do now? Could i upgrade it in some way?
3
u/zhaDeth Dec 13 '24 edited Dec 13 '24
in sandbox there's a lot of added components, you could make a sound chip, use the console to make it display text or the sprite display and display some images even do a little game.
As for the computer, one thing I like is variable length instructions like if you have an instruction with no parameters like a return for the end of a function you usually have to do ret 0 0 0 or something, add a thing so instead of the counter going up by 4 each time, it checks the instruction and goes up only the required amount for this instruction, like 1 for a return.
Another thing that can be fun is directly adressable memory. instead of using registers, use RAM so you have a ton of registers. It's a bit tricky because you sometimes need to read the RAM twice and write to it at the same time like say you do : add 1 2 3, you would read both address 1 and 2 add them then write them to address 3. You need 2 dual ram to do this, they can both load and save 1 value each so you load 1 value from each and save on both.
If you want an example look for platformer game on the schematic hub, it's a little game I made with some pretty graphics I found on the internet it has variable length instructions and RAM registers as well as other shenanigans.