How To Load another program from an MSX-DOS's running executable ?

By ericb59

Paragon (1046)

Аватар пользователя ericb59

25-06-2020, 10:21

Hi,

I can't understand how I can load a second executable from a program already running under MSX-DOS.
A concrete case:
I want to make a game intro, which will then load the game.

How to proceed ?

Thank you for your answers.

Для того, чтобы оставить комментарий, необходимо регистрация или !login

By DarkSchneider

Paladin (942)

Аватар пользователя DarkSchneider

25-06-2020, 10:39

The execl command of MSX-C does that. I think the set includes the source code, so you could take it a look.
https://www.fvue.nl/wiki/MSX-C_manual
In DOS2, we have some advantages like 3.76 and 3.77:
http://map.grauw.nl/resources/dos2_functioncalls.php#_FORK

By Grauw

Ascended (10074)

Аватар пользователя Grauw

25-06-2020, 11:35

I also suggest you give the MSX-DOS version 2 - environment reference a thorough read. E.g. in DOS2 you should set up the PARAMETERS and PROGRAM environment variables.

Louthrax has implemented this for SofaRun so he may be able to pitch in.

By ericb59

Paragon (1046)

Аватар пользователя ericb59

26-06-2020, 10:17

Thanks I will look at that.