Puffboy Advance

Welcome to the Puffboy Advance Website! This page is coming to you from a Game Boy Advance.

About

The Puffboy is a custom file system built for the Game Boy Advance using NetBSD + PUFFS (Pass-to-Userspace Framework File System). This project is comprised of four core components:

  1. Custom drivers in the NetBSD kernel that implement the Joybus protocol on the Wii's Serial Interface
  2. Userland application that implements NetBSD PUFFS and communicates with the GBA via the new ioctl
  3. A Gameboy Advance game that listens for incoming Joybus messages and stores an in-memory filesystem
  4. Configuring the Wii as a webserver to serve the files hosted on the Gameboy

The Puffboy combines a lot of things that interest me now and allows me to once again play with one of my favorite toys. It is a tribute to my childhood.

Code

Roadmap

Architecture

                                   +------------------------------+   
                                   |          OpenBSD             |   
                                   |                              |   
                                   |                              |   
                                   |                   +----------+   
                                   |                   | nginx    |   
                                   +-------------------+------|---+   
                                   |            pf            |   |   
                                   +------------|-------------|---+   
                                                |             |       
                                        ssh     |             |reverse
                                        tunnel  |             |proxy  
                                                |             |       
                                    +-----------|-------------|----+  
                                    |      +----|-------------|--+ |  
+--------------------+              |      |    |   npf       |  | |  
|  +-------------+   |              |      +----|---+---------|--+ |  
|  | pba.mb.gba  |   |              |      |        |  lighttpd  | |  
|  |  in-memory  |   |              |      | ssh_tun+-----|------+ |  
|  | file system |   |              |      | loop   |/var/www/html |  
+--+-------------+---+              |      +--------+-----|------+ |  
|                    |              |      |        |  PUFFS     | |  
|                 A  |              |      |        +---------|--+ |  
| -|-           B    |              |      |                  |  | |  
|                    |-----------------+   |                +-|--+ |  
|        . .         +--------------+  |   |           ioctl|pba | |  
+--------------------+    link      |  +-/dev/gcport0 <-----+----+ |  
                          cable     |      |                     | |  
                          port 0    |      +-------NetBSD--------+ |  
                                    +------------------------------+  
                                                Nintendo Wii          
			
RSS