fMSX Port - Pre-release

Moderators: mdrjr, odroid

fMSX Port - Pre-release

Unread postby Schuemi » Fri Aug 17, 2018 12:04 am

Hi,

I have released the first Version of my fMSX port. Please find it here:

https://github.com/Schuemi/fMSX-go/tags

Some infos are here:

https://github.com/Schuemi/fMSX-go

Have fun! :D
Last edited by Schuemi on Thu Sep 13, 2018 12:19 am, edited 1 time in total.
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby jutleys » Fri Aug 17, 2018 12:39 am

When i load a game i just get a blue screen i got the three bios files in bios and roms are unzipped in correct locations

Update some games load and some don't so powering off and rebooting will fix some.

Yay playing some pacman here now.

So does this play msx2 games too? well i just tried it and yes it does :)

Do i need to put other bios files in there to make the other games work i have the three you specify on the github only.
jutleys
 
Posts: 51
Joined: Fri Jul 20, 2018 1:06 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby Schuemi » Fri Aug 17, 2018 1:14 am

It might be that several games don't work yet. These roms should be enough in most cases.

And yes, MSX2 works too. :D
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby jutleys » Fri Aug 17, 2018 1:19 am

Schuemi wrote:It might be that several games don't work yet. These roms should be enough in most cases.

And yes, MSX2 works too. :D


That's great so we only need the three bios files to play all the romset.
jutleys
 
Posts: 51
Joined: Fri Jul 20, 2018 1:06 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby mameise » Fri Aug 17, 2018 3:56 am

Cool! Worked first try. Thank you
mameise
 
Posts: 79
Joined: Sat Jul 07, 2018 6:40 am
languages_spoken: english german
ODROIDs: ODROID-GO

Re: fMSX Port - Pre-release

Unread postby lix-alpha » Fri Aug 17, 2018 4:42 am

Super cool! Even if I have no knowledge of that console at all.
Quick question, is there any way to use the entire screen (the height) ?
Maybe in an update.
User avatar
lix-alpha
 
Posts: 65
Joined: Fri Jul 27, 2018 9:41 pm
languages_spoken: english

Re: fMSX Port - Pre-release

Unread postby jutleys » Fri Aug 17, 2018 6:11 am

Good job on the emulator looking forward to the next release :)
jutleys
 
Posts: 51
Joined: Fri Jul 20, 2018 1:06 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby JasonB32 » Fri Aug 17, 2018 8:25 am

Great Job for sure!!!!!!!!!!! THANK YOU THANK YOU THANK YOU
JasonB32
 
Posts: 35
Joined: Sat Aug 04, 2018 11:33 pm
languages_spoken: english
ODROIDs: oDroid GO

Re: fMSX Port - Pre-release

Unread postby Kleetus Van Dam » Sun Aug 19, 2018 11:39 am

What screen do I load the roms on? Also, do the roms have a .rom extension? I've never used an MSX emulator before. Thanks for your help.
Kleetus Van Dam
 
Posts: 3
Joined: Sun Aug 19, 2018 11:31 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby Schuemi » Sun Aug 19, 2018 5:50 pm

Hi,

It is simple:

- Put the roms at the location i discribed.
- press menu button
- Go on load
- choose your game.

There are .rom files for cardriges MSX1, .mx2 are MSX2 cardriges, .dsk discs and .cas for cassettes.

See also the faq here: https://fms.komkon.org/fMSX/fMSX.html
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby Kleetus Van Dam » Mon Aug 20, 2018 3:57 am

Thank you for the assistance. I will check my setup. I think I'm missing a bios file.
Kleetus Van Dam
 
Posts: 3
Joined: Sun Aug 19, 2018 11:31 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby Kleetus Van Dam » Tue Aug 21, 2018 10:16 am

Just an update, in case others are having the same problem. My folder structure, naming convention, and bios files were all correct. My issue with loading roms, hanging on the loading screen indefinitely was that I had 716 roms in there! I narrowed it down to a couple dozen essential games, and they all loaded just fine.
Kleetus Van Dam
 
Posts: 3
Joined: Sun Aug 19, 2018 11:31 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby androino » Thu Aug 23, 2018 5:19 pm

