WonderWitch/Flash: Difference between revisions
From WSdev Wiki
Jump to navigationJump to search
(Created page with "The WonderWitch cartridge features a 512KiB flash chip - the MBM29DL400TC. While the WonderSwan SoC pervents writes to the ROM area, it can be written to via the SRAM area using port $CE on the Bandai 2003 mapper. TODO: Document commands. == Links == * [https://github.com/up-n-atom/WonderWitch/blob/main/Datasheets/MBM29DL400BC-12PFTN_to_MBM29DL400TC-90PFTN.pdf Datasheet]") |
(document sector layout) |
||
Line 1: | Line 1: | ||
The WonderWitch cartridge features a 512KiB flash chip - the MBM29DL400TC. While the WonderSwan SoC pervents writes to the ROM area, it can be written to via the SRAM area using port $CE on the [[Bandai 2003]] mapper. | The WonderWitch cartridge features a 512KiB flash chip - the MBM29DL400TC. While the WonderSwan SoC pervents writes to the ROM area, it can be written to via the SRAM area using port $CE on the [[Bandai 2003]] mapper. | ||
== Sector layout == | |||
{| class="wikitable" | |||
! Bank | |||
! Start | |||
! End | |||
! Size | |||
|- | |||
| rowspan="6" | 2 | |||
| $00000 | |||
| $0FFFF | |||
| 64 KB | |||
|- | |||
| $10000 | |||
| $1FFFF | |||
| 64 KB | |||
|- | |||
| $20000 | |||
| $2FFFF | |||
| 64 KB | |||
|- | |||
| $30000 | |||
| $3FFFF | |||
| 64 KB | |||
|- | |||
| $40000 | |||
| $4FFFF | |||
| 64 KB | |||
|- | |||
| $50000 | |||
| $5FFFF | |||
| 64 KB | |||
|- | |||
| rowspan="8" | 1 | |||
| $60000 | |||
| $63FFF | |||
| 16 KB | |||
|- | |||
| $64000 | |||
| $6BFFF | |||
| 32 KB | |||
|- | |||
| $6C000 | |||
| $6DFFF | |||
| 8 KB | |||
|- | |||
| $6E000 | |||
| $6FFFF | |||
| 8 KB | |||
|- | |||
| $70000 | |||
| $71FFF | |||
| 8 KB | |||
|- | |||
| $72000 | |||
| $73FFF | |||
| 8 KB | |||
|- | |||
| $74000 | |||
| $7BFFF | |||
| 32 KB | |||
|- | |||
| $7C000 | |||
| $7FFFF | |||
| 16 KB | |||
|} | |||
Note that MBM29DL400TC allows operating simultaneously in two banks: the first 384 KB can be programmed or erased while the last 128 KB remains readable, and vice versa. | |||
== Commands == | |||
TODO | |||
== Links == | == Links == | ||
* [https://github.com/up-n-atom/WonderWitch/blob/main/Datasheets/MBM29DL400BC-12PFTN_to_MBM29DL400TC-90PFTN.pdf Datasheet] | * [https://github.com/up-n-atom/WonderWitch/blob/main/Datasheets/MBM29DL400BC-12PFTN_to_MBM29DL400TC-90PFTN.pdf Datasheet] |
Revision as of 09:57, 8 December 2024
The WonderWitch cartridge features a 512KiB flash chip - the MBM29DL400TC. While the WonderSwan SoC pervents writes to the ROM area, it can be written to via the SRAM area using port $CE on the Bandai 2003 mapper.
Sector layout
Bank | Start | End | Size |
---|---|---|---|
2 | $00000 | $0FFFF | 64 KB |
$10000 | $1FFFF | 64 KB | |
$20000 | $2FFFF | 64 KB | |
$30000 | $3FFFF | 64 KB | |
$40000 | $4FFFF | 64 KB | |
$50000 | $5FFFF | 64 KB | |
1 | $60000 | $63FFF | 16 KB |
$64000 | $6BFFF | 32 KB | |
$6C000 | $6DFFF | 8 KB | |
$6E000 | $6FFFF | 8 KB | |
$70000 | $71FFF | 8 KB | |
$72000 | $73FFF | 8 KB | |
$74000 | $7BFFF | 32 KB | |
$7C000 | $7FFFF | 16 KB |
Note that MBM29DL400TC allows operating simultaneously in two banks: the first 384 KB can be programmed or erased while the last 128 KB remains readable, and vice versa.
Commands
TODO