TurboGrafx-16/PC Engine development - Alddee
Last updated on January 31, 2012, 8:35 by Sebastian Mihai
This little project is special because of the way it was conceived. Its design, visuals, and name, all come from a dream. I had spent the previous evening thinking about what game to make next, but I couldn't come up with anything.
Then I went to bed and in my dream, I was approaching something resembling an arcade machine. The name "Alddee" was written somewhere, and I started playing it. After I woke up, I tried remembering exactly what it looked like, and I transcribed it on a sheet of paper as soon as I could. Here is a scan:
It's not really a complete game, but that's the point. It didn't make sense in my dream, so that's how I'm making it here.
Programming the TurboGrafx-16 (called PC Engine in Japan) was decently easy. In fact, the HuC compiler allows for the easiest to use image/palette loading methods I have seen. On the other hand, it expects source code to follow the old ANSI C standard, with the crazy function definitions with the types of their arguments specified between the argument list and the function block. Also, no single line comments, no variable initialization and declaration in a single statement. I hacked this together this in about a day, so its code quality isn't great.
- the Alddee game rom. Plays in a TurboGrafx-16 or PC Engine emulator
- the source code for Alddee. I admit it's a bit messy, but I think it shows the basic elements needed to code a game on this platform.
- the entire HuC dev kit. It contains all you need to develop for the TurboGrafx-16. It contains the source code for Alddee, along with a bunch of other sample projects. All projects are found in the source directory. Their makefiles assume the dev kit is installed in C:\huc The kit also contains the xpce emulator.
- a nice TurboGrafx-16 emulator. It is in Japanese, but since it doesn't have a myriad of options, it is pretty easy to use.
If you use the materials on this page, or any other page on this web site, you do so at your own risk. They are provided "as is". No warranty is provided or implied. I neither guarantee that the materials will work, nor that they will not be harmful in any way.