It is currently Sun Oct 22, 2017 4:02 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jul 09, 2013 5:26 pm 
Offline
User avatar

Joined: Fri Jun 28, 2013 11:15 pm
Posts: 14
So, I tried following the instructions at http://forums.nesdev.com/viewtopic.php?t=6530, but I run into a strange problem.

After generating the .nsf file, I added it to my project, and the game didn't load properly. I went to the debugger, and realized that the nsf file had $2000 bytes of zeroes preceding it. I removed the zeroes in a hex editor, but it didn't work, because now the game just blasts white noise (yet is playable). Is there something I am missing?

Here is my nsf.cfg file:
Code:
MEMORY {
            ZP:    start = $20,    size = $D0,    type = rw, file = "";
            RAM:    start = $500,    size = $200,    type = rw, file = "";
            HDR:    start = $7F80,    size = $80,    type = ro, file = %O;
            PRG:    start = $8000,    size = $40000,    type = rw, file = %O;
       }

SEGMENTS {
            ZEROPAGE:    load = ZP,  type = zp;
            BSS:       load = RAM, type = bss, define = yes;
            CODE:       load = PRG, type = rw, start = $A000;
         }


I loaded it at $A000, init'd it at $A000, and played it at $A003

Thanks in advance.

_________________
Why are they called urine cakes if you're NOT supposed to eat them?


Top
 Profile  
 
PostPosted: Tue Jul 09, 2013 6:46 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5732
Location: Canada
I created a more up-to-date guide here:
http://famitracker.com/forum/posts.php?page=1&id=3681

For the newer drivers, you'll probably want to add the following before you include driver.s:
Code:
RELOCATE_MUSIC = 1


Other than that, it should be straightforward unless there's bankswitching involved.


Top
 Profile  
 
PostPosted: Tue Jul 09, 2013 9:55 pm 
Offline
User avatar

Joined: Fri Jun 28, 2013 11:15 pm
Posts: 14
rainwarrior wrote:
I created a more up-to-date guide here:
http://famitracker.com/forum/posts.php?page=1&id=3681


Hmm... that link doesn't work for me.

_________________
Why are they called urine cakes if you're NOT supposed to eat them?


Top
 Profile  
 
PostPosted: Tue Jul 09, 2013 10:22 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5732
Location: Canada
I think famitracker.com has been having some problems, but try again later, it should load eventually.


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: lazigamer and 6 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:  
Powered by phpBB® Forum Software © phpBB Group