X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fmemory.h;h=bd3420ef8a4a27a1be60bbcd809949f6e4b7bd2e;hb=ba7ff1a7a78b3aa7c2cad9bfce117256638938b1;hp=73acdbe182c27407bacb41f556ef7218d7178457;hpb=6a65dca9d597772744524b909f2d89b479b8bf77;p=emu8051.git diff --git a/src/memory.h b/src/memory.h index 73acdbe..bd3420e 100644 --- a/src/memory.h +++ b/src/memory.h @@ -16,29 +16,27 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef MEMORY_H #define MEMORY_H 1 - #include - enum { - SFR_MEM_ID, PGM_MEM_ID, INT_MEM_ID, EXT_MEM_ID }; - void -memory_write8( int memory_id, unsigned long address, u_int8_t value ); +memory_write8(int memory_id, unsigned long address, u_int8_t value); u_int8_t -memory_read8( int memory_id, unsigned long address ); +memory_read8(int memory_id, unsigned long address); +void +DumpMem(char *Address, char *Asize, int memory_id); #endif /* MEMORY_H */