Jump to content
IGNORED

DASM in Linux Mint 17.3


Recommended Posts

Hello,

 

I've recently been learning Atari 2600 programming and I was reading some tutorials and it kept on saying that I needed DASM. I tried to download it and it is a Windows/Mac File only (I'm on Linux Mint 17.3). Any one know of a way around this?

 

Thanks

Edited by AtariFan2001
Link to comment
Share on other sites

The version here includes a linux build.

http://sourceforge.net/projects/dasm-dillon/



You could also download the source and build it yourself, there's a MakeFile in there.

http://sourceforge.net/projects/dasm-dillon/files/dasm-dillon/2.20.11/

After you donwload that, open up a terminal session and change into that directory. Then type the command make.

post-3056-0-45870100-1454530030_thumb.png

 

You might like to check out my tutorial as well. Collect covers writing a 2K game from scratch.

Link to comment
Share on other sites

The version here includes a linux build.

 

http://sourceforge.net/projects/dasm-dillon/

 

 

 

You could also download the source and build it yourself, there's a MakeFile in there.

 

http://sourceforge.net/projects/dasm-dillon/files/dasm-dillon/2.20.11/

 

After you donwload that, open up a terminal session and change into that directory. Then type the command make.

attachicon.gifScreen Shot 2016-02-03 at 2.06.25 PM.png

 

You might like to check out my tutorial as well. Collect covers writing a 2K game from scratch.

 

Thanks Man, It says it Made the file correctly, But how do I open it?

Link to comment
Share on other sites

It's a command line program, you run it from the terminal.

Quick way is to copy dasm to the directory your source is located at. While in the directory with your source, type the command:

./dasm game.asm -f3 -v5 -sgame.sym -lgame.lst -ogame.bin

That'll generate 3 files:

  • game.sym - symbol listing. Shows your labels, defines, etc as well as their values and whether or not they've been referenced(used in your code).
  • game.lst - detailed listing of how dasm processed your source code. It's very handy to reference this file if your code won't compile.
  • game.bin - your game

The symbol and listing are both optional so you could leave them out like this, but its better to get in the habit of creating them because they're so useful when things go wrong - and they will go wrong :)

./dasm game.asm -f3 -v5 -ogame.bin
Link to comment
Share on other sites

  • 3 months later...

Quick way is to copy dasm to the directory your source is located at

 

I would also like to point out that you can move dasm into one of your many bin directories(/bin, /usr/bin, etc.) so that you can build your source without having to move the executable into the source. Running it would be like:

dasm game.asm -f3 -v5 -ogame.bin
Edited by Gip-Gip
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...
  • Recently Browsing   0 members

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