3 ms·
It's also shockingly easy to write an 8080 emulator, on which you can run CP/M complete with a C compiler.
by swiley 10y ago
It's also shockingly easy to write an 8080 emulator, on which you can run CP/M complete with a C compiler.
- WorldMaker 10y agoThe MOS 6502 also has quite easy to emulate opcodes. Hence why it is perhaps unsurprising to find one even embedded in an audio library as in the article here. When I had to write some 6502 code for a lab class in college I didn't like the debugging options in most of the emulators I found and did write my own mini-emulator in JS (or maybe it was PHP; it has been a while) to debug some of the specific parts of code I was working on in that lab class.
- happycube 10y agoI wrote a logic-based 6502 emulator using bitfields a few years ago - less than 500 lines of C. With some patches it became able to run Apple I BASIC... https://github.com/happycube/chadslab/blob/master/m6502/m6502.c https://github.com/happycube/chadslab/blob/master/m6502/m650...