Author Topic: VTxx Dumping Thread  (Read 51240 times)

forgotusername

  • Full Member
  • ***
  • Posts: 176
    • View Profile
VTxx Dumping Thread
« Reply #75 on: February 03, 2018, 11:14:39 PM »
Y2K05
Feb 3 2018, 10:08:18 PM
Does the 200-in-1 (in the first post) have any unique games on it?[/quote]There's a new racing game called Racing Fighter. There are others but they're all boring - just a bunch of casino games like Video Poker, Blackjack, etc. and a couple title hacks/variations.
Quote:
 
Pretty much, yeah. Basically, these games were hacked by the multicart author to replace the CNROM latch at $8000-$FFFF with the Middle CHR Bank number register at $201A, which only exists at that address on mapper 256.[/quote]
It's weird how bootleggers even bother doing crazy shit like this. I mean, there are plenty of other games to steal. No need to come up with some bizarre mechanism just to get 20 more...

Y2K05

  • Full Member
  • ***
  • Posts: 111
    • View Profile
VTxx Dumping Thread
« Reply #76 on: February 04, 2018, 12:24:46 AM »
Would you like to extract the unique variations from 200-in-1, forgotusername?

NewRisingSun

  • Sr. Member
  • ****
  • Posts: 320
    • View Profile
VTxx Dumping Thread
« Reply #77 on: February 04, 2018, 06:22:00 AM »
May I interrupt this technical discussion to state that "Champion Boat" on the 220-in-1 multicart must have the worst controls of any racing game that I have ever encountered. :P

Here is my current emulation of Mapper 296's sound. It does not sound bad at least, but I do not have enough footage of the 220-in-1 multicart to judge whether the sampling rates and volumes are correct. In particular, Cut Fruit sounds a bit high-pitched? Right now, I am using the sampling rate from $4010 and the value written to $4031 and $4032 as a volume with range 0-128. This is hacky because 220-in-1 sometimes writes nothing and sometimes writes $00 to $4010, which I am replacing with $0C.

My progress was hindered by what I think must be a mistake in FC Pocket 600-in-1's code that (I think) queries the wrong $4014 bit to check whether the song has finished playing and if so, restart it again. Because it queries the wrong bit, it keeps restarting the song during every vertical blanking interval. The song is not actually restarted at every vertical blanking interval only because I am blocking access to the sound channel registers until it is either disabled by writing $80 to $4033 or it has finished playing by itself. (If I did not block them and merely flipped the $4014 bits, then 600-in-1's menu song would restart after the language selection --- which it does not do, according to this video) --- and more importantly, I could either get 600-in-1 or 220-in-1 working, but not both.)

After davidstech's console arrives and he tells me (or posts samples) of what still sounds wrong, I will then make a class out of the current sound emulation and post the source code so he can incorporate it into MAME.
« Last Edit: February 04, 2018, 11:35:20 AM by NewRisingSun2 »

davidstech

  • Full Member
  • ***
  • Posts: 140
    • View Profile
    • http://ds0.me
VTxx Dumping Thread
« Reply #78 on: February 04, 2018, 11:34:30 AM »
Brilliant, thanks for your work on this! My console has arrived now so I'll record the sound for you.

Y2K05

  • Full Member
  • ***
  • Posts: 111
    • View Profile
VTxx Dumping Thread
« Reply #79 on: February 04, 2018, 11:56:07 AM »
I know I've probably said this before, but when will there be a VTxx(x) emulator for Android devices again? Is there a change of plans as to when that will happen?

davidstech

  • Full Member
  • ***
  • Posts: 140
    • View Profile
    • http://ds0.me
VTxx Dumping Thread
« Reply #80 on: February 04, 2018, 11:58:11 AM »
@Y2K05 whenever rebuilds the latest MAME for Android is the realistic answer

Video of the console here: https://www.youtube.com/watch?v=lFiXbRueBa4. TBH it's quite hard to compare the tiny crappy speaker in the DreamGEAR with the sound from my nice computer speakers, but the emulator is definitely doing well. Sadly the ROM chip in the console is a type that's a massive pain to dump so I'll probably leave trying to dump it for now.

Y2K05

  • Full Member
  • ***
  • Posts: 111
    • View Profile
VTxx Dumping Thread
« Reply #81 on: February 04, 2018, 11:59:32 AM »
Hmm, what kind of rom chip is it? Did they deliberately try to make it tough to dump?

davidstech

  • Full Member
  • ***
  • Posts: 140
    • View Profile
    • http://ds0.me
