Previous Thread
Next Thread
Print Thread
Page 6 of 7 1 2 3 4 5 6 7
Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: R. Belmont] #66478 01/02/11 10:46 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Just see, you use 32-bit padded program ROMs + 16-bit data ROMs = 10.240 bytes for each ROM.

Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: byuu] #66479 01/02/11 10:55 PM
Joined: Mar 2001
Posts: 16,419
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,419
Correct, that's the "official" format used by EPROM readers to program new chips (and it matches Air Rescue in MAME). I thought that's what bsnes was using based on his earlier post on this thread.

Last edited by R. Belmont; 01/02/11 10:56 PM.
Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: R. Belmont] #66480 01/02/11 11:00 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted By R. Belmont
Correct, that's the "official" format used by EPROM readers to program new chips (and it matches Air Rescue in MAME). I thought that's what bsnes was using based on his earlier post on this thread.


bsnes use now 6 KB program ROM (24-bit x 2048) [big-endian] + 2KB data ROM (16-bit x 1024) [big-endian] = 8.192 bytes for each ROM.

Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: byuu] #66481 01/02/11 11:13 PM
Joined: Mar 2001
Posts: 16,419
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,419
Originally Posted By byuu
Now, as for the ROMs themselves ... I am hoping we can agree to a standard here. I can't make you, but I would really appreciate it if you would use my convention so that bsnes and MAME/MESS can share the same files.

Code:
dsp1b.bin

Filesize: 10,240 bytes
MD5SUM: 247e1c2d17a3757bc1531ef9b207886c
SHA256: d85ba8271a5b28a25e078d7f72722de1d6990a9f098a8d574c4338adcef883a6


What I did was go with the convention used in SEGA Air Rescue.

The ROM itself is the 8KB program ROM, followed by the 2KB data ROM. The program ROM is 24-bit, big endian, with an 8-bit padding between each instruction. The value is 0xFF which means 'unprotected'. This is the literal, official format as specified by NEC. The data ROM that is appended after it is 16-bit, big endian data.

This was not my first choice, I tried to compromise by matching what MAME has already done with Air Rescue ... I wanted to strip the padding and make the file exactly 8KB. But in the interests of precedent, and MAME/MESS' goals, I went with the official NEC format; and I also merged the ROMs into one file for simplicity.

The individual file hashes used:

Code:
abaded4bdaf10b932e8fc143b94c5c4d  dsp1b-program.bin
0d645d74a6fa48a747f70aa545c9ea53  dsp1b-data.bin


I am asking that you guys please not split the program and data ROMs apart, or remove the padding. The actual filename I suppose is not as big of a deal, anyone can rename it, so long as the SHA256 sum is exactly the same.


Note that his cited dsp1b.bin exactly matches what MESS now expects.

So I interpret that as meaning he's using the format I chose, which matches Sega Air Rescue (and is also best for preservation since you can burn it directly to a blank 7725 chip). Did byuu die or something, because I'd love to hear an explanation for why bsnes isn't using the format he wanted me to agree to use.

Last edited by R. Belmont; 01/02/11 11:19 PM.
Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: byuu] #66499 01/03/11 02:39 PM
Joined: Aug 2002
Posts: 225
H
ht1848 Offline
Senior Member
Offline
Senior Member
H
Joined: Aug 2002
Posts: 225
In regard to r9900, is there a technical limitation why there can't be one SNES system(or really 2 PAL and NTSC) instead of spliting out the special chip dependant stuff? I thought there was back when someone was working on the fx stuff, but I couldn't find it quickly.

Could software lists trigger the special chips on the needed games so they are not running all the time (if speed was the issue)?

Just currious. Very happy to see DSP get emulated. Thanks to the many involved.


Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: ht1848] #66500 01/03/11 02:56 PM
Joined: May 2004
Posts: 1,602
H
Haze Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,602
Originally Posted By ht1848
In regard to r9900, is there a technical limitation why there can't be one SNES system(or really 2 PAL and NTSC) instead of spliting out the special chip dependant stuff? I thought there was back when someone was working on the fx stuff, but I couldn't find it quickly.

Could software lists trigger the special chips on the needed games so they are not running all the time (if speed was the issue)?

Just currious. Very happy to see DSP get emulated. Thanks to the many involved.



It's a technical / core MAME/MESS limitation. Devices (especially ones that specify roms) can't easily be added at run-time.

Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: byuu] #66503 01/03/11 04:04 PM
Joined: Mar 2001
Posts: 16,419
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,419
I had it set up to halt the DSP for games that didn't need it, but Kale didn't like that for some reason so I changed it to be uglier smile

Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: byuu] #66506 01/03/11 06:06 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
SVN r9908
SD Gundam GX (J) with DSP-3 chip

The gameplay is not clear for me.




Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: byuu] #66507 01/03/11 06:08 PM
Joined: Mar 2001
Posts: 16,419
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,419
Yeah, it appears to work from what I can tell, but my ability to play a turn-based Japanese-language RPG is pretty much zero smile

Re: SNES DSP-1/A/B/2/3/4: need help emulating uPD77C25 [Re: R. Belmont] #66508 01/03/11 06:14 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
It seems, it is more a strategy game in Japanese language.

Page 6 of 7 1 2 3 4 5 6 7

Who's Online Now
1 registered members (Heihachi_73), 25 guests, and 1 spider.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,734
Posts114,823
Members4,877
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3