Is possible getting back to sofarun from game launched?

Page 2/2
1 |

By Pentarou

Champion (360)

Pentarou's picture

30-08-2020, 02:12

So if I understand correctly the computer internal RAM/ROM are bypassed, the CPU executes code from the cartridge which can be reconfigured to mimic various slot configurations and the IORQ are rerouted to the internal devices when needed.

But back on topic: Maybe @Louthrax could give a definitive answer if it's doable via software only or not.

By gdx

Enlighted (4386)

gdx's picture

30-08-2020, 10:39

To back to the initial state before the execution of a ROM I think the contents of RAM (at least everything there is from the address indicated by HIMEM) have to be saved. The problem is where to save this area. If we use the memory mapper, games that use it will crash. We can't use a disk because it will probably not work during the ROM execution.

Another problem is how to get the hand back? Many games bypass correponding hooks or the interrupt routine. So if you set keys for it and the game bypasses it, the keys will have no effect. To solve this problem some people move the BIOS to the RAM but this further decreases the support for games.

In short, there is no ideal solution.

By Pentarou

Champion (360)

Pentarou's picture

30-08-2020, 19:43

gdx wrote:

If we use the memory mapper, games that use it will crash.

Nowadays there are also cartridges with Flash or RAM, people with a set of MegaROMs on SD/CF have that.
But anyway, what if there are free RAM pages? Like when we have 512Kb and we load a 128Kb Megarom?

gdx wrote:

Another problem is how to get the hand back? Many games bypass correponding hooks or the interrupt routine. So if you set keys for it and the game bypasses it, the keys will have no effect..

SROM does already insert hooks for Joymega, wouldn't that approach work?

By _ThEcRoW

Expert (124)

_ThEcRoW's picture

30-08-2020, 19:56

The problem i was referring was that when i click on the link you provided, i cannot access to the wiki page about grun, as it shows a database error.

It says:
Database error
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "User::addToDatabase". Database returned error "1062: Duplicate entry ' ThEcRoW' for key 'user_name' (localhost)".

By _ThEcRoW

Expert (124)

_ThEcRoW's picture

07-10-2020, 11:43

I have a question regarding the paramsx-r cartridge. Is it for sale anywhere?. I try to find infirmation but on the developer page there is not much info regarding that.
Thanks in advance!

By Randam

Paragon (1286)

Randam's picture

07-10-2020, 12:43

I also wanted to buy the paramsx-r cartridge. But I didn't hear a response then. So I also would be interested to know.

By sdsnatcher73

Paragon (1864)

sdsnatcher73's picture

07-10-2020, 14:47

_ThEcRoW wrote:

I have a question regarding the paramsx-r cartridge. Is it for sale anywhere?. I try to find infirmation but on the developer page there is not much info regarding that.
Thanks in advance!

It is created and sold by Sharksym, you can find info on his blog.

Page 2/2
1 |