|
|
|
|
|
by sitkack
765 days ago
|
|
This post has been hanging out with no comments for ages. I was like, I'll skim it later. > 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. |
|
https://hackaday.com/2023/08/27/linux-on-a-commodore-64/