I'm thinking of start playing with a 6502 emu in actionscript (Flash). I don't plan on actually starting until I complete my Chip8 emulator and come up with a better/faster display mode (getting there), but I'm starting to wonder about the best way to go.
I'd like to program an Apple II emu since I still own the actual machine (so mad nostalgia bonus), but I think it may be still a little outside of my league.
I'm thinking that maybe an Atari emu would be a good stepping stone, since its processor is apparently a simpler version of the 6502. Granted, I'd have to emulate the VCS which has nothing to do with the Apple II, so there would be some specific development anyway.
I'm not worried about sound, because there is not (so far) any way to precisely control sound in Flash. Graphics would be the biggest issue but I think, in the worst case, I can pull off text mode for the Apple II and a monochrome display (useless for most games) in the Atari. The next version of Flash may have pixel manipulation, so if I have the code ready it would be an easy switch.
The other consideration is if I should port somebody's core or just write from scratch. The latter would take more time, be poorly optimized at first, but would be ultimately more gratifying and fun. I guess the 6502 is documented enough to allow me to write my own stuff.
Well, so there it is... what do you think?
I know the world doesn't need another Atari or Apple emu, and that Flash is really not a language for emus (yet), but it's just for fun :-)
[download a life]