Skip to content

ltriant/atari2600

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atari2600

An emulator for the Atari 2600.

The goal of this is to be able to play a couple of key games that have sentimental value to me, rather than attempting to be a highly accurate emulator that can play the vast library of games available. For that, there's Stella.

TODO

This is still in progress. It can play games, but it's still got problems.

  1. Docs (this is great)
  2. 6507 CPU (rip out the interrupts from my 6502)
  3. Basic memory map (13-bit address bus, RAM, and cartridge ROM)
  4. SDL integration
  5. Basic TIA frame timing
  6. Playfield rendering
  7. Missle graphics
  8. Ball graphics
  9. Player graphics
  10. Horizontal positioning and HMOVE
  11. Graphics delay on LRHB
  12. Vertical delay
  13. Collision flags
  14. Fix frame timing
  15. RIOT chip (MOS 6532) for peripherals
  16. Fix small horizontal position bugs
  17. Audio (see this)
  18. ..
  19. Adventure time!

Building and Runnning

$ brew install sdl2
$ cargo build --release
$ target/release/atari2600 roms/Pitfall.a26

Console Buttons

Console Switch Keyboard Button
Game Select F1
Game Reset F2
Color Toggle F3

Joystick 0 Keys

Joystick Button Keyboard Button
Up W
Left A
Down S
Right D
Fire N

References

These projects helped me understand a lot when the docs weren't clear enough.