From 82b3e6cf3cddb55dbf54ce24cfc47a4cf12437e5 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 27 Mar 2020 19:09:05 +0100 Subject: [PATCH] ARM asm, symbol visibility fix --- pico/cd/memory_arm.S | 2 ++ pico/memory.h | 9 +++++++++ pico/memory_arm.S | 2 ++ 3 files changed, 13 insertions(+) diff --git a/pico/cd/memory_arm.S b/pico/cd/memory_arm.S index 95ad09ff..0d1369ee 100644 --- a/pico/cd/memory_arm.S +++ b/pico/cd/memory_arm.S @@ -703,8 +703,10 @@ m_s68k_write16_regs_spec: @ special case .global s68k_read8 .global s68k_read16 +.global s68k_read32 .global s68k_write8 .global s68k_write16 +.global s68k_write32 s68k_read8: PIC_LDR(r3, r2, s68k_read8_map) diff --git a/pico/memory.h b/pico/memory.h index d55267ba..eba23471 100644 --- a/pico/memory.h +++ b/pico/memory.h @@ -25,8 +25,17 @@ typedef void (cpu68k_write_f)(u32 a, u32 d); extern u32 m68k_read8(u32 a); extern u32 m68k_read16(u32 a); +extern u32 m68k_read32(u32 a); extern void m68k_write8(u32 a, u8 d); extern void m68k_write16(u32 a, u16 d); +extern void m68k_write32(u32 a, u32 d); + +extern u32 s68k_read8(u32 a); +extern u32 s68k_read16(u32 a); +extern u32 s68k_read32(u32 a); +extern void s68k_write8(u32 a, u8 d); +extern void s68k_write16(u32 a, u16 d); +extern void s68k_write32(u32 a, u32 d); // z80 #define Z80_MEM_SHIFT 13 diff --git a/pico/memory_arm.S b/pico/memory_arm.S index ebeb346b..607006ce 100644 --- a/pico/memory_arm.S +++ b/pico/memory_arm.S @@ -227,8 +227,10 @@ m_write16_not_z80ctl: .global m68k_read8 .global m68k_read16 +.global m68k_read32 .global m68k_write8 .global m68k_write16 +.global m68k_write32 m68k_read8: PIC_LDR(r3, r2, m68k_read8_map) -- 2.39.5