by goldenskye on 5/12/24, 2:00 AM with 28 comments
by vertnerd on 5/12/24, 11:39 AM
This one hell of a bucket list you must have. Respect.
by userbinator on 5/12/24, 5:14 AM
by andrea76 on 5/12/24, 9:27 AM
by varispeed on 5/12/24, 10:01 AM
by sitkack on 5/12/24, 5:49 AM
> It's almost burying the lede to announce that, though, because the real meat in this entry is how the Commodore 64 manages to emulate a very different 6502-based system. That piece is "6o6," for "6502-on-6502," and is a full virtualized software NMOS 6502 CPU that runs on a 6502 CPU — which I've open-sourced too. It has full control of guest code execution, including trapping undocumented and jam opcodes, and completely abstracts all memory access, making it possible to remap addresses, intercept illegal reads or writes, or even run entirely from virtual memory. On top of that, it's complete enough to not only pass a full functional test but also virtualize itself virtualizing itself:
This is incredible! Not just from a 6502 perspective, but from an everything perspective! Amazing work.
Also, it reminded me of this "The Zilog Z80 has a Protected Mode" https://www.youtube.com/watch?v=DLSUAVPKeYk posted to hn, but got no discussion.
by cobbzilla on 5/12/24, 3:29 PM
[1] https://files.commodore.software/reference-material/books/c6...
by drpossum on 5/12/24, 8:59 AM