User avatar
HonkeyKong
Posts: 27
Joined: Fri Jan 11, 2013 3:25 pm
Location: Kansas, USA

OpenMSX

Sun Jan 27, 2013 9:25 am

I've compiled OpenMSX for the Raspberry Pi, and thought I would share it, since there don't seem to be any MSX emulators out there aside from MESS (which was a headache to set up and use properly). It seems to perform well at a 900MHz overclock, I haven't tested it at stock speeds. To give it a bit more of a speed boost, once it's running, press F10 to open a console, and type "set scanline 0" to disable the scanline effect. More console commands can be found at http://openmsx.sourceforge.net/manual/commands.html

The system BIOS files should be placed in "/home/pi/.openMSX/share/systemroms/". At the very least, you should have msx2.rom and ms2ext.rom in this directory. These and other BIOS ROMs can be downloaded from Marat Fayzullin's site at http://fms.komkon.org/fMSX/

If you're using EmulationStation, you can add the following lines to your es_systems.cfg file to add MSX/MSX2 support:

Code: Select all

NAME=MSX/MSX2
PATH=/path/to/roms
EXTENSION=.rom .ROM .mx2 .MX2 .mx1 .MX1
COMMAND=openmsx -cart %ROM%
Last but not least, compiled binaries for OpenMSX are located below.

http://www.mediafire.com/?ka48s8kx6ffmn97

User avatar
ulysess
Posts: 311
Joined: Thu Aug 02, 2012 6:35 am
Location: Spain

Re: OpenMSX

Mon Jan 28, 2013 1:41 pm

Thanks you so much! I'll post on my blog if you don't mind
  • PiKISS for Raspberry Pi: https://github.com/jmcerrejon/PiKISS
  • Blog: https://misapuntesde.com/
  • Patreon: https://www.patreon.com/cerrejon?fan_landing=true
  • Twitter: https://twitter.com/ulysess10
  • Discord: https://discord.gg/Y7WFeC5

User avatar
HonkeyKong
Posts: 27
Joined: Fri Jan 11, 2013 3:25 pm
Location: Kansas, USA

Re: OpenMSX

Mon Jan 28, 2013 10:52 pm

I don't mind. Go ahead and post it. :)

NunoCardoso
Posts: 6
Joined: Fri Feb 01, 2013 9:27 pm

Re: OpenMSX

Fri Feb 01, 2013 9:33 pm

Hi,

I followed what you said. Downloaded the binaries for openmsx, moved share directory to .openMSX.

Yet, executing openmsx or openmsx -machine {machine} throws me on a black screen. I'm using a large monitor with a RCA composite.

I had the same problem when going throug apt-get install openmsx (0.8.2). Any idea on what's the problem?

User avatar
HonkeyKong
Posts: 27
Joined: Fri Jan 11, 2013 3:25 pm
Location: Kansas, USA

Re: OpenMSX

Sat Feb 02, 2013 1:06 am

NunoCardoso wrote:Hi,

I followed what you said. Downloaded the binaries for openmsx, moved share directory to .openMSX.

Yet, executing openmsx or openmsx -machine {machine} throws me on a black screen. I'm using a large monitor with a RCA composite.

I had the same problem when going throug apt-get install openmsx (0.8.2). Any idea on what's the problem?
Hmm, I'm not sure. Did you put the BIOS files inside the "systemroms" directory? Running "openmsx" by itself boots into the BIOS for me, with MSX2.ROM and MSX2EXT.ROM in "~/.openmsx/share/systemroms". I always used "openmsx -cart ROMfile", with ROMfile being the ROM I'm trying to run. Does that work for you? If not, you may need more BIOS files. When you run "openmsx -machine {machine}", it should tell you which BIOS files are missing.

NunoCardoso
Posts: 6
Joined: Fri Feb 01, 2013 9:27 pm

Re: OpenMSX

Sat Feb 02, 2013 1:18 pm

I tried on HDMI, and it works.

Well, on composite, it doesn't. Go figure.

NunoCardoso
Posts: 6
Joined: Fri Feb 01, 2013 9:27 pm

Re: OpenMSX

Sat Feb 02, 2013 1:44 pm

It freezes on Konami's player/joystick/keyboard menu, after I pick one options or trigger the space key.

I have it a 900Mhz and I am using that C-BIOS.

Maybe I should try different machines?

Vampier
Posts: 1
Joined: Sun Feb 03, 2013 4:52 pm

Re: OpenMSX

Sun Feb 03, 2013 5:00 pm

Hi,

I believe 'reverse' is still enabled (real time reverse to an earlier point in the emualtion)

Try this in the console for a speedboost: set auto_enable_reverse off

We recently put some more arm specific code in openMSX to run on android, since I don't have a Pi to test with I'm not sure if these changes are compiled in. The latest SVN also has improvements in the on screen menu.

We're always on irc.freenode.net #openMSX

Vampier - openMSX Team Member

grit
Posts: 12
Joined: Thu Jul 05, 2012 5:35 am
Location: Amsterdam

Re: OpenMSX

Thu Jul 11, 2013 4:13 pm

Nice, I managed to install and run it on the small moebius release package:
http://moebiuslinux.sourceforge.net/

With the help of installing the libraries below Download your openmsx binary and install these:

libsdl-dev
libsdl2.0-dev
tcl8.5
libglew-dev
libtheora-dev
libao-dev


