Help to dump rare 82 in 1 Chinese cartridge.

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

Moderator: Moderators

flaviocaste
Posts: 16
Joined: Tue Aug 15, 2017 1:07 pm

Help to dump rare 82 in 1 Chinese cartridge.

Post by flaviocaste »

Hi, I bought the Kazzo cartridge "INL Retro" Dumper-Programmer to dump a 82 in 1 Chinese cart but I'm having trouble,
all the scripts I tested with Anago did not work, sorry for the lack of knowledge about it, it goes on Attach the photo of
the cartridge and the board. Thank you.


Game selection menu: ( youtube )

https://www.youtube.com/watch?v=uOhE7UNCNXk

Cart Photos :
IMG-20170815-WA0041[1].jpg
IMG-20170815-WA0039[1].jpg
IMG-20170815-WA0043[1].jpg
IMG-20170815-WA0045[1].jpg
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by tokumaru »

What exactly makes this cartridge "rare"? Just curious.
flaviocaste
Posts: 16
Joined: Tue Aug 15, 2017 1:07 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by flaviocaste »

tokumaru wrote:What exactly makes this cartridge "rare"? Just curious.
I played it in my childhood and spent a long time looking for a rom to download or get a cartridge, after two years I managed to find one on e-bay.
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by lidnariq »

To dump the cartridge, we need to know the same information one would need to emulate it.

Pictures of the front and back of PCB would be a good starting point. For the side with the ICs, multiple angles such that we can see what traces go to what pins would be nice. Depending, the pictures may not be good enough, and you may need to sit down with a continuity meter and figure out which pins on the small ICs in the corner go to what pins on the cartridge connector and/or large ICs.

With the parts on that board— Two 74LS174s, a 74LS139, a 74LS153, and a 74LS32—we can be assured that this is yet another one of the multicarts that support 16K/32K games and switchable mirroring.
zxbdragon
Posts: 498
Joined: Mon Dec 12, 2011 8:15 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by zxbdragon »

like mapper 63.
flaviocaste
Posts: 16
Joined: Tue Aug 15, 2017 1:07 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by flaviocaste »

lidnariq wrote:To dump the cartridge, we need to know the same information one would need to emulate it.

Pictures of the front and back of PCB would be a good starting point. For the side with the ICs, multiple angles such that we can see what traces go to what pins would be nice. Depending, the pictures may not be good enough, and you may need to sit down with a continuity meter and figure out which pins on the small ICs in the corner go to what pins on the cartridge connector and/or large ICs.

With the parts on that board— Two 74LS174s, a 74LS139, a 74LS153, and a 74LS32—we can be assured that this is yet another one of the multicarts that support 16K/32K games and switchable mirroring.
20170815_212856.jpg
20170815_212917.jpg
flaviocaste
Posts: 16
Joined: Tue Aug 15, 2017 1:07 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by flaviocaste »

zxbdragon wrote:like mapper 63.

I did not find this script to download, could give me instructions on how to do it. thank you.
zxbdragon
Posts: 498
Joined: Mon Dec 12, 2011 8:15 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by zxbdragon »

You read first 32K data and upload.
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by lidnariq »

Unfortunately, too many traces are hidden under the ICs for me to be able to deduce the function of that board from just pictures.

What I can tell:
* Only ten of the twelve bits of storage in the latches are connected
* The latches are cleared on reset
* The 74'153 is used to select between 16K/32K games and between H/V nametable layout.

If both ROMs are 1 MiB, and only ten bits are present in the banking register, then seven bits select which 16K PRG bank, one selects PRG bank size, one selects H/V nametable layout, and the one remaining one ... who knows. Possibly UNROM layout, given the 74'32.

Odds are good that you could just use a Kazoo script that was shaped something like

Code: Select all

function cpu_dump(d, pagesize, banksize) {
	for(local i = 0; i < 1024; i += 1){
		cpu_write(d, 0x8000|i, i);
		cpu_read(d, 0x8000, 16384);
	}
}
and then just have to figure out how to re-shuffle the resultant 16MiB dump to extract the actual 2 MiB of data.


Alternatively, use a continuity meter to figure out which address pins on the ICs labeled "NCN-82" connect to which pins on the small ICs.
Last edited by lidnariq on Tue Aug 15, 2017 6:58 pm, edited 2 times in total.
flaviocaste
Posts: 16
Joined: Tue Aug 15, 2017 1:07 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by flaviocaste »

