Post AhunEfR6Dz0DJHIm3c by jbqueru@fosstodon.org
(DIR) More posts by jbqueru@fosstodon.org
(DIR) Post #AhunEfR6Dz0DJHIm3c by jbqueru@fosstodon.org
2024-05-05T07:49:19Z
0 likes, 0 repeats
Hmmm. Write Z80 first, then port to 6502? Write 6502 first, then port to Z80? Write 68000 first, then port to both Z80 and 6502? Write a bytecode interpreter on both 6502 and Z80 and then code to that bytecode?I guess I'm looking for an excuse to think about writing code instead of, you know, actually writing code.
(DIR) Post #AhunEh4q7iNwOou1dg by jbqueru@fosstodon.org
2024-05-05T17:16:10Z
0 likes, 0 repeats
Replying to myself, after lots of valuable and thought-provoking inputs from the wise crowd: some bytecode interpreter might make sense.-Write once for multiple platforms.-The interpreters are reasonable to test from within their respective target environments.-The bytecode is easy to test in any modern host environment.-Having an interpreter gives me flexibility to interleave it into time-sensitive code (2600, but also CPC and ST where I like racing the beam).