Two Screen with one OPENMSX ? Is possible ?

By DanySoft

Champion (450)

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

13-06-2021, 21:02

Hello!
Could it have two screens at the same time with OPENMSX
One = v9938/tms9918
Two = v9990/video9000
So I have to use the MSX screen to be able to start building a graph for v9990 / video9000!
Not sure exactly if the OpenMSX emulator supported two screens instead of one screen?

Note: 512x242 + 512x242 = for monitor 1024 x 768
Can you ask the author of the Openmsx emulator, please?
I think he answers with a "no" or with a "yes"?
See you soon! Big smile
DanySoft

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

By Grauw

Ascended (10016)

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

13-06-2021, 22:12

No, it is not supported.

However, you can use the video9000 extension instead of gfx9000 to send an I/O command to make openMSX switch between V9938 and V9990 automatically. This is recommended for V9990 software:

OUT &H6F,&H00  ' Switch to V9990
OUT &H6F,&H10  ' Switch to V9938

See the Video9000 manual for more information.

p.s. openMSX is not made by a single person, but by a team. I sometimes contribute to the project.

By DanySoft

Champion (450)

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

13-06-2021, 22:14

Grauw wrote:

No, it is not supported.

However, you can use the video9000 extension to send an I/O command to make openMSX switch between V9938 and V9990 automatically. (This is recommended actually for V9990 software.):

OUT &H6F,&H00  ' Switch to V9990
OUT &H6F,&H10  ' Switch to V9938

p.s. openMSX is not made by a single person, but by a team. I sometimes contribute to the project.

Ok, all right, but so the solution lies in the real MSX to connect the v9990 cartridge to the second monitor!
DanySoft

P.S.: I understood how to use the P1 / P2 and all the other B1-B4 screens !!
Big smile

By Juan Luis

Master (134)

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

13-06-2021, 22:35

OpenMSX was implemented based on SDL 1.0 until version 16.0. SDL 1.0 only supports one render target, so it's not possible to have two windows with the monitor output.

However OpenMSX 16.0 was migrated to SDL 2.0. You can see this in release notes.
Notes: openMSX 16.0 released

Refactorizing OpenMSX to support SDL 2.0 had to be a very hard work. Both SDL versions are not compatible between them, and I'm sure the OpenMSX developers had to change many lines of code in OpenMSX 16.0.

With SDL 2.0 is possible to have two or more render targets, so perhaps we will have a version of openMSX with two monitor outputs in a near future.

By DanySoft

Champion (450)

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

13-06-2021, 22:43

Grauw wrote:
OUT &H6F,&H00  ' Switch to V9990
OUT &H6F,&H10  ' Switch to V9938

I correct myself: this is the solution:

out &H6F,&H18 ' two screen with trasparency : v9990 + v9938/v9958
out &H6F,&H08 ' show v9990
out &H6F,&H10 ' show v9938/v9958 hidden v9990

Ok.
DanySoft LOL!

By DanySoft

Champion (450)

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

13-06-2021, 22:44

Juan Luis wrote:

OpenMSX was implemented based on SDL 1.0 until version 16.0. SDL 1.0 only supports one render target, so it's not possible to have two windows with the monitor output.

With SDL 2.0 is possible to have two or more render targets, so perhaps we will have a version of openMSX with two monitor outputs in a near future.

Ok Smile