Hacker News new | ask | show | jobs
by flohofwoe 19 days ago
The actual emulator code lives here (all in STB-style headers):

https://github.com/floooh/chips

The chips-test repo has the 'integration' code which assembles the headers into executables:

https://github.com/floooh/chips-test

There's also a similar project in Zig (but less complete, it's more like an experiment what the same implementation ideas would look like in Zig) that might be a bit more readable and with everything in one place:

https://github.com/floooh/chipz

E.g. start reading the top-level emulator executables:

https://github.com/floooh/chipz/tree/main/emus

...and then move your way down to the system implementations:

https://github.com/floooh/chipz/tree/main/src/systems

...and finally to the chip emulators:

https://github.com/floooh/chipz/tree/main/src/chips

1 comments

Thx for those links!