This is what I did up til now:
1. I ssh-ed to the Odroid Go Advance, installed nano and openmsx with "sudo apt-get install openmsx".
So far so good. openmsx seems to get added to the /bin folder. To do: move it to it's own folder in /opt
sudo apt list --installed shows two new entries:
Code: Select all
openmsx-data/focal,focal,now 0.15.0-2ubuntu2 all [installed,automatic]
openmsx/focal,now 0.15.0-2ubuntu2 arm64 [installed]
Created subfolders:
/roms/msx/games
/roms/msx/bios
An then copied DISK.ROM MSX2.ROM MSX2EXT.ROM to /roms/msx/bios to use for minmal a config of an MSX-2.
Copied some .ROM MSX-1 and MSX-2 games to the folder /roms/msx/games
3. Then I edited /etc/emulationstation/es_sytems.cfg using nano as an editor and added an extra emulator.
Code: Select all
<system>
<name>msx</name>
<fullname>MSX</fullname>
<path>/roms/msx/games/</path>
<extension>.rom</extension>
<command>/bin/openmsx -cart %ROM%</command>
<platform>msx</platform>
<theme>msx</theme>
</system>
4. Rebooted the system and behold the MSX-logo appeared in the menu. and I was able to select roms. Great!
5. Tried to start some roms. No luck. They display a black screen and then return to ES. There's no MSX startup logo.
6. Found that there is an hidden folder in /home/odroid called .openMSX. It contains to folders persistent and share.
The persistent folder contains two subfolders:
~/.openMSX/persistent/C-BIOS_MSX2+/untitled1/cbios-msx2+.cmos
This file either came with the apt-get install or was created on first run of OpenMSX since I did't put it there.
~/.openMSX/persistent/console
This directory is empty.
Note: when you start openMSX with the machine switch e.g. -machine Philips_NSM_8255 a new subfolder gets created here ( ~/.openMSX/persistent) with the name of the machine. It will contain untidled1 subfolder containing a machine.cmos file.
All good to know. But it doesn't solve my problems.
The share folder contains a file setiings.xml. I think this was in it:
Code: Select all
<!DOCTYPE settings SYSTEM 'settings.dtd'>
<settings>
<settings>
<setting id="renderer">SDL</setting>
</settings>
<bindings/>
</settings>
Then I changed settings.xml into this:
Code: Select all
<!DOCTYPE settings SYSTEM 'settings.dtd'>
<settings>
<settings>
<setting id="scale_factor">1</setting>
<setting id="fullscreen">true</setting>
<setting id="default_machine">Philips_NMS_8255</setting>
<setting id="renderer">SDL</setting>
</settings>
<bindings/>
</settings>
~/.openMSX/share/extensions
~/.openMSX/share/machines
~/.openMSX/share/systemroms
And copied my extension collection, my machines collection (containing a Philips_NMS_8255 profile) and my systemroms collection to those folders.
Restarted ES. Still no luck.
7. Tried starting openmsx --help from commandline.
It doesn't crash. Displays the help options. So it's alive and doing something. I think the problem is with the SDL-renderer. So I lookup the options in the openmsx usermanual and found an option for alternative SDL renderer called SDLGL_PP. Then I changed settings.xml into this:
Code: Select all
<!DOCTYPE settings SYSTEM 'settings.dtd'>
<settings>
<settings>
<setting id="scale_factor">1</setting>
<setting id="fullscreen">true</setting>
<setting id="default_machine">Philips_NMS_8255</setting>
<setting id="renderer">SDLGL_PP</setting>
</settings>
<bindings/>
</settings>
8. I tried apt-get installing libsdl. Still no luck.
9. Run openmsx form cli gives the error:
"Uncaught exception: SDL video init failed: Unable to memory map the video hardware (and I have no otherideas to try...)"
So now I'm out of options. Anybody have any ideas on how to get OpenMSX running out of the box?
If not the next step would be to recompile openmsx and instead of using SDL getting it to play nice with libgo2. But I wouldn't know where to start.
First get openmsx sources from github. Get it to compile. Alter stuff. Try again?
Any tips would be greatly appreciated.
GNF