Full Version : MOS 6502 Emulation on an Atmel Mega32
avr >>PROJECTS (AVR) >>MOS 6502 Emulation on an Atmel Mega32


AVR_Admin- 04-24-2006
MOS 6502 Emulation on an Atmel Mega32


When Chris and I first started tossing around project ideas, I sputtered out: 'Hey! Wouldn't it be cool if we could emulate a Nintendo using some Atmel chips?' Chris replied 'Ooh, that'd be awesome, then I could play Ice Hockey and Final Fantasy 1 again!'

After looking over some documentation on the NES, we realized how impossible it was going to be to emulate not only its 6502 processing core, but also the separate Picture Processing Unit (PPU). The systems integration would have probably taken us a year to build ourselves, so we decided to scale down the project a little..

The result? 'We're going to build an Atari 2600 emulator! Yeah!!' This seemed more manageable, and we began work on it in zest, hoping to be able to relive our childhoods of playing Asteroids and Pitfall!. Once again though, we were about to realize that we bit off more than we could chew. Due to some insane synchronization constraints between the Atari's 6502 processing core and the proprietary Stella Television Interface Adapter (TIA) chip, we were pushing the limits of our poor little Atmel chips. The emulation process usually degrades one's processing capability considerably, and there just wasn't going to be enough cycles in the Stella emulator chip to render video and process input from the 6502.

Once again, we needed to adjust the bounds of our project, or else risk certain failure. Finally, we settled on the unifying element of all these systems: the MOS 6502 processor. This was the backbone of all the systems we examined, and so we figure it would be the right place to start. We've set a series of goals that increase in complexity, and plan to conquer as many of them as we can. In the short term, we want working emulation; father off on the horizon, we'd like to add in some video generation and input capabilities to be able to play Apple II games.

And so, we begin our quest to emulate one of the greatest processors ever to walk the earth.



Link: http://instruct1.cit.cornell.edu/courses/e...site/index.html


Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.