← Back to context Comment by djmips 2 days ago Run it in a browser in Wine on a MAC? 3 comments djmips Reply delduca 2 days ago None of them run in a browser powered by WebAssembly. I created a 2D engine in C++20 based on SDL, in which I can use Lua to create games. Then I thought, “I’ll make a NES emulator,” so I started with its CPU, the 6502. djmips 1 day ago Have you run https://github.com/Klaus2m5/6502_65C02_functional_tests ?See also https://www.righto.com/2012/12/the-6502-overflow-flag-explai...I also note that you have the same code copy/pasted in every ALU operation which might be better expressed in one location for maintenance reasons. delduca 1 day ago Good call out. Thank you! I will give a try.
delduca 2 days ago None of them run in a browser powered by WebAssembly. I created a 2D engine in C++20 based on SDL, in which I can use Lua to create games. Then I thought, “I’ll make a NES emulator,” so I started with its CPU, the 6502. djmips 1 day ago Have you run https://github.com/Klaus2m5/6502_65C02_functional_tests ?See also https://www.righto.com/2012/12/the-6502-overflow-flag-explai...I also note that you have the same code copy/pasted in every ALU operation which might be better expressed in one location for maintenance reasons. delduca 1 day ago Good call out. Thank you! I will give a try.
djmips 1 day ago Have you run https://github.com/Klaus2m5/6502_65C02_functional_tests ?See also https://www.righto.com/2012/12/the-6502-overflow-flag-explai...I also note that you have the same code copy/pasted in every ALU operation which might be better expressed in one location for maintenance reasons. delduca 1 day ago Good call out. Thank you! I will give a try.
None of them run in a browser powered by WebAssembly. I created a 2D engine in C++20 based on SDL, in which I can use Lua to create games. Then I thought, “I’ll make a NES emulator,” so I started with its CPU, the 6502.
Have you run https://github.com/Klaus2m5/6502_65C02_functional_tests ?
See also https://www.righto.com/2012/12/the-6502-overflow-flag-explai...
I also note that you have the same code copy/pasted in every ALU operation which might be better expressed in one location for maintenance reasons.
Good call out. Thank you! I will give a try.