Andreas Gustafsson's Blog

Monday, June 27, 2005

Chip8 emulator

As usual I have a really hard time finishing projects. Things have progressed nicely with the SameGame rewrite, and it's almost release-worthy, but I just can't seem to fix those last little details.

Instead I have been working hard on a new project, a CHIP8 emulator in J2ME which I have dubbed MobiChip8. Working from a couple of different C-sources and some documentation I found online, it was quite easy to get it up and running. It will be MIDP2.0 only though, as I need to use drawRGB() to draw the framebuffer. I tried doing a MIDP1.0 version by using a whole lot of fillRect() but it was too slow even on my Nokia 6630 (which is a very fast phone).

And finally San Antonio won the NBA championship, which was the lesser of two evils I must say.

Wednesday, June 15, 2005

New J2ME game project + the NBA finals

I'm currently working on a new J2ME project - an update to "SameGame", a little puzzle game I made some time ago. Currently I'm doing routines to create the graphic blocks scaled to any display size the game might run on. Drawing nice-looking circles (especially very small ones) is not as easy as it sounds, I've been trying lots of approaches, starting with using the built-in fillArc() but currently leaning toward my own special implementation.

The NBA finals is also under way, and saying that Phoenix-Miami would have been a more exciting matchup is an understatement. San Antonio can play some OK basketball, but Detroit's defensive-minded (more like destructive-minded) style of ball isn't my cup of tea. In last nights game they showed Stevie Wonder sitting courtside - I'm guessing that's about the only audience that can appreciate the Pistons...