MMM Musical Memory Mapper on a 64kb machine

Page 2/4
1 | | 3 | 4

By norakomi

Paragon (1060)

norakomi's picture

09-04-2020, 18:57

@Manel46

The 'first' 64kb ram is accessible.
I have no problem there. The music replayer is working, everything fine there.
The problem I find is, that I cannot access the 2nd 64kb ram that I need.

so:
ld a,4,5,6,7
out ($fc,d,e,f),a
this doesn't seem to work....

By Manel46

Hero (534)

Manel46's picture

09-04-2020, 19:25

But what do you put in these other 64 KBs of ram?
More music, or other things. Maybe I don't understand the problem well.
I was telling you that you don't need to use ram mapping in this replayer.

By norakomi

Paragon (1060)

norakomi's picture

09-04-2020, 21:55

the problem has nothing to do with music.
the problem is that the game I'm working on requires 128kb ram.
And the game works fine on an msx with 128kb ram,
but it doesn't seem to work on 64kb ram Panasonic FS-A1WX with Musical Memory Mapper.
I can address the first 64kb on that machine, but I can't access the rest...

By Manel46

Hero (534)

Manel46's picture

09-04-2020, 22:48

Correct, I understand. Sorry, I can't help you with this.
Watch this:
https://www.msx.org/forum/msx-talk/hardware/musical-memory-m...

By Manuel

Ascended (16378)

Manuel's picture

10-04-2020, 00:13

norakomi: does it work with any other external memory mapper on that WX?

By gdx

Prophet (3427)

gdx's picture

10-04-2020, 02:02

I tested DMMM.BAS (the BASIC program given above) on OpenMSX 0.15.0 with the WSX + Musical Memory Mapper, and it works fine. I tried also some programs that use more than 64kB, all work. There is no issue.

By norakomi

Paragon (1060)

norakomi's picture

10-04-2020, 12:56

Manuel wrote:

norakomi: does it work with any other external memory mapper on that WX?

No, it doesn't. I tried extensions: megaram, megaram 2MB, ram1MB.
I tried a different msx with 64kb.
Philips NMS 8220.
Also this one didn't work with any of the extensions....

So all this gives some new information, which is:
On an msx with 128kb ram the game works fine,
but on an msx with 64kb ram (and added extension; MMM, megaram etc) it doesn't work.

Do I need to detect any of these extensions somehow ?
These extensions (MMM, or added ram) go in slot 1 or slot 2 of the msx I assume, do I need to detect this in order to get it to work ?

By erpirao

Paragon (1041)

erpirao's picture

10-04-2020, 14:02

hello good afternoon, the problem of the panasonic msx2 + is that the bios blocks certain pages (Unlike other MSX computers the BIOS of these Panasonic machines places page 3 and page 2 in its internal memory)
memtr app

By Grauw

Ascended (8905)

Grauw's picture

10-04-2020, 15:03

No need to detect, the memory mapper is selected by default instead of the internal RAM. I double-checked this with openMSX -machine Panasonic_FS-A1WX -ext ram2mb, typing the slotselect command in the openMSX console (F10) gives this result in Basic:

0000: slot 0.0
4000: slot 0.0
8000: slot 1
C000: slot 1

Where slot 0.0 is the BIOS / BASIC and slot 1 is the memory expansion, as you can confirm with the slotmap command. So you should be able to use it without any special slot selection or searching for it.

I suggest you use the openMSX debugger to inspect the slot layout (shown in the top right) and step through your code. It sounds like there is probably a programmatic error, because other than the external mapper segment selection registers not being readable, this machine behaves just like other MSX2 / MSX2+ machines.

p.s. I am unaware that what erpirao mentions is the case on MSX2+ computers. Afaik that is only the case on turboR, and on those machines the internal memory is big enough for you so no cause for concern.

By gdx

Prophet (3427)

gdx's picture

10-04-2020, 16:59

Quote:

Unlike other MSX computers the BIOS of these Panasonic machines places page 3 and page 2 in its internal memory

Grauw is right, only turboR does this.

Page 2/4
1 | | 3 | 4