ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/cpu_emulation.h
(Generate patch)

Comparing BasiliskII/src/uae_cpu/cpu_emulation.h (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:26Z vs.
Revision 1.6 by cebix, 2000-08-22T12:44:30Z

# Line 1 | Line 1
1   /*
2 < *  cpu_emulation.h - Definitions for Basilisk II CPU emulation module (UAE 0.8.8 version)
2 > *  cpu_emulation.h - Definitions for Basilisk II CPU emulation module (UAE 0.8.10 version)
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2000 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 21 | Line 21
21   #ifndef CPU_EMULATION_H
22   #define CPU_EMULATION_H
23  
24 + #include <string.h>
25 +
26  
27   /*
28   *  Memory system
# Line 73 | Line 75 | static inline void WriteMacInt16(uint32
75   static inline void WriteMacInt8(uint32 addr, uint32 b) {put_byte(addr, b);}
76   static inline uint8 *Mac2HostAddr(uint32 addr) {return get_real_address(addr);}
77   #endif
78 + static inline void *Mac_memset(uint32 addr, int c, size_t n) {return memset(Mac2HostAddr(addr), c, n);}
79 + static inline void *Mac2Host_memcpy(void *dest, uint32 src, size_t n) {return memcpy(dest, Mac2HostAddr(src), n);}
80 + static inline void *Host2Mac_memcpy(uint32 dest, const void *src, size_t n) {return memcpy(Mac2HostAddr(dest), src, n);}
81 + static inline void *Mac2Mac_memcpy(uint32 dest, uint32 src, size_t n) {return memcpy(Mac2HostAddr(dest), Mac2HostAddr(src), n);}
82  
83  
84   /*
# Line 91 | Line 97 | extern "C" void Execute68kTrap(uint16 tr
97  
98   // Interrupt functions
99   extern void TriggerInterrupt(void);                                                             // Trigger interrupt level 1 (InterruptFlag must be set first)
100 + extern void TriggerNMI(void);                                                                   // Trigger interrupt level 7
101  
102   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines