5 years ago, I made a derivative of SAP-1 (mainly inspired by Ben Eater) on breadboard with few improvement and called it MSAP-1 (https://github.com/mehrantsi/MSAP-1) I made my own very primitive Assembly language and a simple Arduino programmer (https://github.com/mehrantsi/8-bit_CPU_Programmer) where I could load my programs onto MSAP-1 and even Debug them (https://github.com/mehrantsi/8-bit_CPU_Debugger).

After that I started worked on the second version of it (https://github.com/mehrantsi/MSAP-2) by adding Stack, Interrupts and etc. with the goal of having a very primitive OS running on the second version, but changes in life meant I didn't have time to work on it as much, but I was progressing.

Since 2 years ago, I had this little test of mine to see which one can understand MSAP-1, My own Assembly, the programs I wrote and ultimately if they would understand MSAP-2. none of the models could really understand the whole stack and initial models were quite bad at understanding hardware and electronics in general. Until Fable 5...

Same prompt to Fable and it's the first model that understood the full stack and my intentions for the second version that is in progress. I asked it to create a simulator which it did (not one shotted ofc) and I managed to finalize the design using that. Then together with Fable I created an OS using my own Assembly (https://github.com/mehrantsi/MOS-1) and loaded it there and it all works!

It's all quite fascinating how much better at electronics Fable is compared to the predecessors!

Simulator for MSAP-1: https://msap1.mehran.dk

Simulator for MSAP-1: https://msap2.mehran.dk


• altairprime 3 hours ago

OP: ‘Discreet’ when the author meant ‘discrete’ has been showing up in a lot of cheap pulp sci-fi novels for the past few years as well. PSA, then: the former means ‘subtle’, the latter means ‘separate’.

• cheesecakegood 35 minutes ago

Conversely, I read a lot of fantasy webnovels, and “discrete” shows up all the time when they mean “discreet” (which is 90% of the time what a normal author wants). It is legitimately my pet peeve.

• convivialdingo 2 hours ago

That's fantastic, love the ability to inspect each state and see it as a whole running in real-time. I remember seeing a C64 simulator that showed the memory/cpu state - but this goes beyond that.

• glimshe 4 hours ago

Great work! I really liked the UI and the overall philosophy behind the project. It would be cool to connect a virtual graphical display to the output ports and have the CPU output something visual just for fun.

It also would be cool how you used Fable/AI to build this from scratch given that it wasn't one-shot.

• prabhanjana_c 4 hours ago

Quite cool. Experimented it works. Nice to see each chip behavior is emulated. Wondering how does it make sure simulated chip is really behaving, the way real hardware behaves. Good to have a simple demo flow for 2 to 3 usecases, to get used to the simulator.