MegaROM emulator for Turbo R

Página 2/3
1 | | 3

Por wouter_

Hero (535)

Imagen del wouter_

22-05-2015, 14:36

NYYRIKKI wrote:

... one thing that I wonder is that how much mapper RAM you can actually point? ...

Pages 0x180..0x1ff are mapped to the internal RAM, so max 1MB.
The internal SRAM of the turboR can also be read/written via this mapper (pages 0x80..0x87).

Por NYYRIKKI

Enlighted (6093)

Imagen del NYYRIKKI

22-05-2015, 14:50

wouter_: It seems that you know this very well... Could you please write something to the wiki as it seems this information is not very easy to find.

Por Manuel

Ascended (19679)

Imagen del Manuel

22-05-2015, 22:55

wouter_, this is what PanasonicRam implements, I guess, right?

Por tvalenca

Paladin (747)

Imagen del tvalenca

18-03-2016, 20:46

Sorry for digging up this thread (actually, I forgot about it! oO )

So, based to what @wouter_ said, this may be a feature of Panasonic SRAM device (since it gives you access to internal SRAM pagess) not S1990, right?

So, I sure missed something, but how can I access this "special" mapper? I'm guessing that I should select slot 3-3 (according to openMSX machine configurations this is the slot where "Panasonic SRAM" is located on A1FM/WX/WSX/ST/GT) and poke a certain (memory or I/O) address to change visible memory page on this slot, but where I can find this info? I must be doing something wrong, because I can't find this info anywhere. What did I miss? Can anyone kindly point out on which direction I should go?

I can also compile the information a topic on MRC Wiki to keep people from asking it here Tongue LOL!

Por Guillian

Prophet (3529)

Imagen del Guillian

19-03-2016, 08:51

This is a copy & paste from an old article I wrote for SD MESXES fanzine:

		Memory area		Memory register
	
		#0000-#1FFF		#6000-#63FF
		#2000-#3FFF		#6400-#67FF
		#4000-#5FFF		#6800-#6BFF
		#6000-#7FFF		#6C00-#6FFF
		#8000-#9FFF		#7000-#73FF
		#A000-#BFFF		#7800-#7BFF
		#C000-#DFFF		#7400-#77FF
		#E000-#FFFF		#7C00-#7FEF


	Bank selected in that area:(#7FF9 bit 2 must be set)
    #7FF0	(R)	#0000-#1FFF
    #7FF1	(R)	#2000-#3FFF
    #7FF2	(R)	#4000-#5FFF
    #7FF3	(R)	#6000-#7FFF
    #7FF4	(R)	#8000-#9FFF
    #7FF5	(R)	#A000-#BFFF
    #7FF6	(R)	#C000-#DFFF
    #7FF7	(R)	#E000-#FFFF
			

    #7FF8	(R/W)	9th bit of the bank
		bit0	#0000-#1FFF
		bit1	#2000-#3FFF
		bit2	#4000-#5FFF
		bit3	#6000-#7FFF
		bit4	#8000-#9FFF
		bit5	#A000-#BFFF
		bit6	#C000-#DFFF
		bit7	#E000-#FFFF

    #7FF9	(R/W)	Config register

		bit 2	1: Enables reading #7FF0-7FF7
		bit 3	1: Enables reading #7FF9
		bit 4	1: Enables register at #7FF8

Bank content:

	#000 Turbo R firmware
	#028 Main ROM
	#080 SRAM
	#100 ROM Disk (GT only)
	#180 Main RAM

Por tvalenca

Paladin (747)

Imagen del tvalenca

19-03-2016, 16:34

@Guillian Wow, thanks!

But I didn't get the "Memory Register". What am I supposed to do with it? Isn't enough just poke #7FF0~#7FF9 memory locations (on slot 3-3 I suppose)?

Por Guillian

Prophet (3529)

Imagen del Guillian

19-03-2016, 18:55

Memory registers work like MegaROM mapper registers. So writing to that areas select a bank/page.
I.e.: If you write #80 in #6C00 you will select SRAM in #6000-#7FFF

Notice that #7FF0-#7FF9 are read only!

Por tvalenca

Paladin (747)

Imagen del tvalenca

19-03-2016, 20:44

Oh, so memory segments can't be written when accessing through 8k pages mechanism?

Por Guillian

Prophet (3529)

Imagen del Guillian

19-03-2016, 23:03

Yes, they can be written when RAM or SRAM is selected.
What I wanted to mean is that #7FF0-#7FF9 are read only to check the selected bank. You can't change the bank writing to them.

Por NYYRIKKI

Enlighted (6093)

Imagen del NYYRIKKI

22-03-2016, 10:30

This info got almost lost once again somewhere in this fortum, so I did the copy/paste work...

Página 2/3
1 | | 3