Latest articles

D on GBA/NDS Progress, Thanks to OOPMan

Originally posted: April 2nd, 2007

This time around I didn't have much success combining GDC with DevKitARM on my own. But, OOPMan has gotten it working on Linux (minus standard libraries like Phobos or Tango).

Fortunately, I was able to use OOPMan's instructions to successfully build native Windows binaries of GDC+DevKitARM (again, minus standard D libraries) using MSYS/MinGW. So hats off to him :) (FYI, I haven't had a chance yet to actually test the binaries I built)

Regarding specific versions, I was able to build off of GCC 4.1.1/GDC 0.22/DKA r20, and off of GCC 4.1.2/GDC 0.23/DKA r20 (the latest versions at the time I'm writing this).

I'll upload the Windows binaries for GCC 4.1.2/GDC 0.23/DKA r20 when I get a chance later today, so anyone who wants to can play around with it.

After that, I plan to combine OOPMan's instructions and buildscript into the actual DevKitARM buildscripts, and write up some *very* detailed how-to-build documentation for any Windows users who have no experience building any form of GCC (Something I could have used a year or so ago. The information is out there, but it usually requires some strong familiarity with Unix-like systems and the open source scene).

[UPDATE 2:00a 4/3/2007]: I've uploaded the windows binaries. I didn't build the crts or tools, just the compiler, so you should extract the archive over top of an existing installation of DevKitARM r20. I haven't tried using this for any DS apps, but it seems to work with a simple C GBA app (the small sample included in GBAForVS6, although I had to change the generated makefile to use "arm-eabi-*" instead of "arm-elf-*").

It also works with a simple D GBA app, but with a caveat: The lack of phobos or tango prevents many of the language's features from being usable (for instance, trying to use structs and classes will generate linker errors).

I've uploaded the D GBA app I used, including project files for Visual Studio 6 and the pre-built ROM image. If you want to compile it yourself, you will have to edit the makefile to point to your DevKitARM-with-D directory. The makefile also assumes that you have GBAForVS6 installed (you'll also have to specify the directory for that in the makefile, too). If you don't want to use GBAForVS6, or don't have Visual Studio 6, you'll probably need to make additional changes to the makefile.

D on GBA Screenshot

D on GBA Screenshot

[Update 11:00a 4/3/2007]: If you try to compile the sample D app, there's one other thing I forgot to mention. You'll need to first download a regular (ie, non-GBA/DS) D compiler like DMD. Then go into the sample app's makefile and change DINCDIR (below the "Nothing below here should need to be changed" line, ironically) to point to the regular D compiler's phobos directory. For DMD this should be "{your dmd dir here}\src\phobos".

Note that this doesn't mean you'll be able to use phobos. The compiler just needs to be able to grab the "object.d" file there. If you don't do this, you'll get the error: "object.d: module object cannot read file 'object.d'"

Yes, setting up to compile a D app on GBA does take some work at the moment. But it should get easier as this "D for GBA/DS" project progresses. One of my personal goals on this project is to make it as easy as possible to get a D project up and running on GBA/DS.

Read more


Comments Need CAPTCHA

Originally posted: March 25th, 2007

I hate when sites require a login to post a comment, but I've just had to do that here since WordPress's lack of CAPTCHA has been letting in spam. If WordPress adds CAPTCHAs (good ones), I'll turn no-login posts back on AND turn off the requirement that comments be approved (Not that I'm a big WordPress fan anyway).

UPDATE (3/29/2007): The Dev-Scene admin has installed the Spam Karma 2 plugin. It's not CAPTCHA, but may work just fine. I've re-enabled no-login comment posting. Yay!

Read more


Time Warner Cable Cannot Find My Account

Originally posted: March 3rd, 2007

That's right. I'm on the phone with them as I type this. Time Warner Cable cannot find my account. They bill us. We receive service. But after half an hour, their tech support absolutely cannot find our account.

EDIT: Holy shit! After transferring me to the correct city, and the post-telephone-menu-system-from-hell recording tells me my wait is "sissy minutes to one hour and seventeen minutes" (Yes, "sissy" minutes. Apparently that's Time-Warner-speak for "fifty"), the message suddenly blind-sides me with blast of "why didn't I think of that" common sense: It offered to call me back when my place in the queue reaches an actual rep. So I can actually wait in line without listening to gay music (gay as in Brady Bunch, not gay as in happy or gay as in *cough* homersexual) that gets interrupted every 20 seconds (literally, I timed it) by a canned "Your call is important to us..." (Apparently, recorded messages value phone calls very highly) Well, we'll see if it actually happens...*fingers cautiously optimistically crossed with a horrifically mixed and adverb-laden metaphor*

My god, my writing is dense.

EDIT 2: They called me back, but still can't find my account. Of course. Quote of the day: (after reading them my account number) "Wow, that's a pretty long number. I'll try it but I don't know if it will work." I can't believe I'm saying this, but I'm starting to miss Adelphia.

Read more


Trying for D on GBA/NDS, Redux

Originally posted: March 3rd, 2007

I found (or rather, he found me) a person trying to get D going on the GBA/NDS by combining GDC with devkitARM. I've attempted this before a while back (before NDS homebrew, and before GDC eliminated the Java requirement for garbage collection) with partial success (got a limited subset of D working). This has motivated to get back into the project.

I'm on Windows with MSYS/MinGW, the other guy's on Linux, so hopefully we can get this working on both platforms. I'm a bit behind at the moment though, I've lost/forgotten all of the old work I did, and never made notes (like I meant to do), so I'm back at the beginning still trying to get all the necessary tools installed and working right in MSYS. This part is every bit the pain in the ass I remember it to be, hopefully the rest will go smoother this time (should be at least somewhat easier, now that GDC is no longer borrowing it's garbage collection from Java). But I'm taking notes this time ;) I'll report on any progress I make.

Read more


Metroid: Zero Mission

Originally posted: February 28th, 2007

If you’re like me and avoided Zero Mission for fear of either of the following, do yourself a favor and pick it up anyway:

  • "It'll be just like that Ultra-Hand-Holding Metroid Fusion garbage."
  • "It might be nothing more than a 'Mario All-Stars'-style graphics-swap of the original."

I recently got talked into trying Zero Mission, beat it, and happily found neither of those to be the case. Zero Mission is the true successor to Super Metroid.

Read more


WordPress Oddities

Originally posted: February 28th, 2007

WordPress handles double-quotes and bullet-list spacing really strangely.

It also seems to use some weird JavaScript-based presentation layer that chokes on Firefox 1.5. (yes, yes, I know that's an old version)

EDIT: The odd spacing seemed to just be something with the default theme. I think it used justified instead of left-align. Looked really weird. Single and double quotes still look like crap though.

Read more