"call music" doesn't work on CX5M (help me, NYYRIKKI!)

Pagina 2/3
1 | | 3

Van Gradius2

Hero (598)

afbeelding van Gradius2

22-09-2010, 15:41

You can adapt that asm proggie floating around used to extract the rom from MSXes around the world.

Van NYYRIKKI

Enlighted (5587)

afbeelding van NYYRIKKI

22-09-2010, 20:23

It seems to me that the ROM is ok, so there is no reason to dump it. I suspect that the cause of hang is in the interrupts, but I'm not sure.

It seems to be something wrong because this is different from your output.

Actually this can very well be ok, the problem is that I don't know the hardware well enough to say if it is ok or not...

How ever I would start my self by checking / changing the IC103 (YM2140)

This does not look like easy project. I hope you can find some hardware expert to help you out. I'm running out of ideas.

Van Eugeny_Brychkov

Paragon (1166)

afbeelding van Eugeny_Brychkov

22-09-2010, 20:37

Janghang, you can use the following code

10 DEFINTA-Z:D$="3E8F2AF8F7CD0C006F260022F8F7C9"
20 AD=&HC000:DEFUSR=AD:FORI=0TO14:POKEAD+I,VAL("&H"+MID$(D$,I*2+1,2)):NEXT
30 OPEN"MUS.ROM"FOROUTPUTAS#1
40 FOR I=&H4000 TO &H7FFF
50 PRINT#1,CHR$(USR(I));
60 NEXT
70 CLOSE#1

This is modified Nyyrikki's code, saving 16K from slot 3.3 addresses 4000-7fff to the disk.

Van NYYRIKKI

Enlighted (5587)

afbeelding van NYYRIKKI

22-09-2010, 20:49

Actually as these YM2140 chips don't grow on trees, I would still maybe do few tests:

Run the same test again, but this time with line 3 like this:
3 FOR I=&H3F00 TO &H3F07:IF(IAND7)=0THENPRINT: PRINTHEX$(I);":";

Check that output is:
3F00: 0D 00 00 00 1E 13 5E D8

If the test was successful, then cut IC103 pin 37 and see if there is any change while starting the program. (CALL MUSIC)

Van janghang

Expert (117)

afbeelding van janghang

01-07-2011, 03:05

I couldn't do NYYRIKKI's last test but today I tested with YRM-104 FM Music Macro. It works. But call music or call fmv is still making the system freeze. Could you figure out the problem from this, NYYRIKKI?

At least, YM2164 and YM3012 seems to be fine.

Van janghang

Expert (117)

afbeelding van janghang

27-07-2011, 04:12

I couldn't do NYYRIKKI's last test but today I tested with YRM-104 FM Music Macro. It works. But call music or call fmv is still making the system freeze. Could you figure out the problem from this, NYYRIKKI?

At least, YM2164 and YM3012 seems to be fine.

does anybody get any clue to this? As mentioned, FM Music Macro could successfully drive SFG-05 but others (call music or FMV) doesn't work at all. To repair my SFG-05, what should I replace on SFG05?

Thanks

Van sd_snatcher

Prophet (3325)

afbeelding van sd_snatcher

27-07-2011, 15:59

It may be that the ROMs are corrupted. Dump them, obtain the checksum of the files, then compare it to known good dumps.

If they're corrupted, it's just a matter of buying new EPROMs, burning them with the correct ROM, and install those new EPROMs on the board.

Van janghang

Expert (117)

afbeelding van janghang

28-07-2011, 08:23

Thanks, man. Could you please let me know how to dump the roms? Is it possible for roms to be corrupted? I have never heard about those cases.

It may be that the ROMs are corrupted. Dump them, obtain the checksum of the files, then compare it to known good dumps.

If they're corrupted, it's just a matter of buying new EPROMs, burning them with the correct ROM, and install those new EPROMs on the board.

Van sd_snatcher

Prophet (3325)

afbeelding van sd_snatcher

28-07-2011, 13:04

EPROM chips can fail as much as any other chip. Also:

• If the EPROM window was left uncovered, its contents may get corrupted by exposing it to any light source that also emits UV light, like fluorescent lamps.
• The EPROMs might be reprogrammed by the previous owner of the cartridge without too much care to check if the content was 100% correct.

I Goggled a bit and found some excellent ROM dumping utilities here. For the checksum tool, you must google for "Windows SHA1 checksum" and get the one of the many utilities available.

Van NYYRIKKI

Enlighted (5587)

afbeelding van NYYRIKKI

29-07-2011, 17:16

I don't have much better ideas...

As there are two programs hanging I anyway tend to think that there is some other problem that both of these programs broken. We have also seen that at least data lines and address lines work, so there is no any major problem. Maybe these programs try to initialize some hardware (like MIDI) that fails in unexpected way and therefore hangs the program. These are anyway just guesses that don't get us much anywhere...

Pagina 2/3
1 | | 3