diff options
author | David Guillen Fandos | 2021-03-03 01:38:09 +0100 |
---|---|---|
committer | David Guillen Fandos | 2021-03-16 22:58:58 +0100 |
commit | 5ffd2832e8b3fc8391a99a53d24788fb736d28c6 (patch) | |
tree | 3079050fea908fd3b7fcf26ee41a1b2af98df354 /gba_memory.h | |
parent | b9ac4536757c4c24afaa86b6e3131ec21e407e80 (diff) | |
download | picogpsp-5ffd2832e8b3fc8391a99a53d24788fb736d28c6.tar.gz picogpsp-5ffd2832e8b3fc8391a99a53d24788fb736d28c6.tar.bz2 picogpsp-5ffd2832e8b3fc8391a99a53d24788fb736d28c6.zip |
Rewrite of the MIPS dynarec stubs
This allows us to emit the handlers directly in a more efficient manner.
At the same time it allows for an easy fix to emit PIC code, which is
necessary for libretro. This also enables more platform specific
optimizations and variations, perhaps even run-time multiplatform
support.
Diffstat (limited to 'gba_memory.h')
-rw-r--r-- | gba_memory.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gba_memory.h b/gba_memory.h index a37de47..1b332ed 100644 --- a/gba_memory.h +++ b/gba_memory.h @@ -163,6 +163,11 @@ u32 function_cc read_memory32(u32 address); cpu_alert_type function_cc write_memory8(u32 address, u8 value); cpu_alert_type function_cc write_memory16(u32 address, u16 value); cpu_alert_type function_cc write_memory32(u32 address, u32 value); +u32 function_cc read_eeprom(void); +void function_cc write_eeprom(u32 address, u32 value); +u8 read_backup(u32 address); +void function_cc write_backup(u32 address, u32 value); +void function_cc write_rtc(u32 address, u32 value); extern u8 *memory_regions[16]; extern u32 memory_limits[16]; |