This commit is contained in:
2025-10-20 17:03:59 +02:00
parent e7fdd945b5
commit ebe0720627
6 changed files with 85 additions and 0 deletions

30
notes/memory-layout.md Normal file
View File

@@ -0,0 +1,30 @@
# Memory Layout
- bank switching using 8-Bit register
- top 32K remain untouched
| start | end | use |
| :----- | :----- | :-- |
| 0x8000 | 0xDFFF | RAM |
| 0xE000 | 0xFFFF | ROM |
# Default (0X00)
| start | end | use |
| :----- | :----- | :-- |
| 0x0000 | 0x7FFF | I/O |
# Persistent Memory (0x01)
| start | end | use |
| :----- | :----- | :------ |
| 0x0000 | 0x7FFF | storage |
# Monochrome Video (0x0E, 0x0F)
| start | end | use |
| :----- | :----- | :--------------- |
| 0x0000 | 0x4AFF | VRAM |
| 0x6000 | 0x7FFF | character memory |
# Color Video
| start | end | use |
| :----- | :----- | :--------------- |
| 0x0000 | 0x4AFF | VRAM |
| 0x6000 | 0x7FFF | character memory |