Java MSX Emulator

Page 2/3
1 | | 3

By arnoncardoso

Supporter (1)

arnoncardoso's picture

02-02-2005, 14:47

Hi,
A friend alert me about this thread.
You can decompile my code and use it whenever you like. I only ask you to keep the credit for the original code and the credit for the Z80 code must go to the Jasper emulator author (forgot hit name :-().
About the page on classicgaming. When I changed my email I tried to contact the administrator there but he didn't answer any of my emails. So I can't update the page anymore because I don't know the password. :-(
Anyway, I did some subtle changes on jmsxemu but nothing that is good enough to release. Played a little with sound emulation and better interrupt handling. I also worked on Javanese (http://www.ifrance.com/jarodcanal/), Cottage (http://java-emu.emuunlim.com/) and did a fmsx port to the dreamcast console (http://www.ngemu.com/dc/fmsxdc.php).
And yes, I would like to receive the final version. You can send it to arnoncardoso@gmail.com.

Best.

By 4play

Resident (53)

4play's picture

27-02-2005, 11:47

Whaaa a Java MSX emulator.

nice nice nice

can yolu people make an option to play in 320x320 pixels so i can play this Java emulator on my Palmone zire 72 that would realy be great. becouse there does not seem to be an MSX emulator on the Palm Platform but it can do java.

By cax

Prophet (3736)

cax's picture

27-02-2005, 13:24

can yolu people make an option to play in 320x320 pixels
320x320 ? 256*212 is not enough for you ?

BTW, can anybody compare the horse power of various Java-enabled phones and estimate whether they are capable of running MSX emulation at all ?

Update:
I just found some mobile phone benchmark with results for major phone models:
http://www.abstractworlds.com/strangemaze/index.php?id=bench

The question still remains: how their Java implementation speed corresponds with, for example, PC speed and which of them will be fast enough to emulate MSX ?

By cax

Prophet (3736)

cax's picture

27-02-2005, 15:00

One more update:

I just found some old, but representative comparison of Java speeds on PC, handhelds and mobile phones.

http://www.javaworld.com/javaworld/jw-10-2002/jw-1025-j2mebenchmark-p3.html

If I understand it correctly, any mobile phone hardly can emulate MSX in Java.
Maybe the latest and the fastest of them can...

By freakazoid

Supporter (6)

freakazoid's picture

28-02-2005, 13:56

Sorry folks about the delay, but my son's birth made me stop all working and hobby threads Big smile
I finished a version but it was to big for my siemens S55 JVM take care. I got a "OutOfMemory" exception on face.
I will need to make a clearing on adapted code for a better image generation and ROM load.
I'll send news ASAP.

By evulopah

Paladin (667)

evulopah's picture

28-02-2005, 15:03

hehehe, you say it the right way: made me stop.... for 'crying' out loud!!!!!!!

By freakazoid

Supporter (6)

freakazoid's picture

07-03-2005, 14:17

NEWS. It worked on Sun SMTK, but it was tooooo slowwww. But I got a happy moment besides it took 5 minutes to start up the ROM BIOS and more several minutes to go to BASIC interpreter shell. (On a Sony VAIO P4 2.8Ghz)
I optimized the drawing, but its not good yet.
The instruction dictionary must be optimized, but i dont know how.
May be switch case doesnt work well in J2ME. And it is using MIDP 1.0 API. Does exist Game Graphics classes like MIDP 2 in MIDP 1?I guess there is a specialized way of drawing bits in Siemens Mobiles. I will search a way out.

By Guillian

Prophet (3438)

Guillian's picture

07-03-2005, 14:55

I think actual (common) phones are not fast enough for running a j2me MSX emulator. Moreover, they have a limited heap memory, JAR restrictions, etc. which means it is a hell to try it. Furthermore, MIDP 1.0 is quite limited with graphics; you can't have pixels access and the only available methods are drawing (copying) images, drawing primitives (lines, rectangles...) and a few more.
You can try to focus the emulator in a concrete model or family like Nokia S40, S60 in order to get some special API's for sound and graphics. But I think it will not be enough for doing a decent MSX emulator.

By freakazoid

Supporter (6)

freakazoid's picture

16-03-2005, 14:14

Besides I got a S60 model (nokia 7650), I still interested in developing a pure J2ME emulator. It worked here, but too slow. No sound and a horrible sprite drawing routine, but it did work Big smile (I saw Konami´s Nemesis on screen). Im trying to imagine a way to optimize the Zilog Z80 CPU emulation. The original decompiled is a "big switch" in the 256 instructions. Im working in make a more inteligent instruction match using a statistical approuch or a way of grouping instructions in sub sets for a kinda of hash matche. Any ideias?

By cax

Prophet (3736)

cax's picture

16-03-2005, 14:19

Did you try to run profiling on the code ? If yes, was the mentioned code section identified as a bottleneck ?

Page 2/3
1 | | 3