This shows you the differences between two versions of the page.
cc65:atari_2600 [2010-06-03 15:33] polluks typo |
cc65:atari_2600 [2010-07-11 12:53] (current) uz Headlines |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Atari 2600 ===== | + | ====== Atari 2600 ====== |
For a machine with only 128 bytes of RAM for its data //and// stack, programming it using any language other than assembly is not very practical. Therefore, this article will forgo any discussion on using [[cc65]] to build Atari 2600 projects and focus on [[ca65]]. | For a machine with only 128 bytes of RAM for its data //and// stack, programming it using any language other than assembly is not very practical. Therefore, this article will forgo any discussion on using [[cc65]] to build Atari 2600 projects and focus on [[ca65]]. | ||
Line 6: | Line 6: | ||
- | ==== Linker config file ==== | + | ===== Linker config file ===== |
Create a file named ''atari2600.cfg'' and place it in the same directory as your project. | Create a file named ''atari2600.cfg'' and place it in the same directory as your project. | ||
Line 34: | Line 34: | ||
- | ==== Makefile ==== | + | ===== Makefile ===== |
Place this Makefile into your project directory. This Makefile will scan all directories in ''SOURCE'' (by default, the current directory only). All ''.s'' files found will be assembled and linked to create the output, which by default has the same name as the project directory (plus the .bin extension). | Place this Makefile into your project directory. This Makefile will scan all directories in ''SOURCE'' (by default, the current directory only). All ''.s'' files found will be assembled and linked to create the output, which by default has the same name as the project directory (plus the .bin extension). |