SofaSMS 0.9 released for beta testing

Página 2/2
1 |

Por Louthrax

Prophet (2293)

Imagen del Louthrax

15-04-2020, 00:46

NYYRIKKI wrote:
alexito wrote:

PS: if you are a Franky owner you can modify the original YSFM.SMS to force use the OPLL FM PAC just grab your favorite HEX editor and modify at the offset 0x7eea (e6) with 0x3e and update the SSMS.INI adding --> /FE2

Does this cause different result than adding /PR7EEA='3E' /FE2 ??

It should, but you even do not need that : the default behavior of SofaSMS is to automatically activate the FM PAC for Franky (* indicates the default values):

# /FD{FM detection emulation}
#   0: None
#   1: Use Playsoniq
#  *2: Patch
# 
# /FE {FM emulation}
#   0: None
#   1: Use Playsoniq
#  *2: Patch for FM-PAC

Note: this is done in an ugly but working way for now by just replacing the FM Detection register by the VDP MSX Register 0x98 Smile (this detection register just has to be read / write)

Alex, you know that you can also flash your Franky directly with SofaSMS right ?

Por Louthrax

Prophet (2293)

Imagen del Louthrax

15-04-2020, 00:37

NYYRIKKI wrote:

Public congratulations from me too!

It's a bit pity that these games still need this "much" manual patching work... Not because it would be too difficult to fix rest of the stuff manually, but because not many players have the required skills to do it... We talked a bit about this with Louthrax already and one of the major reasons seems to be the static patching approach used that does not always give quite enough information for AI to make those needed vice decisions. (In SVI and Memotech MSX ROM loaders dynamic patching approach was used instead) I hope we can find more ways to improve this.

I'm anyway very impressed what Louthrax has done! Although this is still beta, this seems already very well thought and polished tool! It also makes me happy that there is yet another project using this AI to make our MSX life better.

Thanks NYYRIKKI. I continued creating INI file entries for games (Phantasy Star is now working!), it's not that hard,and even fun! The SMS emulator Meka is of great help here, as you can monitor all IO / RAM / VRAM accesses (it could almost be possible to create INI file entries automatically with it, it would only require to play the game 100% including hidden stages, shops, etc... ok, that's maybe not the fastest approach Wink). The Playsoniq too helps a lot to create Franky patches (you can validate one type of patching, only VDP for example, then go for the other ones...).

Dynamic patching will be challenging, as the SMS is very sensitive to timings so there might be some glitches on the first patching of a page, even if disabling / restoring interrupts during the process... We'll see !

Por Louthrax

Prophet (2293)

Imagen del Louthrax

23-04-2020, 17:04

Ah frak, I noticed today the turboR is resetting the 1st byte of all segments to 0x55 at boot time (seems to be applied on all slots). This is corrupting the emulated-SRAM for some games like Phantasy Star that have a signature at start (some other like Ys do not bother).

Other machines (even with GR8Net / Nextor) are preserving this 1st byte, at least on the "high-location" segments (like the one used for SRAM by SofaSMS), so it works here...

Fixes I have in mind:

  • Add an option in INI file to specify what is the 1st byte of the game SRAM.
  • Use the old PAC cartridge ! (problem with that is you need an empty slot)

While thinking about that, doesn't the turboR have some hidden SRAM pages in its hardware ?

Página 2/2
1 |