blargg wrote:I believe that an S-DSP has already been arranged to be decapped. I think Lord Nightmare knows more.
That's great! I didn't realize others had gotten into that hobby as well. If you hear of anyone figuring out a better way to stain the n versus p doping please _please_ have them contact me. I'd love to swap recipes.
----------
kammedo wrote:Hm. Where's the point in using the U2 ROM if the SPC can access the table in the $50 bank - at that point it should be able to access compressed data in there also, or what do you think? I think that _is_ actually the only thing that we should check, along with the pass throug (which I didnt had a chance to check by now, am out of home until monday :/, but I have everything ready).
No, you are still missing the point here. Caitsith suggested a very optimistic possibility that we can write to some internal RAM in the chip and use that for the table and/or the compressed data. Yes that is worth checking (although it is not clear what to check), but that is _not_ the "only thing" worth checking. In fact, the actual idea (which caitsith was just expanding upon) most likely will work given our current understanding (we don't need to search for new features, but merely check that our understanding is correct).
So the short explanation is this:
- we have some decompression data from the chip using particular 4 byte entries (24bit address plus some indicator byte)
- so now let's try every possible 4 byte entry to get more data to study (more likely we'll have a program search the compressed data ROM for some good entries to look at instead of dumping them all)
Hopefully the idea makes more sense now. Currently we don't even have data for all the possible first byte combinations... that would be a great start and quite feasible. We can also try to get as many first two byte combinations as possible.
kyuusaku wrote:OK, maybe now it would be best to just interface the SPC ROM emulator directly to the SNES. I see that you guys really want to reuse your devices.
[...image...]
Is there a free space that can be decoded with a 74139 like SRAM? The "emulator" is now about as compact as possible

I thought about this some more and I think I have a one chip solution that requires much fewer connections.
an asynchronous unidirectional FIFO
any of the Cypress CY7C419/21/25/29/33 chips would work great.
steps for modification:
- cut trace to /CE on the compressed data ROM (U2), and tie pin to Vcc
- attach Vcc and GND to FIFO, and attach /XI, D8, /FL to Vcc
- attach FIFO output data lines 0-7 to U2-ROM data lines
- attach FIFO input data lines 0-7 to SRAM data lines
- attach FIFO /R to U2-ROM /OE from SPC7110
- attach FIFO /W to SRAM /CE
- attach FIFO /RESET to SNES /RESET (or RTC /CE if you want to have sofware reset capability)
So from the SNES you can load up the FIFO memory by writing to SRAM. You can also do a software reset of the FIFO if need be by doing any access to the RTC (software reset probably isn't needed, you could just attach that to the SNES /RESET instead).
The Datarom dumping feature of the SPC7110 can be used to easily test the setup before tackling decompressions. For decompressions, if the SPC7110 makes some kind of "spurious" reads to the ROM that we can't figure out, then this setup wouldn't work. Considering that it is crunched for time, I can't think of any reason it would have any "spurious" reads. It probably just reads:
... 4 bytes (24bit address + 1 byte indicator) from "table"
... and then sequentially reads from the compressed data
Sounds do-able to me.
Comments anyone?
Kammedo, does this sound okay to you?
EDIT:
In stock parts:
Digikey, or Mouser CY7C433-10JXC ... $10.58
Avnet CY7C421-20JXC .... $3.39
These are all 28-pin PLCC's.
If you prefer DIP packages for ease of hobby work, you can get all kinds of chips from:
http://www.rocelec.com/ (They list stock, but not prices online. I sent for some quotes out of curiousity.)
Cypress also says on their site they will give people 10 free samples. I haven't looked into it though. (Back in the day, companies would give free samples because if people got hooked on their product they would likely use it at 'work' too. Now a days very few companies give free samples unless you are from a company and it is understood that if the product prototype works you will buy large quantities from them.) If you're lucky they'll give you some samples without hassle if you say you're a student... might as well give it a try.