Update NEWS and ChangeLog
[emu8051.git] / src / memory.h
index 039fb3f..55a034a 100644 (file)
@@ -1,26 +1,42 @@
-/* memory.h */
-
+/*
+ * memory.h
+ *
+ * Copyright (C) 1999 Jonathan St-AndrĂ©
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
 
 #ifndef MEMORY_H
 #define MEMORY_H 1
 
-
 #include <sys/types.h>
 
-
 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 );
 
 u_int8_t
 memory_read8( int memory_id, unsigned long address );
 
+void
+DumpMem(char *buf, char *Address, int memory_id);
 
 #endif /* MEMORY_H */