frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Simulator for a custom 8-bit discreet logic computer

https://msap2.mehran.dk
10•mehrant•3d ago
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

Comments

glimshe•4m 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.

Show HN: Watch bots interact with an SSH honeypot in real time

https://honeypotlive.cc/
75•tusksm•3h ago•29 comments

Show HN: Explore the Workspaces of Modern Creators

https://workspaces.xyz/
24•ryangilbert•1h ago•20 comments

Show HN: Simulator for a custom 8-bit discreet logic computer

https://msap2.mehran.dk
10•mehrant•3d ago•1 comments

Show HN: Proton – A Pure Go, Immediate-Mode GUI Library (Zero CGO)

2•CzaxTanmay•2h ago•0 comments

Show HN: Clx – Compile Lua to Native Executables Through C++20

https://github.com/samyeyo/clx
132•_samt_•6d ago•32 comments

Show HN: DSA View View – A TypeScript runtime visualizer for algorithms

https://dsa-view-view.vercel.app/
3•nyaomaru•3h ago•1 comments

Show HN: Crux, a personal AI on your computer you can reach from anywhere

https://qunt.in
3•parker-nyx•3h ago•2 comments

Show HN: Mojibake – A low-level Unicode library written in C

https://mojibake.zaerl.com/
72•program•18h ago•22 comments

Show HN: Wolbarg – Local-first shared memory for AI agents using SQLite

https://wolbarg.com/blog/why-sqlite-is-enough-for-local-ai-agent-memory
3•atharvmunde•3h ago•0 comments

Show HN: Leaves – A text-UI disk usage treemap visualizer

https://github.com/patonw/leaves
86•patonw•1d ago•25 comments

Show HN: Hearth, an open-source local AI that runs your PC (files, apps, voice)

https://github.com/0pen-Sourcer/Hearth
2•SwagKing•3h ago•0 comments

Show HN: Notvex – encrypted local-first notes with SQLCipher and XChaCha20

https://github.com/GFrancV/notvex
2•GFrancV•5h ago•0 comments

Show HN: I made a Strava for logging degen trades on WSB

https://topyolo.com/
2•dignaga69•5h ago•0 comments

Show HN: BambooGrid – Open-source web UI for power grid modeling and power flow

https://bamboo.kickstage.com
32•soaringmonchi•1d ago•12 comments

Show HN: Be the ChatBOT

https://bethechatbot.com/
47•keito•22h ago•22 comments

Show HN: Libretto PR agents – Automatically fix failing playwright scripts

https://libretto.sh/debug-agents
20•muchael•21h ago•4 comments

Show HN: Firefox in WebAssembly

https://developer.puter.com/labs/firefox-wasm/
255•coolelectronics•1d ago•126 comments

Show HN: I've built a words game based on binary search

https://hilogame.cc/
48•ludovicianul•1d ago•61 comments

Show HN: A modern port of Linux to a ten-year-old QWERTY phone

42•tmzt•1d ago•12 comments

Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

https://github.com/welcome-to-the-sunny-side/misa77
159•nonadhocproblem•2d ago•48 comments

Show HN: QBasic Gorillas (Repeeled)

https://gameswithtony.com/gorillas/
27•TonyAlicea10•1d ago•25 comments

Show HN: Galois connections for composable numeric casts in Rust

https://github.com/cmk/connections
30•partialsolve•1d ago•3 comments

Show HN: Deadwire-HTTPD A triple-threaded x86-64 assembly static server

https://github.com/Deadbytes101/DEADWIRE-HTTPD
4•lexsandra56•8h ago•0 comments

Show HN: One More Letter

https://playonemoreletter.com/
85•hmate9•1d ago•57 comments

Show HN: I built TrackMyMetro, a fast, ad-free metro router for India

https://trackmymetro.com
3•HelloShiv•3h ago•0 comments

Show HN: Algotrek – Algorithms visualized, problem shape shifting and a tutor

https://app.algotrek.io
12•nyggy•1d ago•4 comments

Show HN: Sentinel – open-source QA agent that reads your code before it clicks

https://blog.simbastack.com/announcing-sentinel/
15•asenna•1d ago•4 comments

Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop

https://github.com/clawkwork/clawk
223•celrenheit•4d ago•156 comments

Show HN: Low-latency local LLM runner via OpenJDK Panama FFM (Java 22)

https://github.com/projectargus-cc/libargus.cc
38•KingJoker•3d ago•9 comments

Show HN: Opening lines of famous literary works

https://www.verbaprima.com/
178•plicerin•3d ago•104 comments