It is currently Thu Jan 19, 2017 5:56 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Gradius II dump?
PostPosted: Sun Dec 25, 2016 5:25 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 2828
Location: Brazil
Joe wrote:
Zepper wrote:
So, it's NOT possible to dump it with Kazzo because of this extra chip/data?

It is possible. Use VRC2b.

OK. What about the mapper? The extra data is required for emulating it. Is possible to patch it, or whatever??


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Sun Dec 25, 2016 5:59 pm 
Offline

Joined: Mon Apr 01, 2013 11:17 pm
Posts: 423
If you dump it with the Kazzo, you get 126kB of the original PRG + the 2kB extra data. You can't dump the last 2kB of the original PRG with the Kazzo.

You don't need to dump the ROM to emulate the mapper, we already reverse-engineered the mapper: https://forums.nesdev.com/viewtopic.php?p=176069#p176069


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Sun Dec 25, 2016 6:05 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 5176
Location: Seattle
Fisher wrote:
Do you mean like this?
Yes.

Specifically in the case of the 16L8, "B0" and "B7" are always outputs, but other similar parts (e.g. the 16V8 in that schematic) can have them be either inputs or outputs.


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Sun Dec 25, 2016 6:27 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 2828
Location: Brazil
Joe wrote:
If you dump it with the Kazzo, you get 126kB of the original PRG + the 2kB extra data. You can't dump the last 2kB of the original PRG with the Kazzo.

You don't need to dump the ROM to emulate the mapper, we already reverse-engineered the mapper: https://forums.nesdev.com/viewtopic.php?p=176069#p176069

1. Fine, you've explained the dumped ROM data.
2. No, you must describe the mapper much like Disch' style, and assign a number to it. Other than that, I'm stuck.


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Sun Dec 25, 2016 11:09 pm 
Offline

Joined: Mon Apr 01, 2013 11:17 pm
Posts: 423
Zepper wrote:
2. No, you must describe the mapper much like Disch' style, and assign a number to it. Other than that, I'm stuck.

Code:
========================
=  Mapper CTC-04       =
========================


Example Games:
--------------------------
Gradius 2 (pirate version)


Notes:
--------------------------

This mapper is another pirate VRC2b, this time with PRG RAM and IRQs.

A mapper number hasn't been assigned to this particular board yet.


Registers:
---------------------------

Range,Mask:   $7000-EFFF, $F003

$7000-$7003:  [.... ....]   Reset IRQ counter
$8000-$8003:  [...P PPPP]   Same as VRC2b (PRG select 0)
$9000-$9003:  [.... ...M]   Same as VRC2b (mirroring)
$A000-$A003:  [...P PPPP]   Same as VRC2b (PRG select 1)
$B000-$E003:  [.... CCCC]   Same as VRC2b (CHR select)


PRG-RAM:
---------------------------
This mapper has 2kB of PRG RAM mapped to $6000-$67FF, and mirrored at
$6800-$6FFF.

It is currently unknown if the VRC2 microwire interface at $6000 affects the
RAM.


IRQ behavior:
---------------------------
The IRQ is controlled by the highest bit of a 4096-CPU-cycle counter. The
counter is always running, and there is no way to stop it. It can only be reset
to 0 by writing to $7000.

The IRQ is asserted when the counter reaches 2048. The IRQ is cleared when the
counter reaches 0, either by wrapping around (from 4095 to 0) or by writing to
$7000.


ROM patch:
---------------------------
This mapper patches the topmost 2kB of the PRG ROM by redirecting all reads in
the $F800-$FFFF range to a 2kB EPROM. For most emulators, this can be ignored.
For MAME developers, the Gradius 2 ROM underneath the patch is identical to the
official version.

Any questions?


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Sun Dec 25, 2016 11:54 pm 
Offline

Joined: Mon Dec 12, 2011 8:15 pm
Posts: 230
Joe wrote:
Zepper wrote:
2. No, you must describe the mapper much like Disch' style, and assign a number to it. Other than that, I'm stuck.

Code:
========================
=  Mapper CTC-04       =
========================


Example Games:
--------------------------
Gradius 2 (pirate version)


Notes:
--------------------------

This mapper is another pirate VRC2b, this time with PRG RAM and IRQs.

A mapper number hasn't been assigned to this particular board yet.


Registers:
---------------------------

Range,Mask:   $7000-EFFF, $F003

$7000-$7003:  [.... ....]   Reset IRQ counter
$8000-$8003:  [...P PPPP]   Same as VRC2b (PRG select 0)
$9000-$9003:  [.... ...M]   Same as VRC2b (mirroring)
$A000-$A003:  [...P PPPP]   Same as VRC2b (PRG select 1)
$B000-$E003:  [.... CCCC]   Same as VRC2b (CHR select)


PRG-RAM:
---------------------------
This mapper has 2kB of PRG RAM mapped to $6000-$67FF, and mirrored at
$6800-$6FFF.

