CHR-ROM in joker21's nesprogramming tutorial

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
Laserbeak43
Posts: 188
Joined: Fri Sep 21, 2007 4:31 pm
Contact:

CHR-ROM in joker21's nesprogramming tutorial

Post by Laserbeak43 »

hi, i'm taking the tutorial at http://www.neshq.com/6502program/nesprogram.txt by joker21.
in the section named "adding CHR-ROM" you're told how to code chr.rom but not how to actually create it.
am i missing something? is he telling me to use another doc?

Code: Select all


C:\nesasm\sprites>nesasm babyrom.asm
NES Assembler (v2.51)

pass 1
#[1]   babyrom.asm
   34  02:0000                    .incbin "test.chr"      ;gotta be 8192 long
       Can not open file!
# 1 error(s)

Noob sticky!!
Please document this part of the NESdevWiki!! XD
YOU NEED A RETROMACHINESHOP!!
Celius
Posts: 2159
Joined: Sun Jun 05, 2005 2:04 pm
Location: Minneapolis, Minnesota, United States
Contact:

Post by Celius »

I'm not sure what you mean exactly. That error looks like you don't have a file by the name of "test.chr". If you don't have a file named that, you have to create one in YY-CHR or any tile editor that supports NES graphics format. And it has to be 8k. I don't know if that's what you're wondering about.
User avatar
Laserbeak43
Posts: 188
Joined: Fri Sep 21, 2007 4:31 pm
Contact:

Post by Laserbeak43 »

Celius wrote:I'm not sure what you mean exactly. That error looks like you don't have a file by the name of "test.chr". If you don't have a file named that, you have to create one in YY-CHR or any tile editor that supports NES graphics format. And it has to be 8k. I don't know if that's what you're wondering about.
yeah that's what i was asking about. it's that easy hah? cool. i'll search for yy-chr

thanks
Noob sticky!!
Please document this part of the NESdevWiki!! XD
YOU NEED A RETROMACHINESHOP!!
Post Reply