Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

mem.h

Go to the documentation of this file.
00001 
00006 #ifndef MEMORY_H
00007 #define MEMORY_H
00008 
00009 #define TRUE 1
00010 #define FALSE 0
00011 
00012 #include "dlluser.h"
00013 
00014 typedef unsigned int UINT;
00015 
00017 #define MEMSIZE 65536
00018 
00019 #define PAGESIZE 8
00020 
00021 #define PAGECOUNT 256
00022 
00024 #define IOLO 0xD000
00025 
00026 #define IOHI 0xD7FF
00027 
00029 extern unsigned char memory[];
00030 
00032 extern CRITICAL_SECTION CSMemory;
00033 
00041 extern pIOFunc memio[IOHI - IOLO + 1];
00042 
00049 unsigned char memgetb(UINT adr);
00050 
00057 void memsetb(UINT adr, unsigned char byte);
00058 
00060 void SetMemory(char *buf);
00061 
00063 void InitMem();
00064 
00073 void SetIOFunc(pIOFunc piof, UINT loadr, UINT hiadr);
00074 
00075 
00076 #endif //#ifndef MEMORY_H

Generated on Fri Sep 6 18:32:14 2002 for Emu6502 by doxygen1.2.17