Making roms with DASM

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
XST1
Posts: 2
Joined: Sat Nov 20, 2004 7:19 pm

Making roms with DASM

Post by XST1 » Sat Nov 20, 2004 7:25 pm

I'd like to write my NES roms with DASM from now on.
Just for testing purposes, I obtained a small nes demo written from DASM, but I do not know how to assemble it specifically targeted for the NES. Anyone have any ideas of what parameters to use etc.? Thanks.

User avatar
Memblers
Site Admin
Posts: 3877
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers » Sat Nov 20, 2004 7:42 pm

There isn't a way to specifically target NES. You just have to get it to make a raw binary (if it doesn't by default, there should be a command-line option).

Then you'll need to either put the iNES header in your source, or copy it onto the rom afterwards.

It's been a long time since I used DASM, I can't remember how everything worked though.

XST1
Posts: 2
Joined: Sat Nov 20, 2004 7:19 pm

Post by XST1 » Sat Nov 20, 2004 8:19 pm

Memblers wrote:There isn't a way to specifically target NES. You just have to get it to make a raw binary (if it doesn't by default, there should be a command-line option).

Then you'll need to either put the iNES header in your source, or copy it onto the rom afterwards.

It's been a long time since I used DASM, I can't remember how everything worked though.
When you say copy it onto the rom afterwords, what should i use to do that?

tepples
Posts: 22049
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples » Sat Nov 20, 2004 8:22 pm

copy /b ineshead.bin+prg.bin+chr.bin rom.nes

Post Reply