leearco Posted June 14, 2005 Share Posted June 14, 2005 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 Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted June 14, 2005 Share Posted June 14, 2005 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 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. Quote Link to comment Share on other sites More sharing options...
leearco Posted June 14, 2005 Author Share Posted June 14, 2005 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 Quote Link to comment Share on other sites More sharing options...
vdub_bobby Posted June 14, 2005 Share Posted June 14, 2005 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. Quote Link to comment Share on other sites More sharing options...
leearco Posted June 15, 2005 Author Share Posted June 15, 2005 thanks that helped and did the trick. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.