summaryrefslogtreecommitdiff
path: root/x86
diff options
context:
space:
mode:
authorDavid Guillen Fandos2021-03-15 02:25:02 +0100
committerDavid Guillen Fandos2021-03-15 02:25:02 +0100
commitc86b9064df021a8d619fd0e9fd4d3525cd4a1373 (patch)
tree7b5b7517b8d36ba0894ee710105e4da3b3017636 /x86
parent6e9104e1ee0881a9e51e95b8b1d52eb0b612adf4 (diff)
downloadpicogpsp-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 'x86')
-rw-r--r--x86/x86_stub.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/x86/x86_stub.S b/x86/x86_stub.S
index ba997ba..9a7e359 100644
--- a/x86/x86_stub.S
+++ b/x86/x86_stub.S
@@ -69,6 +69,8 @@
.global _memory_map_read
.global _memory_map_write
.global _reg
+.global _palette_ram
+.global _palette_ram_converted
.global _oam_update
@@ -561,6 +563,10 @@ return_to_main:
_reg:
.space 0x100, 0
+_palette_ram:
+ .space 0x400
+_palette_ram_converted:
+ .space 0x400
.comm _memory_map_read 0x8000
.comm _memory_map_write 0x8000