Jump to content
IGNORED

Please help with use for DASM


leearco

Recommended Posts

Obviously Im a n00b at this 2600 programming stuff. (Been reading through A Davies lessons ...again).

I just cant get Dasm to work properly. could some one please explain, maybe short guide on how to use this? including proper command prompt line? maybe a screen shot of your dos prompt? please?

 

basically what i understand is

1. you have a .txt file eg. test.txt (this is your source code)

2. you need dasm to assemble the code (so you can play on an emulater)

3. this is what happens to me - I type(in dos) "dasm test.txt"

4. it produces a.out file and test.? file but both are empty

 

I tried with the switches eg -l -f3 -v5 as well

 

so how do you get an *.asm file from a *.txt file?

 

Lee

Link to comment
Share on other sites

basically what i understand is

1. you have a .txt file eg. test.txt (this is your source code)

That should be your .asm file.

 

I tried with the switches eg -l  -f3  -v5 as well

:idea: Try this (assuming game.asm is your source code file):

dasm game.asm -f3 -v3 -ltest.lst -otest.bin

 

And you should get a binary called test.bin.

Link to comment
Share on other sites

QUOTE(leearco @ Tue Jun 14, 2005 6:41 AM)

basically what i understand is

1. you have a .txt file eg. test.txt (this is your source code)

 

That should be your .asm file.

 

I used notepad for the text and it saves it as a *.txt file. Do I just rename it as *.asm or do I need a program that saves files as .asm?? if so which 'free' one do you recommend?

 

Lee

Link to comment
Share on other sites

QUOTE(leearco @ Tue Jun 14, 2005 6:41 AM)

basically what i understand is

1. you have a .txt file eg. test.txt (this is your source code)

 

That should be your .asm file.

 

I used notepad for the text and it saves it as a *.txt file. Do I just rename it as *.asm or do I need a program that saves files as .asm?? if so which 'free' one do you recommend?

 

Lee

874072[/snapback]

When you use notepad to save there should be a drop-box below where you type the file name that is labelled: "Save as type:"

Select "All Files" (instead of "Text") and it won't automatically append a .txt extension onto your file.

 

See the attached pic.

 

And a .asm file is just a text file (like you create in Notepad) with a .asm extension. So, yes, you can just rename it from game.txt to game.asm and it will be fine.

post-6060-1118761817_thumb.jpg

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...