WonderWitch: Difference between revisions

From WSdev Wiki
Jump to navigationJump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
The WonderWitch cartridge is based on the [[Bandai 2003]] mapper. It provides an RTC, as well as NOR self-flashing functionality using the Fujitsu MBM29DL400TC chip.
The WonderWitch cartridge is based on the [[Bandai 2003]] mapper. It provides an RTC, as well as NOR self-flashing functionality using the Fujitsu MBM29DL400TC chip.


There were three ways available to acquire WonderWitch cartridges:
There were three means of acquiring WonderWitch cartridges:


* '''WonderWitch''', a software development kit containing a reflashable cartridge, a WonderSwan<->RS-232 adapter, a development manual and a development tool CD;
* '''WonderWitch''', a software development kit containing a reflashable cartridge, a WonderSwan<->RS-232 adapter, a development manual and a development tool CD;
Line 13: Line 13:
== Software ==
== Software ==


=== Interrupt vectors ===
The WonderWitch provides an abstraction layer and helper libraries, split into two modules:


{| class="wikitable"
* [[WonderWitch/FreyaBIOS|FreyaBIOS]] - providing a hardware abstraction layer and some utility functions,
! Start
* [[WonderWitch/FreyaOS|FreyaOS]] - providing helper libraries and higher-level concepts, such as processes and files.
! End
! Description
|-
| 0x00
| 0x07
| CPU interrupts
|-
| 0x08
| 0x0F
|
|-
| 0x10
| 0x18
| [[WonderWitch/FreyaBIOS|FreyaBIOS]] interrupts
|-
| 0x19
| 0x27
|
|-
| 0x28
| 0x2F
| SoC interrupts
|-
| 0x30
| 0x32
| [[WonderWitch/FreyaOS|FreyaOS]] interrupts
|}


=== Memory layout ===
== Development tools ==
 
The 512KB of NOR flash memory is mapped and partitioned as follows:
 
{| class="wikitable"
! Linear address
! Size
! Description
|-
| 0x8nnnn
| rowspan="6" | 384 KB
| rowspan="6" | [[WonderWitch/File system|File system]]
|-
| 0x9nnnn
|-
| 0xAnnnn
|-
| 0xBnnnn
|-
| 0xCnnnn
|-
| 0xDnnnn
|-
| 0xEnnnn
| 64 KB
| [[WonderWitch/FreyaOS|FreyaOS]]
|-
| 0xFnnnn
| 64 KB
| [[WonderWitch/FreyaBIOS|FreyaBIOS]]
|}
 
Internal console RAM is generally managed by [[WonderWitch/FreyaBIOS|FreyaBIOS]], while SRAM is managed by [[WonderWitch/FreyaOS|FreyaOS]].
 
== Development Tools ==


TODO
TODO

Latest revision as of 20:43, 19 October 2024

The WonderWitch is an official homebrew development kit released by Qute Corporation on July 18th, 2000.

Hardware

The WonderWitch cartridge is based on the Bandai 2003 mapper. It provides an RTC, as well as NOR self-flashing functionality using the Fujitsu MBM29DL400TC chip.

There were three means of acquiring WonderWitch cartridges:

  • WonderWitch, a software development kit containing a reflashable cartridge, a WonderSwan<->RS-232 adapter, a development manual and a development tool CD;
  • WonderWitch Player, a priced-down user-only version omitting the development manual and tooling;
  • The VAR program, allowing independent creators to buy reflashable cartridges in bulk, in units of 20 or 100.

Software

The WonderWitch provides an abstraction layer and helper libraries, split into two modules:

  • FreyaBIOS - providing a hardware abstraction layer and some utility functions,
  • FreyaOS - providing helper libraries and higher-level concepts, such as processes and files.

Development tools

TODO

Links