WonderSwan Color development - Swan Driving
Last updated on January 6, 2015, 23:35 by Sebastian Mihai
The WonderSwan is a nifty little handheld, whose popularity in its native Japan far surpassed its adoption everywhere else. WonderSwan games are targetted at the Japanese market, with scant fragments of English language here and there. This is one of the chief reasons for its obscurity this side of the world.

Swan Driving is a WonderSwan homebrew where you control a car, trying to avoid incoming traffic. Your car has a low and a high gear, for driving slowly and fast, respectively. Use UP/DOWN to move your car, and LEFT/RIGHT to select low or high gear.

Swan Driving is meant more as a tech demo, to be useful for others trying to kick-start their WonderSwan development. It features a scrolling background layer, scrolling foreground layer (for the rain), and of course, sprites for the cars. Fortunately for me, the WonderSwan CPU is x86-compatible, so writing the game in assembly language did not require a steep learning curve.

The hardest part of the development was figuring out sprites. It took me a while to realize that sprite palettes start with palette #9. Since Swan Driving uses much fewer than that, I kept trying to make the car sprite work with palette #2. I've included a hardware specification document that I found, in order to help with bumps like this one.

Downloads


Swan Driving ROM - download this to run it in an emulator (I recommend Oswan)
Source code - Swan Driving source code package
Dev kit with ready-to-compile source code for Swan Driving - get this if you wish to compile the Swan Driving ROM yourself, or if you'd like to develop your own games using this as a starting point!
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.

Intellivision development - Hotel Bunny

No Snakes! - a multiplayer game over serial port

Sega Dreamcast development - Overbearing Burgers

Snowdrop OS - my operating system from scratch, in assembly language

libzx - ZX Spectrum game programming library (Z80 assembly language)

Compact Pong - game in C# for the Pocket PC (Windows Mobile 2003)

TOTP (time-based one-time password) authenticator in C# (.Net)

My homebrew cartridges

ZX Spectrum development - Husband Chores (in Z80 assembly language)

Coverage of my projects

aSMtris - Tetris in assembly language (x86, 16-bit)

Balanced Diet (GBA) limited edition

Gameboy Advance development - Balanced Diet

Atari 7800 development - Poetiru

Arcade ROM hacking - Knights of the Round translation

PocketStation development - Pocket Worm

Sega Game Gear development - Burgers of Hanoi GG

Pokemon Mini development - Mini Cookie

Magnavox Odyssey2 development - Red Green

Sega Dreamcast VMU development - Raining Squares

Nintendo GameCube development - Mama Bear Puzzle

Nintendo Wii development - Groundhog Puzzle

Sega Saturn development - Saturnade

Atari Jaguar development - Jagmatch

Sega CD development - Blackjack CD

Nintendo 64 development - Don't Be Square

Commodore 64 development - Tube64

Sega 32x development - Eight Queens

WonderSwan (Mono) development - Swan Driving BW

WonderSwan Color development - Swan Driving

Animal Keeper - a JavaScript and HTML5 Canvas game

3DO development - Space Invaders Invaders

Sony PlayStation development - The 11th Power

Sony PSP development - Newton Voyage

Nintendo DS development - Geoincursion

Gold of the Kingdoms - an XNA/C# homebrew game

Blue Elf 2 309-in-1 JAMMA PCB - troubleshoot controls not working

Fractals in JavaScript and HTML5 Canvas

Angry Video Game Nerd (AVGN) theme song on the Gameboy Advance

Novice calligraphy - Gothic hand, with letter guide

Video compilation of my classic console homebrew games

Seven segment display circuit with the 4511 decoder and the 4029 counter

A simple Atari 2600 joystick tester circuit

555 timer and 4017 decade counter - traffic lights circuit

Catch That LED! - an electronic game circuit

Capacitor study circuit

BlackBerry PlayBook development - Sheepish Bearings (Native SDK, OpenGL)

Neo Geo Pocket Color development - NGCollector

Neo Geo development - Neo Thunder

Atari 5200 development - Shooting Gallery

ZX Spectrum development - simple input/graphics example

Vectrex development - Scalar Ownage

Nintendo Virtual Boy development - Real Danger

Gameboy Color development - Burly Bear vs. The Mean Foxes (GBC version)

Sega Master System development - Burgers of Hanoi

Colecovision development - Mowleco

TurboGrafx-16/PC Engine development - Alddee

Atari Lynx development - Catkanoid

Nintendo NES development - Invaders must die!

Atari 2600 development - Snappy (batari basic)

Super Nintendo development - Bucket

Gameboy Advance development - smgbalib library

Airplane Vegas slot machine

Sega Genesis development - Gen Poker

(2004) Project One - first university game programming club project

Gameboy development - Burly Bear vs. The Mean Foxes

(2006) RGB Overdose - university programming contest entry