Jump to content



0

"Fatal assembly error" when opening dasm?


6 replies to this topic

#1 O'Bobson OFFLINE  

O'Bobson

    Combat Commando

  • 5 posts
  • Location:London

Posted Mon Aug 2, 2010 3:56 PM

This may not be the right place and probably is very simple indeed (like that I've downloaded the wrong version. Now, that would be embarrassing), but, still...

I downloaded dasm, unzipped it and went to the Mac OSX version (I have a Mac [Version 10.6.4]). When it opened, it said (typed, whatever):

Quote

redistributable for non-profit only

DASM sourcefile [options]
-f# output format
-oname output file
-lname list file
-Lname list file, containing all passes
-sname symbol dump
-v# verboseness
-t# Symbol Table sorting preference (#1 = by address. default #0 = alphabetic)
-Dname=exp define label
-Mname=exp define label as in EQM
-Idir search directory for include and incbin
-p# max number of passes
-P# max number of passes, with less checks
Fatal assembly error: Check command-line format.
logout


[Process completed]




I have no idea what I'm doing wrong (it does this immediately on startup, I'm not trying to compile anything yet!) and it doesn't appear to me that others are getting this problem. What am I doing wrong?

#2 GroovyBee OFFLINE  

GroovyBee

    7800 Developer

  • 5,781 posts
  • Busy bee!
  • Location:North, England

Posted Mon Aug 2, 2010 3:59 PM

Why are you expecting it not to complain when you haven't given it a file to assemble?

What are you typing at the command line?

#3 O'Bobson OFFLINE  

O'Bobson

    Combat Commando

  • 5 posts
  • Location:London

Posted Mon Aug 2, 2010 4:01 PM

View PostGroovyBee, on Mon Aug 2, 2010 3:59 PM, said:

Why are you expecting it not to complain when you haven't given it a file to assemble?

What are you typing at the command line?

Absolutely nothing. It does this on startup.

#4 GroovyBee OFFLINE  

GroovyBee

    7800 Developer

  • 5,781 posts
  • Busy bee!
  • Location:North, England

Posted Mon Aug 2, 2010 4:04 PM

View PostO, on Mon Aug 2, 2010 4:01 PM, said:

Absolutely nothing. It does this on startup.

I don't use DASM on Macs only on PC. On the PC its a command line tool so I assume its the same on the Mac. In which case you need to tell it what to assemble.

#5 O'Bobson OFFLINE  

O'Bobson

    Combat Commando

  • 5 posts
  • Location:London

Posted Mon Aug 2, 2010 4:08 PM

View PostGroovyBee, on Mon Aug 2, 2010 4:04 PM, said:

View PostO, on Mon Aug 2, 2010 4:01 PM, said:

Absolutely nothing. It does this on startup.

I don't use DASM on Macs only on PC. On the PC its a command line tool so I assume its the same on the Mac. In which case you need to tell it what to assemble.

Ok, I'll try that. Thanks for your help! (if you couldn't already tell, I'm quite a newbie).

#6 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,544 posts
  • Location:Georgia, USA

Posted Mon Aug 2, 2010 9:34 PM

View PostO, on Mon Aug 2, 2010 4:08 PM, said:

View PostGroovyBee, on Mon Aug 2, 2010 4:04 PM, said:

View PostO, on Mon Aug 2, 2010 4:01 PM, said:

Absolutely nothing. It does this on startup.

I don't use DASM on Macs only on PC. On the PC its a command line tool so I assume its the same on the Mac. In which case you need to tell it what to assemble.

Ok, I'll try that. Thanks for your help! (if you couldn't already tell, I'm quite a newbie).
No worries. This is actually a common mistake with newbies. :) It would be nice to have a 6502 assembler that runs in a GUI mode, but the few I'm familiar with use a CLI (command line interface) mode, so you can't just double-click or execute the assembler-- you have to type a command line that indicates the source file to be assembled, along with any other parameters. The DASM.TXT file should give you an explanation of the different parameters that are available. One thing you need to know-- if you want to assemble a file for the Atari 2600, be sure to include -f3 in your command line, so the output file will be in the "raw" format.

Michael

#7 O'Bobson OFFLINE  

O'Bobson

    Combat Commando

  • 5 posts
  • Location:London

Posted Wed Aug 4, 2010 1:26 PM

View PostSeaGtGruff, on Mon Aug 2, 2010 9:34 PM, said:

View PostO, on Mon Aug 2, 2010 4:08 PM, said:

View PostGroovyBee, on Mon Aug 2, 2010 4:04 PM, said:

View PostO, on Mon Aug 2, 2010 4:01 PM, said:

Absolutely nothing. It does this on startup.

I don't use DASM on Macs only on PC. On the PC its a command line tool so I assume its the same on the Mac. In which case you need to tell it what to assemble.

Ok, I'll try that. Thanks for your help! (if you couldn't already tell, I'm quite a newbie).
No worries. This is actually a common mistake with newbies. :) It would be nice to have a 6502 assembler that runs in a GUI mode, but the few I'm familiar with use a CLI (command line interface) mode, so you can't just double-click or execute the assembler-- you have to type a command line that indicates the source file to be assembled, along with any other parameters. The DASM.TXT file should give you an explanation of the different parameters that are available. One thing you need to know-- if you want to assemble a file for the Atari 2600, be sure to include -f3 in your command line, so the output file will be in the "raw" format.

Michael

Sorry for replying late, but thanks for the help!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users