No description
  • Assembly 92.7%
  • Makefile 7.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-08-13 09:58:30 +01:00
.gitignore Now able to produce a release 2020-06-21 17:19:13 +01:00
gp2x.ld Initial commit of core GP2X components for devkitARM 2020-06-21 17:06:35 +01:00
gp2x.specs Initial commit of core GP2X components for devkitARM 2020-06-21 17:06:35 +01:00
gp2x_940.ld Initial commit of core GP2X components for devkitARM 2020-06-21 17:06:35 +01:00
gp2x_940.specs Initial commit of core GP2X components for devkitARM 2020-06-21 17:06:35 +01:00
gp2x_940_crt0.s Initial commit of core GP2X components for devkitARM 2020-06-21 17:06:35 +01:00
gp2x_crt0.s Remove explicit parameter addresses from mko2x call in rules 2020-06-29 18:00:04 +01:00
gp2x_rules Use armv4t portlibs 2020-08-13 09:58:30 +01:00
LICENSE Initial commit 2020-06-21 17:05:11 +01:00
Makefile Add memory map to readme as it is more relevant here than in orcus 2020-07-05 12:36:17 +01:00
README.md Add memory map to readme as it is more relevant here than in orcus 2020-07-05 12:36:17 +01:00

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)