Examples of how to write programs in assembly language for the Atari 2600.
-
The dasm 8-bit macro assembler to compile the code.
-
The stella emulator to run the compiled code
Debian-based systems:
apt install dasm stella
dasm <source file> [options]
stella [options] <ROM file>
# dasm
-o<name> # generate output file with name
-l<name> # generate list file with name
-s<name> # generate symbol file with name
-f<#> # output format 1 - 3 (default 1)
-v<#> # verboseness 0 - 4 (default 0)
-S # strict syntax checking
# stella
-debug # start in debug mode
When written to with any value (it will do its thing regardless of the value it is set to), the WSYNC register will wait for the leading edge of the horizontal blank.
- Atari Age info and forums.
- 8 Bit Workshop online IDE.
- Javatari online emulator.
- Programming Games for the Atari 2600 course at Udemy or Pikuma.