Hi,

Thanks for the emulator Schuemi.

I tried with some roms and it works fine. But I am trying to load .dsk disk file and it won't load. I tried with Snatcher and SD Snatcher. The menu appears but I dont know how to start the game.

Thanks.
androino
 
Posts: 2
Joined: Thu Aug 23, 2018 5:13 pm
languages_spoken: english
ODROIDs: Odroig-Go

Re: fMSX Port - Pre-release

Unread postby meveric » Thu Aug 23, 2018 5:42 pm

androino wrote:The menu appears but I dont know how to start the game.

The MSX1 and MSX2 were "computer" not just gaming consoles. They had a full keyboard and did not always just use a joystick.
Therefore each game can have a different key layout and only a few "keys" are mapped to the buttons of the ODROID-GO, and if these key do not match the keys of the game you're pretty much stuck.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9064
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: fMSX Port - Pre-release

Unread postby mad_ady » Thu Aug 23, 2018 7:29 pm

An on-screen keyboard like the one on spectrum might be useful - also with custom key mapping.
User avatar
mad_ady
 
Posts: 4430
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: fMSX Port - Pre-release

Unread postby meveric » Thu Aug 23, 2018 11:21 pm

mad_ady wrote:An on-screen keyboard like the one on spectrum might be useful - also with custom key mapping.

Agreed
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9064
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: fMSX Port - Pre-release

Unread postby davidknight247 » Fri Aug 24, 2018 3:05 am

The menu code is in main.c.

https://bitbucket.org/DavidKnight247/od ... #lines-443

Share and enjoy!
davidknight247
 
Posts: 29
Joined: Sun Jul 01, 2018 8:35 am
languages_spoken: english
ODROIDs: Odroid go

Re: fMSX Port - Pre-release

Unread postby androino » Mon Aug 27, 2018 7:43 am

You can customize the key mapping for your own roms using a ini file. Create the file in /odroid/data/msx/[YOUR_ROM_FILENAME].ini with a content like:

Code: Select all
[KEYMAPPING]
UP="w"
LEFT="a"
DOWN="s"
RIGHT="d"
A="0"
B="1"
START="RETURN"
SELECT="ESC"


The problem is that I don't know the correct keys to move between the menu to start the videogame Snatcher or SD Snatcher.

Thanks.
androino
 
Posts: 2
Joined: Thu Aug 23, 2018 5:13 pm
languages_spoken: english
ODROIDs: Odroig-Go

Re: fMSX Port - Pre-release

Unread postby Schuemi » Thu Sep 13, 2018 12:18 am

Hi,

firstly, sorry that I didn't wrote anything for about one month. I had a lot of work to do, sometimes I don't know whether I'm coming or going. BUT:

I made a new Version here: https://github.com/Schuemi/fMSX-go/tags

New is, that there is a virtual keyboard now! You can open a virtual keyboard by pressing an hold the "A" button ans then the "Menu" button. On the virtual keyboard you can use the "A" or the "B" button to press a key. If you are holding a button, this button will also be holded in the emulator. So if you go to the "shift" key, press and hold "A" and then while pressing "A" go to the "1" key and press "B" you will write a "!". Because on the real MSX if you would press shift + 1 you will also write a "!".

When the keyboard is open, you can also press "select" to switch between the upper half of the screen and the lower half.

There is also the first version of a new menu. This menu should handle a lot of files in one folder. You can also open the original fMSX menu. When I've added all the functions from the old fMSX menu I'll drop the original fMSX menu.

And to do it the same way, the other emulators do, the root rom path is now "/sd/roms/msx".

My next steps are:
- resolve sound issues in some games
- resolve some speed and color issues with some games
- complete the new menu
- implement preview screenshots of the games
- include WLAN
- 2 player mode over WLAN


So have a nice day and play some games!
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby paisleyboxers » Thu Sep 13, 2018 4:37 am

Hi all, I just noticed a new firmware uploaded by Schuemi (nice work, man!)

This firmware is marked pre-release of course, so as always make sure to test and post any issues to github.

