To test homebrew, you're going to need at least one WonderSwan hardware unit. There are many options available, between the three official models and various hardware mods; this guide lists them in order from most to least preferred.
In addition, for capturing footage from real hardware, you may be interested in a consolizer mod, which turns an existing WonderSwan Color system into a headless device with HDMI output. The swancolorHD is open source design for DIY builders; RETRO PROTECT sells prebuilt units in Japan under the WSCHD brand.
There are a few market options available.
The nileswan is a flash cartridge created by 49bitcat, providing 128 megabits (16 megabytes) of ROM space and 512 kilobytes of save RAM. It also includes extensive functionality
This cartridge is available for 85 EUR (~$100) new when in stock.
Official programming documentation exists here.
The WS Flash Masta is a flash cartridge created by Flavor, providing fifteen ROM slots of 64 megabits (8 megabytes) each for flashing your own code, as well as 512 kilobytes of save RAM.
This cartridge is available for $120-$130 new when in stock, which is not very often.
Unofficial programming documentation exists here. The USB port cannot be used by user programs.
I have not evaluated this cartridge personally. As such, its hardware specifications are unknown, and I cannot make a clear recommendation or disavowal.
The Youth Edition flash cartridge supports up to eight ROM slots. Little is known about this cartridge - however, it is known to provide fewer than 256 kilobytes of SRAM.
This cartridge is available for ~$75 new when in stock, but it requires the additional purchase of a ~$45 external cartridge reader.
Points deducted for riding off another vendor's brand name while offering an entirely different product. That's not cool.
I have not evaluated any of these cartridges personally, however many WonderSwan community members have used these with success. Unfortunately, I cannot point you to any specific sellers. Caveat emptor.
There are a number of cartridges with bootleg copies of licensed games available, some of which may be reflashable using a ~$45 external cartridge reader. They tend to have 64 megabits (8 megabytes) of NOR flash and 256 kilobytes of SRAM.
InsideGadgets sells a compatible flash cartridge. These provide 64 megabits (8 megabytes) for code, and 32 kilobytes of SRAM.
Available for $61 when in stock, though a new customer has to spend an additional $11 for the edge adapter and $33 for the USB flasher device, for a total of $105. If you happen to also be interested in GB/GBC/GBA development, said flasher might be a good longer-term investment.
These options are no longer available for sale, but are nonetheless listed in case you run into them:
A serial port adapter allows the user to communicate with the console using a PC. Unless you're working with the WonderWitch OS, this is not necessary. However, it can make debugging and data transfer more convenient.
An official cable was bundled with the WonderWitch; however, a list of available DIY projects and products is available on the ConsoleMods wiki.
Of those, I have personally developed the ExtFriend; unlike the official cable, in addition to supporting 9600/38400 baud UART transfer, it also supports the undocumented 192000 baud speed and headphone audio capture.
Testing WonderWitch games can be achieved on emulators and real hardware alike by flashing an mkrom image to any cartridge with at least 2561) kilobytes of SRAM.
However, for verifying full compatibility, a real WonderWitch environment is optimal. To do so without resorting to copyright infringement, it is currently required to purchase a second-hand WonderWitch.
The full WonderWitch box set consists of a few key elements:
Note that the WonderWitch was sold in a few variants, but all of them feature the same flash cartridge:
As the box set is highly desirable among collectors - usually selling for 50,000 yen or more - one may wish to consider buying a loose cartridge and acquiring an RS-232 cable separately.
Once you acquire a cartridge, you should update FreyaOS. Older versions of the system featured a variety of bugs, including file system management bugs.
If you own a licensed WonderWitch cartridge, you may download the FreyaOS 1.2.0 update package on Qute's WonderWitch Player website. While the site is intended for WonderWitch Player owners only, this file also was available for registered WonderWitch owners via an FTP server; however, that server is no longer online. The licensing situation of flashing a FreyaOS update on a loose cartridge without ownership a full box is left as an exercise to the reader; I'm not a lawyer.
To install it without TransMagic, turn on the WonderSwan with a WonderWitch cartridge inserted while holding B. If done correctly, you should enter Freya Monitor instead of the default user interface:
From here, connect the RS-232 cable, prepare an XMODEM transfer of the FreyaOS update package file from the PC to the console, and select Recv System on the console side.