3/24/2024 0 Comments Genesis javascript emulatorIt was ok but the virtualization was bad for performance and I may not get away with this approach on this particular project (gotta go fast!). one add() function compatible with a set of addressing mode proxies). In my earlier GameBoy emulator, I abstracted addressing modes and instructions to factorize all the existing variations (eg. Writing all the opcode variations by hand would take weeks and be no fun at all. I need to think about a nice way to emulate all those instructions. I found a nice table with all its opcodes and this seems more manageable than the GameBoy’s Z80. The first step is to look at some documentation. I’ll start by coding the Motorola 68000 CPU (m68k). The user interface and rendering will be done in Javascript. My first choice is to write the emulator modules in C and to compile them to JS with emscripten to benefit from ASM.js optimizations. However, I’d love for this project to be rendered in the browser with a nice UI for the debugger. I won’t use Javascript to emulate the chips, it was too much trouble last time (no byte type, no unsigned type, needed to mask every computation by 0xFF…). Technically, the Genesis is renowned for its performance compared to the other game systems of its time so I will have to pay particular attention to this aspect (Boyo.js was not on the fast side).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |