Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: tried Galaga Reply to this message
Posted byTerry Bogard
Posted on07/12/04 04:52 AM




> Maybe.
> My experience is that nowadays the Sun JVM is almost always faster than the MSVM
> (especially the server VM), but I've come around a few cases in which the Sun
> JVM can perform really, really slow where the MSVM performs a lot faster in
> comparison. In those cases I tried to do some optimizations that are just *not
> done* in java, like (manually) inlining code or other micro optimizations I
> would do in C. The Sun JVM doesn't like that and can end up interpreting all
> code that should be jitted. You just have to depend that the Sun VM will do all
> those optimizations for you, and probably (hopefully) better than you could do
> yourself. If you write clean, well encapsulated code, the Sun JVM should perform
> very well in almost all cases, up to speeds comparable to C++. Which is kinda
> nice :-).
> But of course there are still other cases the Sun VM is not very good at (like
> fast trigonometry for example).

The Microsoft JVM is buggy, out of the official specs, deprecated, unsupported. I don't know if it's really faster for some stuff, but people should just forget it and move along, it's like the NeoRAGEx of JVMs . I hear IBM made a fast and sound JVM some time ago, dunno if things are still like that.

> In this case however, I doubt it. It's all just simple stuff going on and that
> should work reasonably well, even on old CPU's. I still think that it might be
> an openGL issue. Maybe for some reason it selects a software openGL mode for
> example.

I suppose it is an OpenGL issue as well, I've found that my TNT performs weirdly under XP. If I don't install any driver and let the ones coming along with XP take care of everything, I have decently fast support for Direct3D and overlays, but uncertain OpenGL support (some apps work, some don't). If I install some less than ancient detonator I get blazing fast Direct3D (well, for a TNT) and no OpenGL at all, plus a very sssssslllllllooooowwww support for overlays that kills every app making use of it (I suspect overlay is emulated via standard GDI calls, which is bad).

The only good thing would be to find some VERY old detonator for XP that makes my card work like it did back when I used Win98, but I really don't know where to look.

So in the end it's probably not your emu's fault at all, since even Space Invaders does not perform at 60FPS on that machine.

> I've seen CottAGE (which is still the core of this emu) perform pretty
> well on a K6-III.

And you have to see it running on this AthlonXP 1800+, GeForce 4 MX440, Sun JVM 1.4.2_04 that I'm running now: everything is as smooth as silk, and the games are beautifully rendered fullscreen with that lite interpolation that I love. You are blitting frames as a texture to an OpenGL rectangle the size of the screen, mh? Is that in any way better than blitting 2D?

Some games just lack sound, I guess there is no sound core for them, but the others sound pretty accurate, what sound library did you use?

OKKAY!

-
Entire Thread
Subject  Posted byPosted On
*Could you please give this java emu a go?  erikduijs07/07/04 09:48 PM
.*Re: Could you please give this java emu a go?  [Pi]07/17/04 09:22 PM
..*Re: Could you please give this java emu a go?  erikduijs07/18/04 03:14 PM
...*Re: Could you please give this java emu a go?  [Pi]07/18/04 07:22 PM
....*Display mode selection changed now  erikduijs07/19/04 04:46 PM
.....*Re: Display mode selection changed now  [Pi]07/19/04 10:44 PM
......*Re: Display mode selection changed now  erikduijs07/20/04 04:23 AM
.......*IIRC  Terry Bogard07/20/04 05:12 AM
........*Re: IIRC  [Pi]07/20/04 07:21 AM
.*Re: Could you please give this java emu a go?  XTale07/17/04 05:01 AM
..*Re: Could you please give this java emu a go?  erikduijs07/18/04 03:18 PM
..*Re: Could you please give this java emu a go?  erikduijs07/18/04 03:08 PM
.*Re: Could you please give this java emu a go?  finaldave07/08/04 12:40 PM
..*Re: Could you please give this java emu a go?  erikduijs07/08/04 05:54 PM
.*tried Galaga  Terry Bogard07/08/04 09:19 AM
..*Re: tried Galaga  erikduijs07/08/04 06:07 PM
...*Re: tried Galaga  finaldave07/11/04 05:02 PM
....*Re: tried Galaga  erikduijs07/11/04 06:16 PM
.....*Re: tried Galaga  finaldave07/12/04 08:08 AM
......*Re: tried Galaga  erikduijs07/12/04 01:57 PM
......Re: tried Galaga  Terry Bogard07/12/04 04:52 AM
......*Re: tried Galaga  erikduijs07/12/04 02:09 PM
.......*Re: tried Galaga  Terry Bogard07/14/04 11:16 AM
......*Re: tried Galaga  erikduijs07/12/04 01:40 PM