It is currently unknown if the VRC2 microwire interface at $6000 affects the
RAM.


IRQ behavior:
---------------------------
The IRQ is controlled by the highest bit of a 4096-CPU-cycle counter. The
counter is always running, and there is no way to stop it. It can only be reset
to 0 by writing to $7000.

The IRQ is asserted when the counter reaches 2048. The IRQ is cleared when the
counter reaches 0, either by wrapping around (from 4095 to 0) or by writing to
$7000.


ROM patch:
---------------------------
This mapper patches the topmost 2kB of the PRG ROM by redirecting all reads in
the $F800-$FFFF range to a 2kB EPROM. For most emulators, this can be ignored.
For MAME developers, the Gradius 2 ROM underneath the patch is identical to the
official version.

Any questions?

Great Master!!!
Can you help me take a look at this.
Akumajou Special - Boku Dracula-kun (J) [p1][t1] cart.
this rom in goodnes,pcb in this post.


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Mon Dec 26, 2016 12:31 am 
Offline

Joined: Mon Apr 01, 2013 11:17 pm
Posts: 423
zxbdragon wrote:
Can you help me take a look at this.
Akumajou Special - Boku Dracula-kun (J) [p1][t1] cart.
this rom in goodnes,pcb in this post.

Can you trace the connections on the PCB, or take a picture like this with the chips removed?

Can you dump the PAL16L8? You can connect it to an EEPROM programmer like this to dump it.

With the PCB traces and PAL16L8 dump, I can tell you how the IRQ works.


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Mon Dec 26, 2016 1:58 am 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 202
Location: -29.794229 -55.795374
Well, sorry to kidnap the thread :-(
Zxbdragon, mine is a little different, but I think it is the same circuit.
It's a 72 pin cartridge with a CIC stun circuit.
Here is a quick and dirty pic:
Attachment:
File comment: Kid Drac
20161226_064853.jpg
20161226_064853.jpg [ 570.05 KiB | Viewed 225 times ]

I plan to take it apart and post more (and better) pics soon.
Should I open a new thread?


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Mon Dec 26, 2016 2:22 am 
Offline

Joined: Mon Dec 12, 2011 8:15 pm
Posts: 230
Fisher wrote:
Well, sorry to kidnap the thread :-(
Zxbdragon, mine is a little different, but I think it is the same circuit.
It's a 72 pin cartridge with a CIC stun circuit.
Here is a quick and dirty pic:
Attachment:
20161226_064853.jpg

I plan to take it apart and post more (and better) pics soon.
Should I open a new thread?


IRQ Should be the same.
The IRQ, bothering me for five years


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Mon Dec 26, 2016 2:23 am 
Offline

Joined: Mon Dec 12, 2011 8:15 pm
Posts: 230
Fisher wrote:
Well, sorry to kidnap the thread :-(
Zxbdragon, mine is a little different, but I think it is the same circuit.
It's a 72 pin cartridge with a CIC stun circuit.
Here is a quick and dirty pic:
Attachment:
20161226_064853.jpg

I plan to take it apart and post more (and better) pics soon.
Should I open a new thread?


open a new thread!!


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Mon Dec 26, 2016 11:56 am 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 202
Location: -29.794229 -55.795374
New thread created: viewtopic.php?f=9&t=15302
Again, sorry for kidnaping this one.

If someone wish to test something in one of these boards, just do a PRG ROM, preferably using the original CHR's for anything you want to show on screen and I can run the program on the board.


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Sun Jan 01, 2017 2:52 pm 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 202
Location: -29.794229 -55.795374
Sorry to post again, but does your version have this status bar bug?
https://www.youtube.com/watch?v=x1Dpdv9KTlg&t=54s


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Sun Jan 01, 2017 3:19 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 2828
Location: Brazil
Fisher wrote:
Sorry to post again, but does your version have this status bar bug?
https://www.youtube.com/watch?v=x1Dpdv9KTlg&t=54s

Nope.


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Mon Jan 02, 2017 3:01 am 
Offline

Joined: Mon Dec 12, 2011 8:15 pm
Posts: 230
Fisher wrote:
Sorry to post again, but does your version have this status bar bug?
https://www.youtube.com/watch?v=x1Dpdv9KTlg&t=54s


You are using the original FC or NES?


Top
 Profile  
 
 Post subject: Re: Gradius II dump?
PostPosted: Mon Jan 02, 2017 8:35 am 
Offline
User avatar

Joined: Sat Jul 04, 2015 9:58 am
Posts: 202
Location: -29.794229 -55.795374
I was using a clone.
It has ua6547 and ua6548 discrete chips.
It's just like this one.
By the way, I solved this problem by adding a circuit suggested by Lidnariq.
I need to test the b + select cheat I saw in the other thread.
Great cheat!! Makes very easy to get the weapons!!
I did not know that. Thanks Zepper!!


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: Bing [Bot] and 3 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