Handy; A list of modes to set your RCA to PAL/NTSC or whatever, not sure if you want to but just to make this a complete post:

nano /boot/config.txt

sdtv_mode=0 Normal NTSC
sdtv_mode=1 Japanese version of NTSC – no pedestal
sdtv_mode=2 Normal PAL
sdtv_mode=3 Brazilian version of PAL – 525/60 rather than 625/50, different subcarrier
(taken from http://elinux.org/RPiconfig#Video_mode_options )

foobarecho
Posts: 18
Joined: Tue Aug 06, 2013 4:56 am

Re: OpenMSX

Wed Aug 14, 2013 6:12 am

Could you please post how to compile openmsx for raspbian, I'm interested in checking source and fixing a problem.

--edit: the problem below disappeared after running lightdm just once, I tried to reproduce the problem afterward, tried several reboots, never happened. must be a bug were stuck between cpu legs :D
the problem is with loadstate, it returns to a black screen, the emulation though continues to work and I guess this state is loaded, I can press F10 and do things as usual, but can't see anything.

Only sometimes loadstate displays screen. I don't know what's going on, I guess the code fails to redraw /reinit the screen if an error occurs.

This only happens when openmsx running with lightdm stopped (need this so I can run it from emulationstation).
It is also helpful if openmsx can open zip and recognize dsk from rom using one option (e.g. openmsx -load xxx.dsk|xxx.zip|xxx.rom . I made a shell script to do that so I can integrate it with emulationstation.

thanks

Edited after discovering a previous error I reported about rom parsing failed unexpected end of data, is just warning that appears everytime I run openmsx and doesn't affect it, and that loadstate works normally when lightdm is running.

foobarecho
Posts: 18
Joined: Tue Aug 06, 2013 4:56 am

Re: OpenMSX

Thu Aug 15, 2013 11:48 am

I managed to compile openmsx source, it became 2x bigger than your openmsx binary, not sure why. I followed compilation instruction on openmsx faq and set the openmsx_target_cpu = arm and openmsx_target_os = linux.

hachadorada
Posts: 13
Joined: Fri Dec 28, 2012 4:44 pm

Re: OpenMSX

Wed Apr 09, 2014 7:50 pm

Hi everybody,
Can someone help me to install OpenMSX on my Pi running RetroPie? I know how to change the cfg files for execution, configurations, and all, but I am not sure of how should I install this emulator in the first place.
Thank you all for your help!

foobarecho
Posts: 18
Joined: Tue Aug 06, 2013 4:56 am

Re: OpenMSX

Thu Apr 10, 2014 12:05 pm

hachadorada wrote:Hi everybody,
Can someone help me to install OpenMSX on my Pi running RetroPie? I know how to change the cfg files for execution, configurations, and all, but I am not sure of how should I install this emulator in the first place.
Thank you all for your help!
Did you download the file and looked inside? what did you see?

hachadorada
Posts: 13
Joined: Fri Dec 28, 2012 4:44 pm

Re: OpenMSX

Thu Apr 10, 2014 2:09 pm

foobarecho wrote:
hachadorada wrote:Hi everybody,
Can someone help me to install OpenMSX on my Pi running RetroPie? I know how to change the cfg files for execution, configurations, and all, but I am not sure of how should I install this emulator in the first place.
Thank you all for your help!
Did you download the file and looked inside? what did you see?
Hey, thanks for helping.
I unpacked the contents and copied them to my Home folder. I believe the problem is coming from the lack of certain dependencies. I will look around to see which libraries are requiered for openMSX.

foobarecho
Posts: 18
Joined: Tue Aug 06, 2013 4:56 am

Re: OpenMSX

Thu Apr 10, 2014 2:53 pm

What do you get, what's happening when you are trying to install.
I forgot the exact process. and right now, my PI is not handily available. I later compiled openmsx by myself. you may want to try that. you'll need to look at openmsx site for documentations. the results worked perfectly fine. but be warned, it takes long time to compile on PI, better to use linux and compile it for Arm cpu. if you share what's happening, I might be able to remember and help you.

Sorry for not being very helpful

hachadorada
Posts: 13
Joined: Fri Dec 28, 2012 4:44 pm

Re: OpenMSX

Thu Apr 10, 2014 3:41 pm

I got it working. It's not runnig fast, but it works; I will worry about speed later.
After looking at the procedure to compile it, I noticed that some libraries had to be installed prior to compiling. I installed the libraries and it went ok after that.
Compiling the whole thing takes some 4 hours... it's bad but it's not impossible. But it seems you can install the dependencies and then use the binaries and get it to work.
Thanks for helping!

drfloyd
Posts: 11
Joined: Tue Apr 22, 2014 10:53 am

Re: OpenMSX

Tue Apr 22, 2014 11:41 am

Hello !

Just discover this MSX topic

I have just asked in theEmulator section if it will be possible to boot direct a RaspPI computer with a MSX Emulator ? I would like to use this computer only for MSX Emulation, so don't need Linux OS... It should be fast without loading screen : I need to come directly to MSX home screen.

Hope you can reply (and sorry if this is a duplicate message)

Zleepy
Posts: 1
Joined: Sun Feb 28, 2016 6:00 pm

Re: OpenMSX

Sun Feb 28, 2016 6:02 pm

Hi,

To run an msx emulator without having to boot X, try this one:
https://github.com/pokebyte/blueberryMSX

I have yet to try it, but it looks promising :-)

Return to “Gaming”