Gradius II dump?

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderator: Moderators

User avatar
Zepper
Formerly Fx3
Posts: 3262
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Re: Gradius II dump?

Post by Zepper »

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??
Joe
Posts: 649
Joined: Mon Apr 01, 2013 11:17 pm

Re: Gradius II dump?

Post by Joe »

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 ... 69#p176069
lidnariq
Posts: 11429
Joined: Sun Apr 13, 2008 11:12 am

Re: Gradius II dump?

Post by lidnariq »

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.
User avatar
Zepper
Formerly Fx3
Posts: 3262
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Re: Gradius II dump?

Post by Zepper »

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 ... 69#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.
Joe
Posts: 649
Joined: Mon Apr 01, 2013 11:17 pm

Re: Gradius II dump?

Post by Joe »

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: Select all

========================
=  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?
zxbdragon
Posts: 498
Joined: Mon Dec 12, 2011 8:15 pm

Re: Gradius II dump?

Post by zxbdragon »

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: Select all

========================
=  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.
Joe
Posts: 649
Joined: Mon Apr 01, 2013 11:17 pm

Re: Gradius II dump?

Post by Joe »

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.
User avatar
Fisher
Posts: 1249
Joined: Sat Jul 04, 2015 9:58 am
Location: -29.794229 -55.795374

Re: Gradius II dump?

Post by Fisher »

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:
Kid Drac
Kid Drac
I plan to take it apart and post more (and better) pics soon.
Should I open a new thread?
zxbdragon
Posts: 498
Joined: Mon Dec 12, 2011 8:15 pm

Re: Gradius II dump?

Post by zxbdragon »

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:
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
zxbdragon
Posts: 498
Joined: Mon Dec 12, 2011 8:15 pm

Re: Gradius II dump?

Post by zxbdragon »

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:
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!!
User avatar
Fisher
Posts: 1249
Joined: Sat Jul 04, 2015 9:58 am
Location: -29.794229 -55.795374

Re: Gradius II dump?

Post by Fisher »

New thread created: https://forums.nesdev.com/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.
User avatar
Fisher
Posts: 1249
Joined: Sat Jul 04, 2015 9:58 am
Location: -29.794229 -55.795374

Re: Gradius II dump?

Post by Fisher »

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

Re: Gradius II dump?

Post by Zepper »

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.
zxbdragon
Posts: 498
Joined: Mon Dec 12, 2011 8:15 pm

Re: Gradius II dump?

Post by zxbdragon »

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?
User avatar
Fisher
Posts: 1249
Joined: Sat Jul 04, 2015 9:58 am
Location: -29.794229 -55.795374

Re: Gradius II dump?

Post by Fisher »

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!!
Post Reply