6502 Assembly programming for the Atari 800 & 5200

The early Atari games consoles weren't a true 6502, but by the time of the Atari 5200 things had gotten pretty good!

The Atari 800 and 5200 are basically the same machine, and we can write games that work on both pretty easilly... in fact the differences are INTENTIONAL.. they didn't want games to work on both the computer and console, as they were different operating companies, so the address of the sound and graphics chips were moved to stop the games working!
We'll be covering the Atari 5200 console, and Atari 800 home computer in these tutorials.
Atari 5200 Atari 800
Cpu 1.79 mhz 6502
1mhz 65C02
Ram 16k  48k
Resolution 320x200 @ 2 color
160x200 @ 4 color
320x200 @ 2 color
160x200 @ 4 color
Sound 4 channel POKEY 4 channel POKEY

Differences between the Atari 800 and 5200
The Atari 800 and 5200 have some differences, The GTIA (graphics) and POKEY (sound and io)  are at different addreses, also the default cartridge base address and size are different.
The 800 cartridges are 8K, the 5200 has 32k ones.


Atari 5200 Atari 800
Cart ROM $4000 $A000
GTIA $C000 $D000
POKEY $E800 $D200

Atari 800 / 5200 Palette

 xF  0F  1F  2F  3F  4F  5F  6F  7F  8F  9F  AF  BF  CF  DF  EF  FF
x8 08 18 28 38 48 58 68 78 88 98 A8 B8 C8 D8 E8 F8
x0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0