Jump to content
IGNORED

Can one times ein kleins program in asm write for the atari2600?


Recommended Posts

readme.txt in that zip file explains how to use dasm to compile the code. Basically use:


dasm collect.asm -f3 -v0 -scollect.sym -lcollect.lst -ocollect.bin



or at a minimum use this so you don't have to rename a.out (the default name for the generated program) to something else.
dasm collect.asm -f3 -ocollect.bin


Full contents of that readme.txt file:

Collect is a simple Atari 2600 game where the objective is
to collect randomly positioned boxes.
 
Use dasm to compile the program.  Dasm can be found here:
http://dasm-dillon.sourceforge.net
 
The command used to compile is:
dasm collect.asm -f3 -v0 -scollect.sym -lcollect.lst -ocollect.bin
 
 
the options after the source file are:
    -f3 sets output format to 3, RAW.
 
    -v0 sets verboseness.  Values are 0-4, see dasm documentation.
 
    -s requests a symbol dump, saved to specified file.  Stella uses the symbol
dump in order to show your variable names in Stella’s debugger.  The
*.sym filename must match the *.bin filename for this to work.
 
    -l requests a detailed listing, saved to specified file.
 
    -o specifies the output file.  If not specified, the output file will be a.out
 
Besides the source file, only option -f3 is required to build a Atari 2600 program.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...