Download here: https://github.com/Schuemi/fMSX-go/rele ... 0180912.fw

Update notes:
- You can open a virtual keyboard if you press and hold "A" and then the Menu button.
- The first version of a new menu. You can also open the original fMSX menu. When I've added all the functions from the old fMSX menu I'll drop the original fMSX menu.
- The root rom path is now /sd/roms/msx

fMSX Port to ODROID-GO

Flash with https://github.com/OtherCrashOverride/o ... e/releases

Please create these directories on your SD Card manually:

/roms/msx/bios
/roms/msx/games
/odroid/data/msx

and put the BIOS files in /roms/msx/bios. You need at least the files MSX2.ROM, MSX2EXT.ROM and DISK.ROM.
paisleyboxers
 
Posts: 4
Joined: Mon Aug 13, 2018 2:10 am
languages_spoken: english
ODROIDs: Odroid-Go

Re: fMSX Port - Pre-release

Unread postby deecee » Thu Sep 13, 2018 5:21 pm

Thank you for pointing us to the new release.

However, please keep in mind the following sentence of the description:

HINT: Unfortunately I noticed some speed problems with this version. I'm working on fixing them.


It is probably a good idea to wait until the problems are fixed.
deecee
 
Posts: 9
Joined: Fri Aug 17, 2018 7:17 pm
languages_spoken: english
ODROIDs: Odroid go

Re: fMSX Port - Pre-release

Unread postby Schuemi » Thu Sep 13, 2018 10:46 pm

Hi,

this version has some speed problems in screen 5 and higher. Please download the fMSX-go_20180913 Version, this version is a little faster.

https://github.com/Schuemi/fMSX-go/tags
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby alektronic » Fri Sep 14, 2018 3:59 am

Hi Schuemi, thanks so much for all your work on this.

Can you give some more information about key mappings, please?

I'd like to map the arrow keys to the odroid-go dpad, but I can't seem to get this working (the ini file is named correctly and in the right place)

Should the MSX key have quotes around it, like androino's post above, or not, like your example of the defaults?

eg.

UP = UP

or

UP = "UP" ?

In your code there seems to be references to KBD_UP etc., but I've also tried this and "KBD_UP" in my ini file with no success.

It would be great to know how to map these, and other special keys like space, start etc.

I can use the virtual keyboard to enter these in the emulator, which works fine - but using the dpad and buttons would be much better for playing games :)
alektronic
 
Posts: 3
Joined: Fri Sep 14, 2018 2:08 am
languages_spoken: english
ODROIDs: ODROID-GO

Re: fMSX Port - Pre-release

Unread postby Schuemi » Fri Sep 14, 2018 4:59 pm

Hi,

I'm very happy that you like this port.

In the source, the keymapping is loaded in LibOdroidGo.c. In LoadKeyMapping you can read for example:
res = ini_gets("KEYMAPPING", "UP", "JST_UP", buffer, 16, KeyFile);

So this searching in "[KEYMAPPING]" the value UP. If there is no "UP" the reault defauls to "JST_UP". Than it goes to SetKeyMapping and there you can see the values. If it is "JST_UP" it sets ODROID_INPUT_UP to "JST_UP".

This means:

On the left side (you might call it ODROID-Go side) you can have:
"UP", "RIGHT", "DOWN", "LEFT", "SELECT", "START", "A" or "B"

On the right side (behind the "=") (you might call it fMSX side) you can have:

"JST_UP"
"JST_RIGHT"
"JST_DOWN"
"JST_LEFT"
"JST_FIREA"
"JST_FIREB"

or a single char like "1" or "W" or what ever.

Ohh, wait, now I understand your problem: Yes you are right. Space or the UP key is not possible yet. I should add more, like "SPACE", "F1", "UP_KEY" etc. Will do this in the next release.
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby alektronic » Fri Sep 14, 2018 8:10 pm

Schuemi wrote:Ohh, wait, now I understand your problem: Yes you are right. Space or the UP key is not possible yet. I should add more, like "SPACE", "F1", "UP_KEY" etc. Will do this in the next release.

Thanks Schuemi, that would be brilliant :geek:
alektronic
 
