6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 3:25 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Jun 20, 2010 7:56 pm 
Offline

Joined: Sun Jun 20, 2010 6:31 pm
Posts: 7
Shamefully n00b question ahead.

If I wanted to make a program that ran on a NES (hardware or emulator), does it matter which assembler to use? Would all of them, knowing which format I need to write the NES rom in, be able to produce the same thing?

I suspect the answer is yes, but being unfamiliar with 6502 assembly programming tools I don't want to pick one and find out it doesn't do what I want.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jun 20, 2010 9:29 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
NES emulators use a special file format that supports bank switched ROM images. A standard 6502 assembler won't generate the right format file, you'll need one that understands how to build the header at the start of the file.

There is some information on NEW tools here http://nesdev.parodius.com/

_________________
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 23, 2011 5:57 pm 
Offline

Joined: Fri Oct 17, 2008 5:48 pm
Posts: 4
I've had a lot of success using asm6 for NES programming, and it lends itself well to other 6502 platforms as well.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Mar 25, 2011 9:56 pm 
Offline

Joined: Tue Apr 20, 2010 4:02 pm
Posts: 34
I'm using MADS, and until now, it was able to generate binary file compatible with any platform was needed.

You just need to know the format structure.

Specialized assembler would safe you a little (really a little) work.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: