https://github.com/devkitpro/gp2x-core
devkitarm core components for GP2X support
https://github.com/devkitpro/gp2x-core
Last synced: 3 months ago
JSON representation
devkitarm core components for GP2X support
- Host: GitHub
- URL: https://github.com/devkitpro/gp2x-core
- Owner: devkitPro
- License: mit
- Created: 2020-06-21T16:05:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T09:00:16.000Z (over 5 years ago)
- Last Synced: 2025-01-13T09:45:44.990Z (about 1 year ago)
- Language: Assembly
- Size: 9.77 KB
- Stars: 2
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gp2x-core
Core files for running GP2X code on the metal
# How to define memory map
If the following symbols are declared (e.g. in ldflags -Xlinker --defsym=__testSymbol=64), they will be used.
| Symbol | Purpose |
| --- | --- |
| __int_stack_size | number of bytes allocated at top of RAM for interrupt stack (x2, one for FIQ, one for IRQ) |
| __usr_stack_size | number of bytes allocated at top of RAM for user stack |
| __non_heap_allocation | additional bytes reserved underneath the stack for things like TLBs |
| __start_of_heap | pointer to start of available heap space |
| __end_of_heap | pointer to end of available heap space |
| __io_base | base address of IO registers |
| __nand_io_base | base address of NAND IO registers |
| __params_length | length in bytes of parameter region of memory (argc, argv) |