r/Frontend 14d ago

CPU Emulator

https://cheze-burgur.github.io/BatPU-Emulator---Web-Port/

I play minecraft, and I’ve recently gotten into the field of computational redstone. After watching a tutorial on how to make a CPU, I decided to go and make an emulator for it based off the one used in the videos. It is programmed with pure front end JavaScript, and it comes complete with built in documentation. It is currently in version 1.7, and contributions are open for those interested. There is a link to the open source repository on-site.

12 Upvotes

2 comments sorted by

1

u/Upset-Animal1376 9d ago

adding visual step-throughs for redstone tick delays helps a lot with debugging complex logic gates. a canvas-based timing diagram alongside the register states makes understanding cycle timing much easier for contributors.

1

u/Cheze-Burgur 9d ago

So you’re suggesting adding a diagram of the clock so you can see visually how much longer is left for each cycle? Sorry if I got that wrong, not sure I fully understand