wswan:guide:elf_quirks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wswan:guide:elf_quirks [2024/09/22 10:29] – asie | wswan:guide:elf_quirks [2024/09/22 11:58] (current) – asie | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| ===== Address space (wswan) ===== | ===== Address space (wswan) ===== | ||
| - | ELF addresses '' | + | ELF addresses '' |
| < | < | ||
| Line 33: | Line 33: | ||
| The last ROM bank uses addresses FFFxxxxx | The last ROM bank uses addresses FFFxxxxx | ||
| </ | </ | ||
| + | |||
| + | To turn this into a physical address in the cartridge ROM's space, you should use the following equation: '' | ||
| + | |||
| + | The high four bits of the CPU address are ignored for physical ROM address transformations. This is because their purpose is to tell the compiler/ | ||
| + | |||
| + | * The ELF address '' | ||
| + | * The ELF address '' | ||
| ELF addresses '' | ELF addresses '' | ||
| Line 44: | Line 51: | ||
| </ | </ | ||
| - | ELF addresses '' | + | ELF addresses '' |
| ===== Address space (wwitch) ===== | ===== Address space (wwitch) ===== | ||
wswan/guide/elf_quirks.1727000995.txt.gz · Last modified: by asie