VTxx Dumping Thread
« Reply #82 on: February 04, 2018, 12:06:36 PM »
It uses one of these little COB ROM boards like this. IMO they're a pain to dump because they are hard to desolder with hot air without desoldering the small BGA ROM chip on them (which itself is even more of a pain to dump), and they're not so standard so my programmer doesn't support them nor do I have a proper socket for them. I'm working on a jig that uses pogo pins (little spiky pins) to read them out without needing to desolder them, but time is limited. This type is used sometimes in cheap stuff, I think it's a cheap way of using flash chips recycled or surplus from old mobile phones (at least once the chip was a combined SDRAM+flash chip, where the SDRAM wasn't used at all, but a popular chip previously used in phones).



Attachments:

Y2K05

  • Full Member
  • ***
  • Posts: 111
    • View Profile
VTxx Dumping Thread
« Reply #83 on: February 04, 2018, 12:09:21 PM »
That might explain how some of the rom in the other dump got corrupted, right?

davidstech

  • Full Member
  • ***
  • Posts: 140
    • View Profile
    • http://ds0.me
VTxx Dumping Thread
« Reply #84 on: February 04, 2018, 12:12:37 PM »
Yes, quite possible, it was almost certainly dumped with some kind of custom jig rather than a proper programmer+socket. IIRC some of TeamEurope's bad dumps that I found were this type of chip too.
BTW I'm seeing whether the Android build script for MAME still works, although I'm not sure what the performance of the VTxx stuff will be like.
« Last Edit: February 04, 2018, 12:13:13 PM by davidstech »

NewRisingSun

  • Sr. Member
  • ****
  • Posts: 320
    • View Profile
VTxx Dumping Thread
« Reply #85 on: February 04, 2018, 12:18:32 PM »
Hm, everything is pitched down one note or so in your video. I seem to remember that other Famiclones ran at 60 Hz when connected to a TV, but at something like 55 Hz when run from the internal LCD, which is why many of them cannot use both simultaneously. Given that the emulated 600-in-1 matches the captured video I linked to, I think the pitches are basically correct. As for the volumes, I seem to make out in your video that the "plop" sound is much louder than the music, which is also a result of its volume setting, so I'll just assume that it is correct as well.

In any case, sooner or later that ROM chip will have to be redumped, but I think we should wait a week or two until we know that we need no more impressions from the original hardware, as I get the feeling that any dumping attempt will make it unusable afterward.

As for recording purposes: Game #86 (Guard Radish) may be interesting to hear as well.

There is a song in the ROM that I have not heard in any game. Apparently it is some sort of silly internet meme, but it is in the same outer bank as the menu. Maybe there is a way to make it play?
« Last Edit: February 04, 2018, 01:02:04 PM by NewRisingSun2 »

Y2K05

  • Full Member
  • ***
  • Posts: 111
    • View Profile
VTxx Dumping Thread
« Reply #86 on: February 04, 2018, 12:22:05 PM »
@davidstech thank you--if it works would you be ok if I report how VTxx emulates?

forgotusername

  • Full Member
  • ***
  • Posts: 176
    • View Profile
VTxx Dumping Thread
« Reply #87 on: February 04, 2018, 01:16:35 PM »
NewRisingSun2
Feb 4 2018, 12:18:32 PM
There is a song in the ROM that I have not heard in any game. Apparently it is some sort of silly internet meme, but it is in the same outer bank as the menu. Maybe there is a way to make it play?[/quote]Utterly disgusting. Maybe that was supposed to go with the dancing foxes on that other multicart, and it just got carried over into this one?

Y2K05

  • Full Member
  • ***
  • Posts: 111
    • View Profile
VTxx Dumping Thread
« Reply #88 on: February 04, 2018, 01:23:26 PM »
LMAO that's hilarious. This must be an unused theme in the 220-in-1 DreamGEAR handheld. I imagine it is eligible to be submitted to TCRF?
« Last Edit: February 04, 2018, 01:26:01 PM by Y2K05 »

NewRisingSun

  • Sr. Member
  • ****
  • Posts: 320
    • View Profile
VTxx Dumping Thread
« Reply #89 on: February 04, 2018, 01:28:57 PM »
Here is the original version of the song, for what it's worth. Don't say I didn't warn you.
@davidstech: Attached is the promised source file. Load(uint8 *) takes an pointer to the PRG ROM. Run() must be called at the CPU clock rate, usually 1789773. I removed variable sampling rates, as everything seems to be played at 16124 Hz anyway, and the games' lack or nonsensical initialization of $4010 would require hackish solutions. Should it become necessary to add variable sampling rates, just add a method to modify Channel's "period". What is still missing is save state support. The offsets in Read and Write are relative to $4000.

Unlike nornal NES/Famicom DPCM playback, PRG ROM access is entirely hidden from the emulated machine. I consider this acceptable since we have no idea about the actual memory timing anyway, and doing these accesses using the same code as DPCM fetches would cause a huge mess both in the emulator and in the emulated games alike.

Attachments:
« Last Edit: February 04, 2018, 03:25:38 PM by NewRisingSun2 »