16-Bit Computer
1 Stars     244 Views    

Author: Sanderokian Stfetoneri

Forked from: Dustin Harris/16-Bit Computer

Project access type: Public


Observing someone else's design! Not mine! Just seeing how they designed their system.

The original: 

Things I've added (only two things):

1) I fixed the single pixel GPU contention issue (not the GPU RAM reset issue)
2) I implemented my "fast execution" system in it (see a later version of the Femto-4 to see its origins, or see the Delay Introduction for its explanation)
This computer is far less intensive than my design in terms of simulation load, and can execute 256 instructions per clock cycle as opposed to the Femto-4's measly ~16. (Admittedly the Femto-4 does do more per instruction but not 11 times more. Also I suspect the Femto-4's graphics updates are partly to blame for this). This raises the execution speed from 10 instructions per second to 2560 instructions per second. It is so fast that it can run through all 65536 instructions the computer can store in 25.6 seconds. When running the Hello World Program it runs through the entire 84 line code 3 times, and then executes 4 more instructions, making it appear to only execute 4 instructions at a time.

Note that the execution speed could be doubled by using both edges of the clock to pulse the loop, increasing the instructions per second to 5120, making it actually capable of running decent programs. With this it probably would be feasible to drive decently fast graphics. 

Delay Introduction:

Latest Femto-4 Update:

Created: Dec 09, 2020

Updated: Aug 26, 2023


You must login before you can post a comment.

Thanks for the fork. I made the fast execution update to my version. But I still can't seem to find the contention issue. Feel free to message me sometime? I love the Femto-4, and would love to make a python compiler for my CPU so I can easily make working games like you did. My discord is DevLord#3384 Anyway I appreciate the kind words you left on my 16-bit CPU. Perhaps we could come together sometime an build something ridiculous. I have never done circuit engineering, I learned everything I know in minecraft haha but hey, I'd love to talk with you and learn something new perhaps.
Posted on Jan 31 2021 at 11:48PM UTC.
Here is the official CircuitVerse Discord server. You can join and discuss ideas there. https://discord.gg/Y9eQpANSKQ I haven't really done circuit engineering either, and my first introduction to logic gates was through Minecraft as well. As for the GPU contention issue, I added some annotation next to the screen explaining the problem.
Posted on Feb 01 2021 at 05:09PM UTC. Last modified by Sanderokian Stfetoneri on Feb 01 2021 at 05:20PM UTC.
i broke the typewriter
Posted on Nov 19 2021 at 07:25PM UTC.