Archive for the ‘’ Category

Downtime today

Friday, August 17th, 2007

In case anybody wondered why the site was down today: Some time last Friday (possibly before), my provider Host Europe silently and slowly took away hard disk space from my virtual server at a rate of a few kB/sec. After some days (probably last night) the MySQL server stopped working because the disk was full. After I had opened a support ticket, they fixed it, and I am back to the 30 GB I pay for, but the ticket is still open, and they have not commented the issue yet. My guess: When they are short on disk space, they just take it from existing servers and hope the operators won’t notice. Un-fucking-glaublich.

Genesis Plus Linux port

Friday, August 17th, 2007

Astoundingly nobody seems to have ported Genesis Plus to Linux yet. (A GameCube Linux port seems to exist, though.) Anyway, I have ported the DOS (Allegro) and Windows (SDL) versions to Linux. Get the source code here. (I will add it to the emulator page later.)

Thumbnails fixed

Thursday, August 16th, 2007

After switching to Debian, the thumbnail quality deteriorated. The problem seems to have been the X server (Xvfb), and switching to a VNC X server (and setting the display depth to 24 bits, for that matter) increased the rendering quality a lot. It also allows me to monitor thumbnail generation, making it much easier to find problems and broken entries. I have also fixed the not-so-clever khtml2png resizing method (makes sure that thumbnails are of the given size in spite of any scrollbars that may appear when rendering), speeding up thumbnail generation considerably. I also did the documented but unimplemented –time parameter. If anybody still uses khtml2png 2.0.5, you can find the patch here. Syndication

Wednesday, August 15th, 2007

The database is now available for download under a Creative Commons license, allowing you to use the nearly 2000 entries in your own directory or link section. The generator script allows downloading the entire database or a specific category (including all subcategories). What is currently missing is the language information – RSS 2.0 does not seem to allow per-item language information. Check the syndication page for more information.

SMS Plus Updated

Tuesday, August 14th, 2007

And while we're at it, here is an update to my Linux port of SMS Plus to version 1.2. Besides integrating the massive amount of changes in version 1.2, this release also replaces the busy-waiting throttling function by an usleep(), reducing CPU load from full to nil.

Dega/SDL Updated

Tuesday, August 14th, 2007

I just uploaded the source code for my SDL port of Sega Master System emulator Dega, updated to the current version 1.12, to the emulator page. New features of the SDL port include joystick support (sent to me two and a half years ago by David Longbottom), 2x scaling, and the ability to toggle scaling and fullscreen/windowed mode at runtime. Have fun.

Portable emulators

Friday, August 10th, 2007

Here's how a really portable emulator looks like. It took the following snippet of code to get Ubernes running with SDL:

int main(int argc, char** argv)
  Nes* nes = new Nes();

  SDL_Surface* screen = SDL_SetVideoMode(256,240,8,SDL_HWSURFACE);
  SDL_Color palette[64];
  for(int i = 0; i < 64; i++) {
    Uint32 col = nes->mPpu->mPalette[i];
    palette[i].b = col & 0xff; col >> = 8;
    palette[i].g = col & 0xff; col >> = 8;
    palette[i].r = col & 0xff;
  SDL_SetColors(screen, palette, 0, 64);

  while(1) {
    memcpy(screen->pixels, nes->mPpu->display, 256*240);

Five minutes at worst. Just a hint to those people who don’t give a damn whether LPDIRECTDRAWHEYTHATREMINDSMEOFANICESTORYWHYNOTPUTITINATYPENAMESURFACE7 exists on anything but their own poor excuse for an operating system.

Boeing 727 Simulator for the Plus/4

Friday, August 10th, 2007

I just put a Plus/4 port of Boeing 727 Simulator online, a basic (BASIC, in fact) flight simulator I used to play on my uncle’s C64 when I was a kid. Check the Plus/4 page.

Translation Links

Tuesday, August 7th, 2007

New feature time: As of one hour ago or so, there are Google Translate links next to all directory entries that are not available in English. Yes, it is Saturday night. No, I should not be out clubbing, my wife is doing that for me. I am having more fun hacking years-old PHP code. Seriously.

WordPress and SUSE Linux

Monday, December 4th, 2006

Here's a short hint for people using WordPress with SUSE: Install php4-gd (or php5-gd) if you want to be able to change the theme colors.