Jump to content
Sign in to follow this  
Inky

DASM

Recommended Posts

Forgive a little newbie programming stuff here, but I cannot for the life of me figure out how to dump the asm of Crystal Castles (cryscast.bin) to a text file using dasm. All I get are a ton of 'unrecognized mneomic' errors.... Help? Please?

Share this post


Link to post
Share on other sites

Uh, Inky? I think you may be using the wrong program for what you want to do. DASM is an assembler. You want a DISassembler like DiStella. Take the BIN of CC and disassemble it into a TXT file. Should be easy enough. (Although, a source code file can be read and altered through a text editor, right?)

Share this post


Link to post
Share on other sites

DiStella only does 2K or 4K. Crystal Castles is 16K.

 

What other options do I have available?

 

[ 04-05-2002: Message edited by: Inky ]

Share this post


Link to post
Share on other sites

Bringing this back...

 

Now I have a new problem...

 

I decided to give 5200BAS a test run through, and I downloaded DASM (the TASM link didn't work) and once again, I get mnemonic not found errors. I'm typing DASM jim.asm What am I doing wrong.

 

And this time I'm trying to assemble. :)

Share this post


Link to post
Share on other sites

If you are getting plenty of "mnemonic not found" errors, that usually means that you forgot the processor 6502 line in the source code file. It should be the first line in jim.asm, so that DASM knows what processor you want to assemble for. Also you should make the command line something like dasm jim.asm -v3 -f3 -ojim.bin to get a proper binary file.

 

 

Ciao, Eckhard Stolberg

Share this post


Link to post
Share on other sites

I did a littlesearching for tasm, and found it. I didn't notice that 5200BAS had a batch file to automatically assemble using tasm.

 

Live and learn

 

:dunce:

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...