SofaROM bug report thread

Page 10/20
3 | 4 | 5 | 6 | 7 | 8 | 9 | | 11 | 12 | 13 | 14 | 15

Par Jipe

Paragon (1552)

Portrait de Jipe

06-09-2017, 19:20

never testing a long time for playing but i test with a real cartridge
XAK as sold its MSX

Par gdx

Enlighted (5595)

Portrait de gdx

07-09-2017, 11:11

I tried MOG and USAS with TRLOAD (v0.2). USAS seems to work, but sometimes freezes randomly when switching from one screen to another in game. It is not possible to activate the Z80 mode.

Jipe wrote:

you have 70 or 80ns inside don't remember exactly

My Turbo R have RAMs of 80ns.

Par Louthrax

Prophet (2419)

Portrait de Louthrax

07-09-2017, 15:11

Ok, a new version of SofaROM / SOfaRun is available for tests here: sofarun31.zip.

It might fix the GFX problems in USAS and MOG, and offers new options for the interruption mode:

===================================================================
                         Interruption mode
===================================================================

The /I option is only  used by "Memory mapper" and  "turboR mapper"
devices. Those two devices are more prone to problems because  they
require calls to time-consuming routines to swap ROM pages.

Try to  play  with  this option   to increase speed  or fix crashes
when  using "Memory mapper" or  "turboR mapper" devices.

* Auto-safe
  Safest but slowest mode.

* Auto-fast
  A bit faster compared to "Auto-safe" at the cost of safety.

* None
  Fastest mode, might cause crashes in some games.

* DI-EI
  Fast mode, use this if "None" does not work.

* DI
  Fast mode, use this if "None" and "DI-EI" does not work.

Auto-safe is the default mode, feel free to test other modes to improve speed, specially in Z80 mode (TRLOAD.COM seems to have issue with USAS because it does not save / restore the interruption mode).

Let me know of your results, if everything works I'll make this the official new version.

Par gdx

Enlighted (5595)

Portrait de gdx

07-09-2017, 16:14

Same problem with USAS.

In case it can help, I quickly translated Tsujikawa’s document about the internal mapper of Panasonic MSX2+ and Turbo R. (I have not yet compared with the wiki.)

Addresses to access to registers of page switching (part 1):
(contain only the least significant 8 bits)

6000~63FFh (W): Switching the page on bank 0000~1FFFh
6400~67FFh (W): Switching the page on bank 2000~3FFFh
6800~6BFFh (W): Switching the page on bank 4000~5FFFh
6C00~6FFFh (W): Switching the page on bank 6000~7FFFh
7000~73FFh (W): Switching the page on bank 8000~9FFFh
7800~7BFFh (W): Switching the page on bank A000~BFFFh
7400~77FFh (W): Switching the page on bank C000~DFFFh
7C00~7FEFh (W): Switching the page on bank E000~FFFFh

Addresses to access to registers of page number reading:

7FF0h (R): Reading the page number of bank 0000-1FFFh
7FF1h (R): Reading the page number of bank 2000-3FFFh
7FF2h (R): Reading the page number of bank 4000-5FFFh
7FF3h (R): Reading the page number of bank 6000-7FFFh
7FF4h (R): Reading the page number of bank 8000-9FFFh
7FF5h (R): Reading the page number of bank A000-BFFFh
7FF6h (R): Reading the page number of bank C000-DFFFh
7FF7h (R): Reading the page number of bank E000-FFFFh

(These registers are valid only if the bit 2 of 7FF9h is set.)

Addresses to access to registers of page switching (part 2):

7FF8h (R/W): Registers that contains all 9th bits of page switching

bit0 for the bank 0000~1FFFh
bit1 for the bank 2000~3FFFh
bit2 for the bank 4000~5FFFh
bit3 for the bank 6000~7FFFh
bit4 for the bank 8000~9FFFh (bit not used on the FS-A1 WX/WSX)
bit5 for the bank A000~BFFFh
bit6 for the bank C000~DFFFh
bit7 for the bank E000~FFFFh

Addresses to access to configuration register:

7FF9h (R/W): Register to enable/disable addresses

bit2 to 1 to enable the reading of the page number via the 7FF0-7FF7h
bit3 to 1 make the configuration register readable at 7FF9h
bit4 to 1 to enable registers of the 9th page switching bits at 7FF8h (unused on the FS-A1 WX/WSX)

Caution: This document is not valid for the FS-A1FX.

About the FS-A1ST / GT

The follwing is many ambiguous because we do not analyze it well.

From page 0, there seems to have a built-in software or something like that.
From page 028h there is the Main-Rom.
From page 080h there is S-RAM.
From page 100h, there is the data of the Disk-ROM.
From page 180h, there is the RAM with Main-RAM in first.

Par Grauw

Ascended (10604)

Portrait de Grauw

07-09-2017, 16:13

Nice! Wiki it! Big smile

Par Louthrax

Prophet (2419)

Portrait de Louthrax

07-09-2017, 16:32

gdx wrote:

Same problem with USAS.

Aaaargl! Same problem with MOG too? Could you also try with the other interruptions mode (Auto-fast, None and DI)?

SofaROM still has another difference with MEGAMU (MEGAMU is saving the stack and uses a custom stack area during the switch operations, maybe there's a reason for that).

And thanks for the translation, it seems to match what I had so far.

Par Vampier

Prophet (2397)

Portrait de Vampier

07-09-2017, 18:41

Not sure if this is know.. when I try to save to disk with Game Master 2 from any Konami game the caps lock comes on on my FRS SCC+ SD and the MSX seems to hang. Any idea how to work around this?

I also managed to get MG2 working after applying the slot selector patch. And SD Snatcher works like a charm although disk delay must be set 1 in order to watch the 'reveal' close to the end boss.

Par Louthrax

Prophet (2419)

Portrait de Louthrax

07-09-2017, 19:19

Vampier wrote:

Not sure if this is know.. when I try to save to disk with Game Master 2 from any Konami game the caps lock comes on on my FRS SCC+ SD and the MSX seems to hang. Any idea how to work around this?

Hi Vampier,
This should work. Can you give more details (which game are you launching, with which options / ROM device)? Details about your configuation (MSX type, RAM, etc...) are also welcomed!

Par gdx

Enlighted (5595)

Portrait de gdx

08-09-2017, 11:12

Louthrax wrote:

Same problem with MOG too?

Yes, and now the /i option seems to have no effect.

Grauw wrote:

Nice! Wiki it!

Done! I also corrected some mistakes.
https://www.msx.org/wiki/Panasonic_mapper

Is there a way to enable write protection for RAM?

Par Louthrax

Prophet (2419)

Portrait de Louthrax

08-09-2017, 13:18

We had a long debugging session with Meits yesterday, he has the same problem on his 512KB expanded ST. The issue seems not related to the interruption mode or even the "memory restoring" process. I noted that my configuration in 7FF8 is a bit different from the one of MEGAMU (for the lower pages at #0000-#4000, which should have no effect on ROMs, but you never know...).

I've found no way to configure the RAM as ROM so far. Selecting the ROM pages starting at #28 just selects the real ROM, not RAM configured as ROM. Maybe some undocumented registers (maybe some bits at #7FF9) would allow that, everything would be way faster and simpler this way...

Page 10/20
3 | 4 | 5 | 6 | 7 | 8 | 9 | | 11 | 12 | 13 | 14 | 15