Problem with nesasm.exe

Let's talk about anything related to the 6502 microprocessor.
Post Reply
Big_Nose
Posts: 3
Joined: 22 Mar 2006

Problem with nesasm.exe

Post by Big_Nose »

How do I run nesasm.exe? Everytime I click run whenever it says "Do you want to run this application?" I clicked the run button and it didn't do anything. Please help me.
coredump
Posts: 44
Joined: 09 Mar 2004
Location: Bristol, UK
Contact:

Post by coredump »

I havn't used 'nesasm.exe' myself, but it looks like it's a console application, not a GUI application. This means you'll have to run it from a command prompt window. Open a command prompt, then use 'cd' to navigate to the directory where 'nesasm.exe' is located, then type 'nesasm' and see what happens. Most likely, it'll tell you the correct syntax for running 'nesasm' on the command line.

If this works, but you don't understand the message you get fron 'nesasm', maybe you could post the message here and see if anyone can advise further.
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Post by BitWise »

Also be aware that Windows XP SP2 removed the ability to run older (16-bit) DOS executables.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
Big_Nose
Posts: 3
Joined: 22 Mar 2006

Post by Big_Nose »

All it says is this:
Nintendo Assembler (v.1) By Charles Doty (cdoty@doitnow.com)
Original program by J. H. Van Ornum, modified by David Michael
NESASM [-a] [-? (For Help)] infile
Now what's wrong with it?
ndru
Posts: 21
Joined: 10 Aug 2004

Post by ndru »

NESASM is an assembler for NES games, and expects you to provide NES source code as an input. Are you sure you're not looking for a NES emulator? Nestopia, Nintendulator, and FCE Ultra are good ones to try.
Big_Nose
Posts: 3
Joined: 22 Mar 2006

Post by Big_Nose »

Where can I find the Source Code for NES Games? Do I just open an NES ROM in a text editor like Notepad or what?
ndru
Posts: 21
Joined: 10 Aug 2004

Post by ndru »

NES roms consist of binary data, so opening one in a text editor will display garbage. It's unlikely that you'll be able to find the source code for commercial NES games, however many homebrew roms (try PDRoms) come with source.
Post Reply