NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode


Subjectnametables. again.  
Posted byllamaX
Posted on6/24/04 06:58 AM
From IP68.18.219.24  



so... i'm using the pin8 NES tools, which are pretty nice :) and i just generated a nametable for my background using 8name.

so... how do i utilize this new .nam file in my code? i havent seen that info anywhere yet.

thanks.

~ kevin
nobody expects the Spanish Inquisition


SubjectRe: nametables. again. new  
Posted bypulper
Posted on6/24/04 4:44 PM
From IP132.241.64.101  



Just put a label include it as a binary file at the end like this:


mytable:
.incbin "newtable.nam"


Then you can use the label mytable in your main code to refer to the start of your nametable data whenever you need to. For a complete tutorial, go to the main page, and there is an offsite tutorial link done by Michael Martin. I found his "loading large nametables" section most helpful (I think its day 23 or something).


-Pulper


Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo