wswan:index
This is an old revision of the document!
Table of Contents
wswan (WonderSwan/WonderWitch)
The wswan target provides support for targetting the Bandai WonderSwan console. In addition, experimental support is provided for targetting the WonderWitch abstraction layer.
Currently supported languages include:
- assembly - via binutils-ia16's GNU assembler, using Intel-style opcodes and syntax;
- C - via gcc-ia16, supporting up to the C11 standard with GNU extensions.
Overview
Subtargets
The wswan target features multiple subtargets:
wswan/medium
- create a ROM with multiple code segments, the default;wswan/small
- create a ROM with one code segment, slightly faster code but 64KB maximum code limit;wswan/bootfriend
- special subtarget for creating BootFriend executables which execute from RAM.
In addition, there exists an experimental wwitch subtarget for targeting the Freya abstraction layer.
Libraries
Guides
- Memory management - working with banks and segmentation, controlling memory locations
- Writing assembly - using the GNU assembler
- wfconfig.toml - configuring the ROM header
Other documentation
-
- gcc-ia16 6.3.0 - C compiler
Other sources
- WSdev Wiki - hardware documentation
- awesome-wsdev - link hub for WonderSwan-related homebrew projects
wswan/index.1708175833.txt.gz · Last modified: 2024/02/17 13:17 by asie