--- uae/src/md-i386-gcc/maccess.h 2018/04/24 16:42:54 1.1.1.1 +++ uae/src/md-i386-gcc/maccess.h 2018/04/24 16:49:31 1.1.1.2 @@ -26,9 +26,6 @@ static __inline__ uae_u32 do_get_mem_wor return retval; } -#define HAVE_GET_WORD_UNSWAPPED - -#define do_get_mem_word_unswapped(a) ((uae_u32)*((uae_u16 *)a)) #define do_get_mem_byte(a) ((uae_u32)*((uae_u8 *)a)) static __inline__ void do_put_mem_long (uae_u32 *a, uae_u32 v) @@ -53,14 +50,14 @@ static __inline__ void do_put_mem_word ( static __inline__ uae_u32 call_mem_get_func(mem_get_func func, uae_cptr addr) { uae_u32 result; - __asm__("call *%1" + __asm__("call %1" : "=a" (result) : "r" (func), "a" (addr) : "cc", "edx", "ecx"); return result; } static __inline__ void call_mem_put_func(mem_put_func func, uae_cptr addr, uae_u32 v) { - __asm__("call *%2" + __asm__("call %2" : : "a" (addr), "d" (v), "r" (func) : "cc", "eax", "edx", "ecx", "memory"); } #else