zxbdragon wrote:You read first 32K data and upload.
I'm sorry but I do not know how to do it, and which script to use. thank you.
Untitled-1.jpg
zxbdragon
Posts: 498
Joined: Mon Dec 12, 2011 8:15 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by zxbdragon »

flaviocaste wrote:
zxbdragon wrote:You read first 32K data and upload.
I'm sorry but I do not know how to do it, and which script to use. thank you.
Untitled-1.jpg
cnrom.ad
flaviocaste
Posts: 16
Joined: Tue Aug 15, 2017 1:07 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by flaviocaste »

lidnariq wrote:Unfortunately, too many traces are hidden under the ICs for me to be able to deduce the function of that board from just pictures.

What I can tell:
* Only ten of the twelve bits of storage in the latches are connected
* The latches are cleared on reset
* The 74'153 is used to select between 16K/32K games and between H/V nametable layout.

If both ROMs are 1 MiB, and only ten bits are present in the banking register, then seven bits select which 16K PRG bank, one selects PRG bank size, one selects H/V nametable layout, and the one remaining one ... who knows. Possibly UNROM layout, given the 74'32.

Odds are good that you could just use a Kazoo script that was shaped something like

Code: Select all

function cpu_dump(d, pagesize, banksize) {
	for(local i = 0; i < 1024; i += 1){
		cpu_write(d, 0x8000|i, i);
		cpu_read(d, 0x8000, 16384);
	}
}
and then just have to figure out how to re-shuffle the resultant 16MiB dump to extract the actual 2 MiB of data.


Alternatively, use a continuity meter to figure out which address pins on the ICs labeled "NCN-82" connect to which pins on the small ICs.
Thanks for the answer, according to the image, I mapped the connections between the NCN ICs for the smaller ICs, I do not know how to edit the scripts, if you can send me, I'll be grateful. (Sorry for the ugly connection lines).
Attachments
20170815_2129171.jpg
flaviocaste
Posts: 16
Joined: Tue Aug 15, 2017 1:07 pm

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by flaviocaste »

zxbdragon wrote:
flaviocaste wrote:
zxbdragon wrote:You read first 32K data and upload.
I'm sorry but I do not know how to do it, and which script to use. thank you.
The attachment Untitled-1.jpg is no longer available
cnrom.ad

I took the test and the message appeared:
screen.jpg

Apparently the kazoo driver is installed correctly:
Untitled-2.jpg
User avatar
infiniteneslives
Posts: 2104
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by infiniteneslives »

You'll need to flash the original kazzo firmware onto the device as explained in the readme. You've got my firmware installed which is focused on flashing operations.
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: Help to dump rare 82 in 1 Chinese cartridge.

Post by lidnariq »

Easy things first:

What you've traced shows this functionality:

Code: Select all

           +--------+++- not yet known
           |        |||
 A~[1... ..up PPPP Puuu]
            | |||| |
            | ++++-+---- 32KB PRG slice (i.e. ROM A15 through A19)
            +----------- very likely A20 = ROM1 vs ROM2
The remaining functions must exist in the remaining four bits:
1- one bit must select between H/V nametable layout. This will be which of the pins on the two GD74LS174s connects to "pin 2" on the 74LS153.
2- one bit must disable writes to the HY6264 RAM. This will be which of the pins on the two GDLS174s connect to ... some of the pins on the 74LS32.
3- one bit must select between 16K and 32K PRG. This will be which of the pins on the two GD74LS174s connects to "pin 14" on the 74LS153.
4- one bit must select between the upper and lower half when in 16K PRG mode. This will be two of pins 3-6 on the 74LS153.

Either way, one of these two kazoo fragments should give you a valid dump:

Code: Select all

 board <- {
   mappernum = 100, /* Note: No mapper yet assigned to this board. 100 is just a "known bad" value. */
   cpu_rom = {
      size_base = 16 * mega, size_max = 16 * mega, banksize = 0x8000
   }, 
   ppu_rom = {
      size_base = 0, size_max = 0, banksize = 0
   },
   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*8), i);
    cpu_read(d, 0x8000, 0x4000);
    cpu_read(d, 0xc000, 0x4000);
  }
}
OR

Code: Select all

 // Same as above, but change the similar line to:
    cpu_write(d, 0x8207|(i*8), i);
Post Reply