Posts: 3
Joined: Fri Sep 14, 2018 2:08 am
languages_spoken: english
ODROIDs: ODROID-GO

Re: fMSX Port - Pre-release

Unread postby Schuemi » Sat Sep 15, 2018 9:49 pm

And here it is like ordered: fMSX_20180915

- even more speed and better accuracy in much games
- better sound
- more keybindungs (see main page)
- even more fun
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby paisleyboxers » Sun Sep 16, 2018 3:29 am

Sheumi - You are amazing! Thanks for all the hard work!
paisleyboxers
 
Posts: 4
Joined: Mon Aug 13, 2018 2:10 am
languages_spoken: english
ODROIDs: Odroid-Go

Re: fMSX Port - Pre-release

Unread postby JasonB32 » Sun Sep 16, 2018 11:26 pm

Thank you Sheumi!!!

It would be awesome if the oDroid GO Hat headphone extension would work with MSX. Compatibility with the DAC.
JasonB32
 
Posts: 35
Joined: Sat Aug 04, 2018 11:33 pm
languages_spoken: english
ODROIDs: oDroid GO

Re: fMSX Port - Pre-release

Unread postby Schuemi » Tue Sep 18, 2018 2:39 am

Hi,

I don't have an external DAC. So I cannot test it. Could you test it for me? Please download the test version here (you don't have to create an account):

(an old link was here, please Download the newest Version from https://github.com/Schuemi/fMSX-go/releases)

You can activate the external DAC in the Menu.
Last edited by Schuemi on Wed Sep 19, 2018 3:52 pm, edited 1 time in total.
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go

Re: fMSX Port - Pre-release

Unread postby JasonB32 » Tue Sep 18, 2018 3:33 am

I'm still waiting for my oDroid GO hat in the mail :(

I actually ordered two of them and so many people already have theirs, mail came today and still don't have them, getting concerned :(

but as soon as I get it I'll test it and get back to you.
JasonB32
 
Posts: 35
Joined: Sat Aug 04, 2018 11:33 pm
languages_spoken: english
ODROIDs: oDroid GO

Re: fMSX Port - Pre-release

Unread postby alektronic » Wed Sep 19, 2018 4:28 am

Hi Schuemi,

Just been testing the keymappings in your latest version - thanks for implementing this so quickly.

Just one thing - I think you forgot to add KBD_RIGHT :)

Something like this, around line 99 in LibOdroidGo.c , perhaps?

Code: Select all
if (!strcmp(mappingString, "KBD_RIGHT")) keyMapping[Key] = KBD_RIGHT << 8;


:geek:
alektronic
 
Posts: 3
Joined: Fri Sep 14, 2018 2:08 am
languages_spoken: english
ODROIDs: ODROID-GO

Re: fMSX Port - Pre-release

Unread postby JasonB32 » Wed Sep 19, 2018 4:49 am

Ok, got my oDroid GO Hats today!!! YAY

So it does work but their are definitely some issues...

When I first selected "Audio Output" in the menu it rebooted the MSX emulator, then it was still just the speakers. Then I went and selected it again and it said "DAC selected" or something then "Saving" then it worked, volume works, but then after that happens once DAC is enabled you can't get back into the menu, when you press the menu button it like kind of almost loads the state of the game where the DAC was enabled, everytime you press the menu once DAC is enabled it just loads state of the game you can no longer get back into the menu.
JasonB32
 
Posts: 35
Joined: Sat Aug 04, 2018 11:33 pm
languages_spoken: english
ODROIDs: oDroid GO

Re: fMSX Port - Pre-release

Unread postby Schuemi » Wed Sep 19, 2018 2:26 pm

@alektronic
Oh, yes, you are right. It will fix this.

@JasonB32
Thanks for Testing. The good news is you heard something. It saves the state after you have selected the DAC because I could not change the output without restarting the emulation. I'll check the crashes.

EDIT: new Version online
Schuemi
 
Posts: 10
Joined: Mon Aug 13, 2018 12:45 am
languages_spoken: english
ODROIDs: Odroid Go


Return to Game Emulators

Who is online

Users browsing this forum: No registered users and 2 guests