diff options
author | David Guillen Fandos | 2021-03-15 02:25:02 +0100 |
---|---|---|
committer | David Guillen Fandos | 2021-03-15 02:25:02 +0100 |
commit | c86b9064df021a8d619fd0e9fd4d3525cd4a1373 (patch) | |
tree | 7b5b7517b8d36ba0894ee710105e4da3b3017636 /arm | |
parent | 6e9104e1ee0881a9e51e95b8b1d52eb0b612adf4 (diff) | |
download | picogpsp-c86b9064df021a8d619fd0e9fd4d3525cd4a1373.tar.gz picogpsp-c86b9064df021a8d619fd0e9fd4d3525cd4a1373.tar.bz2 picogpsp-c86b9064df021a8d619fd0e9fd4d3525cd4a1373.zip |
Move palettes around to simplify MIPS dynarec
Will move also OAM structures to gain a few cycles per load/store.
Loads can also be optimized for an extra instruction per access.
Diffstat (limited to 'arm')
-rw-r--r-- | arm/arm_stub.S | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arm/arm_stub.S b/arm/arm_stub.S index 7deffc0..61b2301 100644 --- a/arm/arm_stub.S +++ b/arm/arm_stub.S @@ -6,6 +6,8 @@ .globl memory_map_read .globl memory_map_write .globl reg +.globl palette_ram +.globl palette_ram_converted #define REG_R0 (0 * 4) #define REG_R1 (1 * 4) @@ -763,10 +765,12 @@ execute_load_builder(u32, 32, ldrne, #0xF0000000) .pool +.data + .comm memory_map_read 0x8000 .comm memory_map_write 0x8000 - -.data +.comm palette_ram 0x400 +.comm palette_ram_converted 0x400 .globl reg .globl _reg |