nesdev.com
http://forums.nesdev.com/

Kazzo USB rom dumper / dev cart programmer
http://forums.nesdev.com/viewtopic.php?f=9&t=7912
Page 33 of 36

Author:  lidnariq [ Sun Apr 23, 2017 6:23 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

... actually, I have a terrible idea.

Where's the exact program (exe) you're having him run?

(p.s. IDA free is adequate for my terrible idea)

Author:  kazblox [ Sun Apr 23, 2017 9:22 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

I think he's just running the latest anago.exe paired with anago_wx.exe, grabben of the Kazzo site in the unagi_client_windows_062_GUI folder...

...........wait...... you thinking what I'm thinking? :)

also:
Quote:
I fear that FCEUmm's source shuffles the 1KiB slices around, so even this won't be a match, even if it's closer to what's on the physical ROM.

I don't think that's true? According to the commit logs, the mask ROM for the Kaiser version was verified long ago, regardless of the comments in KS7030.c...
Quote:
new UNIF board for "Yume Koujou Doki Doki Panic (FDS Conversion)(Kaiser)(KS7030)[U][!] <---

What makes you think the 1K bit goes last instead of first?

Author:  lidnariq [ Sun Apr 23, 2017 11:31 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

I can't trivially test this, but try this:
Original file: anago_wx.exe, 658944 bytes, crc32: e6e94fef, md5sum: 3d63754d378d2cabbe6e3353475a8dee
This patch should dummy out the lower bound check.
Attachment:
anago_wx.ips [15 Bytes]
Downloaded 32 times


Quote:
What makes you think the 1K bit goes last instead of first?
It doesn't, but the offset math in FCEUmm looked wrong to me. The lower 12 bits of the address lines should be unchanged before and after banking.

Author:  kazblox [ Mon Apr 24, 2017 2:07 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

lidnariq wrote:
I can't trivially test this, but try this:
Original file: anago_wx.exe, 658944 bytes, crc32: e6e94fef, md5sum: 3d63754d378d2cabbe6e3353475a8dee
This patch should dummy out the lower bound check.
Attachment:
anago_wx.ips


Doesn't work, still spouts the "address range" error. :( Looks like I need to resort to figuring out how to actually compile this crap.

Author:  lidnariq [ Mon Apr 24, 2017 3:12 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

That's really weird.

Here's another possible couple patches that might help?

patch #2 should change the specific value for the lower bound check, changing it from 0x8000 to 0x4100.
Attachment:
anago_wx2.ips [14 Bytes]
Downloaded 34 times


patch #3 should disable the upper bounds check. I don't see how this could be relevant, but applying both #1 and #3 should make it impossible for the bounds check to trigger... should.
Attachment:
anago_wx3.ips [15 Bytes]
Downloaded 28 times


It's not like testing these actually require the cartridge; just a physical Kazzo (which I don't have :/ )

Author:  kazblox [ Mon Apr 24, 2017 3:33 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

Alright, the guy has to test the patch tomorrow, so I'll keep tight on how this goes. Man, all this trouble for one cart.

Author:  MLX [ Tue Apr 25, 2017 4:28 am ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

Hey, figured I'd drop by since I had just noticed this was discussed here. It's my cartridge lol.

The anago_wx.exe I have matches the given MD5.
I tried each IPS patch (with Lunar IPS), checked MD5 (if it was different after patching & checked consistency) as well each time with CertUtil -hashfile anago_wx.exe MD5. Each time it was still giving the 0x8000->0x10000 address error.

I'll try to recompile it on my old computer as well, might be able to… or not…

I'd like to be much more around but the studies are eating my time, plus the fact I don't have knowlegde in Famicom emulation.

Anyway, I'm also currently pushing the guy who has the dump to release it might be hopeless but I thought it was worth a try as well. I don't want to bother you guys too much for just one cartridge… But at least it's good to see that anago will get a flaw like that removed (at least in custom builds).

Author:  kazblox [ Wed Apr 26, 2017 11:33 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

After a day of libusb errors and stretching around with Squirrel 2 on a slow computer, I've managed to get anago to dump the cart! Success!

Attachments:
yeessss.png
yeessss.png [ 75.62 KiB | Viewed 1160 times ]

Author:  lidnariq [ Wed Apr 26, 2017 11:36 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

yeessss indeed!

Author:  kazblox [ Sat Apr 29, 2017 12:32 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

...but it doesn't look like I can successfully emulate it in MAME anyways. The bank at 0x7000 appears to be the extra "BANK 0" that is mentioned within the comments. I combined the main 32K PRG chunk from the NROM readout, put the 32k and 64k chunks first, and the main 32K PRG chunk last to hopefully create a representation of what is in the actual mask ROM. The startup looks to be okay, but after a couple of bankswitches, the emulation freaks out and jumps to data.

:(

Author:  werewolfslayr925 [ Wed May 24, 2017 9:21 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

Bump.

So, I'm having an issue with the kazzo. It's been working fine for almost a year now and I've been able to dump all sorts of games with it. However, my computer hasn't been able to recognize it.

- Using Windows 10
- Each time I plug it in, Windows says "the last USB device you connected malfunctioned, and Windows does not recognize it"
- Anago always displays a Reader open error message
- Vendor ID and product ID for the device read "0x0000" and "0x0002" respectively in the inf-wizard
- recently replaced the part where you plug the cable in (yay, soldering practice for the n00b!), BUT, even after the repair, it worked
- Tried loading the Microsoft OS with driver signature enforcement disabled, tried loading with it enabled
- Tried unplugging and replugging-in the dumper
- Tried two different computers
- Tried different cables

Is anyone willing to help diagnose/resolve the problem?

Author:  infiniteneslives [ Wed May 24, 2017 9:46 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

just replied to the ticket you sent me. Curious if it's recognized by windows in boot loader mode and if so, if you PC is able to recognize it when flashed with my firmware.

Author:  werewolfslayr925 [ Wed May 24, 2017 10:16 pm ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

infiniteneslives wrote:
just replied to the ticket you sent me. Curious if it's recognized by windows in boot loader mode and if so, if you PC is able to recognize it when flashed with my firmware.


Just solved the issue! Thank you so much for your quick reply. The PC did recognize it in BL mode. I didn't quite know where to go from there when I first found that out, so I tried reinstalling the firmware and now it runs fine. Thanks so much.

In other news, I'm trying to dump a copy of Lagrange Point using the script found here: http://svn.osdn.jp/svnroot/unagi/client ... mi_vrc7.ag

Unfortunately, it isn't yielding a workable ROM and the script only works in the 062 command line version of anago. The crc32 output is 0xcfb3e8b9. Does anyone know where I can find a working script for the game?

Edit: It turns out that it is yielding a ROM that works, but one only to an extent. The title screen shows and I can press start to get past it (with sound effect), but after that there's just a black screen.

Author:  Goufman [ Fri Jun 02, 2017 2:12 am ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

Hello. I assembled the dumper according to this conceptual scheme - Image
I use the program - anago_wx
The cartridges are read correctly. Read 0,1,3,4 mappery - all is well!
But I can not understand how to record games on cartridges. I need to know where and what signals from FLASH memory need to be connected. I use memory - W29C020. I am very grateful for the help!

Author:  werewolfslayr925 [ Wed Jun 07, 2017 8:43 am ]
Post subject:  Re: Kazzo USB rom dumper / dev cart programmer

Hope I'm not breaking any rules here; it was recommended that I ask in this thread about the following problem.

I just got a copy of Ganbare Goemon Gaiden and it doesn't seem to want to be dumped. I've been trying to use the VRC2 scripts found here and here, but to no avail. The process always goes up to about 15/16 of the way through the CPU dump and then Kazzo gives me the following error:

Code:
libusb0-dll:err [control_msg] sending control message failed, win error: A device attached to the system is not functioning.


I've tried everything I can think of:
- opening and cleaned the cart several times
- using both versions of anago (60 and 62)
- doubling both the CPU and PPU rom dump ("d22" command in command prompt)
- exchanging the commands in the script to "dofile" for the script in the vrc4.ai file
- getting rid of the "dofile" line altogether

I've run the game through other scripts (e.g. mmc3.ag) as well just to see if it was only the script. I've also tested another game to see if I needed to reinstall the kazzo's firmware or something. Everything else checks out. Is the game corrupt? And if that's the case, is it just a matter of buying another copy?

Page 33 of 36 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/