RAM tester for Moonsound/Wozblaster

Страница 2/7
1 | | 3 | 4 | 5 | 6 | 7

By Manuel

Ascended (17872)

Аватар пользователя Manuel

27-10-2015, 23:09

Probably the write is mirrored. From the MoonSound code:

// The following info is based on measurements on a real MoonSound (v2.0)
// PCB. This PCB can have several possible SRAM configurations:
//   128kB:
//    1 SRAM chip of 128kB, chip enable (/CE) of this SRAM chip is connected to
//    the 1Y0 output of a 74LS139 (2-to-4 decoder). The enable input of the
//    74LS139 is connected to YMF278 pin /MCS6 and the 74LS139 1B:1A inputs are
//    connected to YMF278 pins MA18:MA17. So the SRAM is selected when /MC6 is
//    active and MA18:MA17 == 0:0.
//   256kB:
//    2 SRAM chips of 128kB. First one connected as above. Second one has /CE
//    connected to 74LS139 pin 1Y1. So SRAM2 is selected when /MSC6 is active
//    and MA18:MA17 == 0:1.
//   512kB:
//    1 SRAM chip of 512kB, /CE connected to /MCS6
//   640kB:
//    1 SRAM chip of 512kB, /CE connected to /MCS6
//    1 SRAM chip of 128kB, /CE connected to /MCS7.
//      (This means SRAM2 is potentially mirrored over a 512kB region)

and

                // Verified on real MoonSound cartridge (v2.0): In case of
                // 640kB (1x512kB + 1x128kB), the 128kB SRAM chip is 4 times
                // visible. None of the other SRAM configurations show similar
                // mirroring (because the others are powers of two).

By Alexey

Guardian (3092)

Аватар пользователя Alexey

28-10-2015, 14:33

Manuel, it may be worth adding the "Wozblaster" as a separate device into openMSX extra device list. All of these clones have either 512 or 1024kb of SRAM.

By mars2000you

Enlighted (5885)

Аватар пользователя mars2000you

28-10-2015, 15:38

Info for blueMSX users about MoonSound :

By default, the MoonSound SRAM has a size of 640 Kb in all machines with MoonSound rom (it's the case of all generic MSX2/2+/turboR machines).

This size has been chosen because it was the maximum existing size on real hardware when MoonSound support has been added to the emulator. I guess it's the same reason that explains the choice in openMSX.

In the blueMSX interface, it's not possible to change that but you can manually edit the blueMSX.ini file.

Replace sound.chip.moonsoundSRAMSize=640 by sound.chip.moonsoundSRAMSize=1024 ! Wink

The implementation in blueMSX allows a size between 128 and 2048.

Probably the same change can be made in openMSX as there is (*)

[sampleram]640[/sampleram]

in the hardwareconfig.xml file for moonsound extension

(*) I've replaced the non-supported characters on this forum by [ and ]

EDIT : Unfortunaly, your test fails also in blueMSX, even after change in the bluemsx.ini file .... It displays 1024 kb but does not find the RAM that exceeds 640 Kb when making the three tests.

By Manuel

Ascended (17872)

Аватар пользователя Manuel

28-10-2015, 16:44

Alexey, not really necessary if the only difference is the amount of sample ram, as mars already explained you can change the amount in the moonsound.xml extension hardware config file.

Iirc, we chose 640kB, because there was no software using more.

By Alexey

Guardian (3092)

Аватар пользователя Alexey

28-10-2015, 17:18

I made the configuration for Wozblaster (1mb of RAM):

http://www.finnov.net/~wierzbowsky/moontest/wozblaster.xml

Also this is a nice place to download system roms:

http://www.msxarchive.nl/pub/msx/emulator/openMSX/systemroms...

By Manuel

Ascended (17872)

Аватар пользователя Manuel

28-10-2015, 17:34

Particularly the zip file is interesting.

By Alexey

Guardian (3092)

Аватар пользователя Alexey

28-10-2015, 23:56

Manuel wrote:

Particularly the zip file is interesting.

Check your mail. Smile

By Manuel

Ascended (17872)

Аватар пользователя Manuel

29-10-2015, 11:41

Thanks but I was just pointing openMSX users to a file they probably find interesting.

By Alexey

Guardian (3092)

Аватар пользователя Alexey

01-11-2015, 18:03

I managed to fix my 2 problematic Wozblaster cartridges after identifying slightly bad RAM chips. Now both of them work without even minor distortions. So if the test shows you have a bad RAM bank, just get FC 100% demo and see if all songs play well. Testing in games is not enough.

http://www.msx.org/downloads/music/disks/100-music

By Alexey

Guardian (3092)

Аватар пользователя Alexey

06-11-2015, 16:09

So did anyone test his Moonsound with 640kb of SRAM with the utility?

Страница 2/7
1 | | 3 | 4 | 5 | 6 | 7