NESASM3 problem

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
User avatar
log in
Posts: 72
Joined: Tue Jun 24, 2008 1:06 pm
Location: neverland

NESASM3 problem

Post by log in »

I have a couple of codes written that i would like to try out,but i can't get my codes to work with NESASM3 the only thing i get is a black screen with comments that its not recognized as a program or batchfile :evil:

Its really driving me crazy :x

Does somebody have an idea what im doing wrong? Or now some other Nesasm clone,so i can see results in the fceuxd sp
im a newbie,lets see how far i can get
Celius
Posts: 2159
Joined: Sun Jun 05, 2005 2:04 pm
Location: Minneapolis, Minnesota, United States
Contact:

Post by Celius »

Maybe try drag the asm file icon on top of the program's icon. That might work.
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

Heh, I get you're not from the days of DOS, right? That message means that the thing you typed (expecting to call the assembler) was not recognized as a valid command, and that no program was found in the location you specified.

You could do what Celius said, but that way you won't be able to see any error messages that the assembler may report back, making it impossible for you to identify any problems with your code. An easy solution is to place all the stuff (the assembler and the file with your code) in the same folder. Then, create a text file (with notepad or whatever) in that same folder, called "assemble.bat" (make sure the name ends in BAT, don't let notepad add a TXT to the end of it!), and type the following in it:

Code: Select all

nesasm code.asm
pause
I'm assuming that the assembler is called "nesasm.exe" and that your program is in a file called "code.asm", change those to your actual filenames. Anyway, when you double click this .bat file, it will have nesasm assemble the game, and the "pause" command will prevent the prompt window from disappearing right away (you have to press a key before it goes away). That will allow you to read any messages that the assembler might have for you.
Post Reply