Skip to content

Commit 8e2f1ab

Browse files
Update notes.md
1 parent 964c944 commit 8e2f1ab

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

src/content/docs/dev/notes.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,27 @@ title: Memory Mapping
33
description: Internal memory mapping of the fx-CP400
44
---
55

6-
Here's some of the mapping I know about :
6+
## Mapping Table
7+
8+
| Region | Start | End | Size | Notes |
9+
|----------------|---------------|---------------|----------|----------------------------------|
10+
| Boot ROM | `0x0000_0000` | - | - | Initial boot code |
11+
| Main RAM | `0x8C00_0000` | `0x8CFF_FFFF` | 16 MB | OS + apps + heap |
12+
| Cached ROM | `0x8000_0000` | `0x81FF_FFFF` | 512 MB | Cached access |
13+
| MCS FS | `0x8E00_0000` | - | - | Filesystem (avoid overwriting!) |
14+
| Uncached ROM | `0xA000_0000` | `0xA1FF_FFFF` | 512 MB | Direct, no cache |
15+
| CPG | `0xA415_0000` | `0xA415_FFFF` | 64 KB | Clock control |
16+
| Touch? | `0xA405_0100` | - | - | Touch register at `0xA405_01F3` |
17+
| Display DMAC | `0xB400_0000` | - | - | Display DMA controller |
18+
| **XRAM** | `0xE500_7000` | `0xE500_9000` | **8 KB** | Fast data RAM (Bank 1) |
19+
| **YRAM** | `0xE501_7000` | `0xE501_9000` | **8 KB** | Fast data RAM (Bank 2) |
20+
| **IL Memory** | `0xE520_0000` | `0xE520_4000` | **16 KB**| Fast instruction RAM |
21+
| Direct I/O | `0xFEC0_0000` | `0xFEFF_FFFF` | 4 MB | Hardware registers |
22+
| **RS Memory** | `0xFD80_0000` | `0xFD80_07FF` | **2 KB** | CRITICAL. Retained during standby |
23+
24+
---
25+
26+
Here's some informations gathered about the mapping :
727

828
- boot rom is at `0x0000_0000`, it's taken from the first part of the flashed rom
929

0 commit comments

Comments
 (0)