It is currently Sun Sep 24, 2017 11:03 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue Sep 12, 2017 8:18 am 
Offline

Joined: Fri Sep 08, 2017 7:19 am
Posts: 16
Perfect- thanks! Seems obvious now. I'll try this script later tonight.


Top
 Profile  
 
PostPosted: Tue Sep 12, 2017 5:12 pm 
Offline

Joined: Fri Sep 08, 2017 7:19 am
Posts: 16
Bummer- the older GNROM script still resulted in a bad dump of 49KB for Romstar Thunder and Lightning (instead of around 161KB). I was hoping I was on to something and I'm really not sure what may be the problem. I suppose it's back to square one. Is it possible to troubleshoot what may be the issue using a hex editor on the bad dump? I have a screenshot of the top lines and can adjust the screenshot if I know where to look. As a sidenote, I'm pretty sure it's not the game as it works fine in a legitimate NES and a Retron 5 as well.


Attachments:
hex partial screen.JPG
hex partial screen.JPG [ 294.2 KiB | Viewed 131 times ]
Top
 Profile  
 
PostPosted: Tue Sep 12, 2017 5:19 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6183
Location: Seattle
What you've shown a picture of shows the second PRG bank out of 4, when you're trying to dump it.

I have no idea what's going wrong.

You could try changing cpu_rom { size_base to 0x20000 and ppu_rom { size_base to 0x8000

Beyond that ... dunno.


Top
 Profile  
 
PostPosted: Wed Sep 13, 2017 5:53 pm 
Offline

Joined: Fri Sep 08, 2017 7:19 am
Posts: 16
HOLY COW!!!!! IT WORKED!!!!!!!!!!!

Thank you a thousand times over! In case anyone ever needs to dump this game, the script that finally worked is below. I'm not sure if there are certain variations required for GNROM Mapper 66 dumps. But, I can say that at the very least- this one works for Romstar Thunder and Lightning.

board <- {
mappernum = 66,
cpu_rom = {
size_base = 0x20000, size_max = 2 * mega, banksize = 0x8000
},
ppu_rom = {
size_base = 0x8000, size_max = 0x8000, banksize = 0x2000
},
cpu_romsize = 2 * mega, cpu_banksize = 0x8000,
ppu_romsize = 2 * mega, ppu_banksize = 0x2000,
ppu_ramfind = false, vram_mirrorfind = true
};

function cpu_dump(d, pagesize, banksize) {
for (local i = 0; i < pagesize; i += 1) {
cpu_write(d, 0x8000, i << 4);
cpu_read(d, 0x8000, 0x4000);
cpu_read(d, 0xc000, 0x4000);
}
}

function ppu_dump(d, pagesize, banksize) {
for (local i = 0; i < pagesize; i += 1) {
cpu_write(d, 0x8000, i);
ppu_read(d, 0, 0x2000);
}
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 5 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:  
cron
Powered by phpBB® Forum Software © phpBB Group