fMSX for Android released

Pagina 10/49
3 | 4 | 5 | 6 | 7 | 8 | 9 | | 11 | 12 | 13 | 14 | 15

Van fms

Champion (354)

afbeelding van fms

20-07-2011, 10:28

The Android volume control changes the overall volume... I mean the difference between the volume of the PSG and SCC chip. It's not that it sounds broken (it's fine); It's just that the PSG seems loud compared to the SCC, if I base it on various real MSX systems I know.
Mhm, I will check the relative volumes on these guys. This may be related to the way I weight channels for each of the chips, while in reality they should all be summed up and weighted together. Anyway, will look at it tonight.

Van fms

Champion (354)

afbeelding van fms

20-07-2011, 20:21

Samor: I have checked the code and it looks like AY8910 and SCC have exactly the same relative volumes when it comes to mixing. No idea why one feels more loud than the other. Maybe SCC is physically quieter in the real MSX hardware...

Van Samor

Prophet (2057)

afbeelding van Samor

21-07-2011, 04:22

Well, there are some MSX models that clearly lower the PSG volume when you insert an SCC cartridge, but that's not nescesarily the desired behaviour either; for example, the Philips NMS8250 (MSX2) has a bug where it lowers the PSG volume way too far, and you almost only hear the SCC.
I'm not good at the technical explanation of it, but on a real MSX you could influence the balance by putting a variable resistor behind pin 49 of the cartridge, or on the wiring behind the same pin on computer's slot itself (if you'd want to change it for all cartridges).

Van SLotman

Paragon (1224)

afbeelding van SLotman

21-07-2011, 05:49

It crashes here on my Android 2.2 Sad
I created a folder "rom" on my SD card, MSX roms on it - select any rom, it crashes.
Am I missing something?

You are missing reading instructions, which tell you to put the MSX ROMs onto "/sdcard", not into "/sdcard/rom".

I did read the instructions. I have the game-roms inside a 'roms' folder. MSX.ROM, MSX2.ROM, DISK.ROM, MSX2EXT.ROM all in the root folder (also in the rom folder, just to be sure), and still, it crashes.

Van fms

Champion (354)

afbeelding van fms

21-07-2011, 07:01

@SLotman: If you have got DDMS or ADB on your PC, would appreciate to see the debug output ("adb logcat" ).

Van LeoM

Master (229)

afbeelding van LeoM

21-07-2011, 09:15

At first it crashed on my Samsung Galaxy S2 too. ( Wink )
I had put the rom files in the root of my sd-card, but all I got was a black screen, and a "frozen" phone.

Then I put the rom files in the root of the normal memory of my phone (and not on the sd-card), now it works.

Van fms

Champion (354)

afbeelding van fms

21-07-2011, 09:39

LeoM: Very weird. It is not supposed to happen this way. Care to tell what the paths for the sd-card and the normal memory are in your phone?

Van pitpan

Prophet (3133)

afbeelding van pitpan

21-07-2011, 09:53

Mmmm.

Just one easy question, Marat: did you port fMSX to Java for running it in Android devices or did you use C as in the original source code? I'm just wondering 'cause I'm about to start some dev projects for Android and I'm not sure about the language to choose. Java provides portability at some CPU cost, of course.

Thanks.

Van fms

Champion (354)

afbeelding van fms

21-07-2011, 11:19

pitpan: fMSX-Android uses the same C code as all other fMSX ports. It is compiled using the NDK. I did have to write a wrapper in Java though. Generally, for anything requiring even a bit of computational performance, forget about Java.

Van pitpan

Prophet (3133)

afbeelding van pitpan

21-07-2011, 11:33

Thanks for the tip. My project shouldn't be neither CPU or graphics intensive, but anyway it's good to know that C is an option. I feel more comfortable coding in C rather than Java (Android) or Objective-C (iPhone, iPad). Maybe it's time to port asMSX for Android and sell it for big bucks!!!! LOL!LOL!LOL!LOL! Hum, no. I forgot that I've already sold the rights Tongue

Pagina 10/49
3 | 4 | 5 | 6 | 7 | 8 | 9 | | 11 | 12 | 13 | 14 | 15