Jump to content



0

Any good XP-friendly 65xx assemblers/disassemblers?


6 replies to this topic

#1 Cootster OFFLINE  

Cootster

    Stargunner

  • 1,017 posts

Posted Fri Apr 9, 2004 6:22 PM

My computer doesn't like console mode . . . So I can't run any of the nifty little programming tools . . . :(

So, are there any 6502 assemblers for XP?

ALternatively, just recommend a good DOS emu that's compatible with DASM/5200Basic/etc . . .

#2 Galaga_Freak OFFLINE  

Galaga_Freak

    Chopper Commander

  • 179 posts
  • Location:St. Louis

Posted Fri Apr 9, 2004 7:59 PM

What are you doing to get dasm to not work in XP? I only ask because I am currently doing all my development in XP Pro and haven't had any problems.

Does it just crash or what?

#3 Cootster OFFLINE  

Cootster

    Stargunner

  • 1,017 posts

Posted Fri Apr 9, 2004 8:46 PM

I click, and the console window won't stay open long enough for me to read the options . . .

#4 masterful gamer OFFLINE  

masterful gamer

    Combat Commando

  • 2 posts

Posted Fri Apr 9, 2004 9:10 PM

I have the exact same problem with running DOS programs in XP. I open it and about a second later it closes itself. I guess that's what happens when you exclude a real DOS-prompt from Windows,

#5 Galaga_Freak OFFLINE  

Galaga_Freak

    Chopper Commander

  • 179 posts
  • Location:St. Louis

Posted Fri Apr 9, 2004 9:40 PM

Xp does have a dos (like) prompt, it just doesnt stay open when dos apps are run from explorer.

Try Start->run->type cmd

Or double click on C:WINDOWSsystem32cmd.exe

Unless this doesnt work on XP home?

#6 Andrew Davie OFFLINE  

Andrew Davie

    Stargunner

  • 1,314 posts
  • Location:Tasmania

Posted Fri Apr 9, 2004 9:51 PM

Cootster said:

My computer doesn't like console mode . . . So I can't run any of the nifty little programming tools . . . :(

So, are there any 6502 assemblers for XP?  

ALternatively, just recommend a good DOS emu that's compatible with DASM/5200Basic/etc . . .


DASM is not run by clicking on it!

You need to pass it parameters, such as the name of the file to assemble, and the type of output, and the output filename.

You run DASM in a command-line environment, or from a makefile (which runs it from a command-line environment anyway).

Please review the tutorials; I'm sure they have explained this. In any case, from XP you need to go Start/Run.. cmd
You should then be in a command-line 'shell'. Navigate to where the DASM program resides (and if you don't know how to navigate, you really need to look up how DOS works) and then just type dasm

That should cause DASM to print out a list of its options, and some data about its version number. You'll need to pass the correct parameters to it to get it to assemble your file (again, all explained in the tutorials).

Cheers
A

#7 Jedd OFFLINE  

Jedd

    Star Raider

  • 68 posts
  • Location:Cali

Posted Sat Apr 10, 2004 1:32 AM

Yeah it's all really confusing at first, but once you get it, everything makes sense. I thought for a while that my computer had problems, but it turns out i just had no clue what i was doing.

On my comp, you need to go into a folder from Terminal (same thing as DOS prompt) that has dasm, macro.h, vcs.h, and the file you want to assemble. You can get there using cd command in Dos. Then enter this line (assuming the file you want to assemble is test.asm):

./dasm test.asm -f3 -v5 -otest.bin

That will create a new binary file called test.bin which you can run from Stella or another emu.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users