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]") |
(→Sector layout: validate sector protection settings on WW cart) |
||
(2 intermediate revisions by the same user not shown) | |||
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 | |||
! Protected | |||
|- | |||
| rowspan="6" style="text-align: center;" | 2 | |||
| $00000 | |||
| $0FFFF | |||
| 64 KB | |||
| rowspan="10" style="text-align: center;" | No | |||
|- | |||
| $10000 | |||
| $1FFFF | |||
| 64 KB | |||
|- | |||
| $20000 | |||
| $2FFFF | |||
| 64 KB | |||
|- | |||
| $30000 | |||
| $3FFFF | |||
| 64 KB | |||
|- | |||
| $40000 | |||
| $4FFFF | |||
| 64 KB | |||
|- | |||
| $50000 | |||
| $5FFFF | |||
| 64 KB | |||
|- | |||
| rowspan="8" style="text-align: center;" | 1 | |||
| $60000 | |||
| $63FFF | |||
| 16 KB | |||
|- | |||
| $64000 | |||
| $6BFFF | |||
| 32 KB | |||
|- | |||
| $6C000 | |||
| $6DFFF | |||
| 8 KB | |||
|- | |||
| $6E000 | |||
| $6FFFF | |||
| 8 KB | |||
|- | |||
| $70000 | |||
| $71FFF | |||
| 8 KB | |||
| rowspan="4" style="text-align: center;" | Yes | |||
|- | |||
| $72000 | |||
| $73FFF | |||
| 8 KB | |||
|- | |||
| $74000 | |||
| $7BFFF | |||
| 32 KB | |||
|- | |||
| $7C000 | |||
| $7FFFF | |||
| 16 KB | |||
|} | |||
Note that the 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] |
Latest revision as of 17:36, 1 January 2025
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 | Protected |
---|---|---|---|---|
2 | $00000 | $0FFFF | 64 KB | No |
$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 | Yes | |
$72000 | $73FFF | 8 KB | ||
$74000 | $7BFFF | 32 KB | ||
$7C000 | $7FFFF | 16 KB |
Note that the 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