Share

JStella Atari 2600 Emulator

Code

Programming Languages: Java

License: GNU General Public License (GPL)

Repositories

browse code, statistics cvs -d:pserver:anonymous@jstella.cvs.sourceforge.net:/cvsroot/jstella login

cvs -z3 -d:pserver:anonymous@jstella.cvs.sourceforge.net:/cvsroot/jstella co -P modulename

Show:

What's happening?

  • Followup: RE: J2ME

    Hi there. I've released an early version of JMStella which works quite well, if a bit slow. I realise now why the blended palette was required - some games flicker an awful lot! Pac Man is the infamous example, but I was surprised that even Yar's Revenge doesn't render the whole screen in one go. I may be forced to implement this feature and make it optional.

    2009-10-26 14:03:24 UTC by mooncat69

  • Followup: RE: J2ME

    Thanks. I've got rid of it now and saved myself 64k. I have something vaguely working now, but it's very, very slow. I will have to do some profiling and remove a lot of abstraction. I've also noticed there are lots of int[]s generated.

    2009-08-31 07:08:09 UTC by mooncat69

  • Followup: RE: J2ME

    I would get rid of the blended palette stuff for now. If I remember correctly, it is used in the "phosphor" setting, aka anti-flicker. It creates a 256x256 array, which I think is used to store the calculated colors between any two colors so future uses don't have to recalculate. It is 64k variable...

    2009-08-29 19:06:39 UTC by mauvila

  • Followup: RE: J2ME

    I'm writing some real code now, not just getting it to compile. However, it falls over in JSVideo.initPalettes() with an out of memory exception!

    2009-08-29 13:32:25 UTC by mooncat69

  • Followup: RE: J2ME

    Thanks! I'd heard about the scanline chasing and how difficult it was to write games for it.

    2009-08-26 22:20:53 UTC by mooncat69

  • Followup: RE: J2ME

    Emulating the CPU is not the problem. But emulating the TIA correctly requires quite a lot of CPU power, because there is no framebuffer. Instead the CPU is "racing the beam" to update the various graphic registers just in time. Have fun! Thomas.

    2009-08-26 21:39:11 UTC by tjentzsch

  • Followup: RE: J2ME

    All committed now.

    2009-08-26 21:02:43 UTC by mooncat69

  • Followup: RE: J2ME

    I've created jmstella, just adding the files.

    2009-08-26 20:08:39 UTC by mooncat69

  • Followup: RE: J2ME

    That's a good idea. I was going to wait until I had something at least working before I committed anything but perhaps now is the time to create a project. Arguably, this could be a branch or addition to JStella, like the approach taken by javagb, where most of the code is common, with packages containing various UI implementations. However, I found the abstraction prevented the sort of...

    2009-08-26 19:30:54 UTC by mooncat69

  • Followup: RE: J2ME

    You ought to create a JMStella project and post the code there...that way, people can help with the code. I recommend keeping Netbeans if possible... I can help clarify what does what, what's unneeded, etc.

    2009-08-26 17:44:54 UTC by mauvila

Our Numbers