Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

cpu.h

Go to the documentation of this file.
00001 
00006 #ifndef CPU_H
00007 #define CPU_H
00008 
00009 typedef unsigned int UINT;
00010 
00016 typedef struct {
00017         UINT PC;                        
00018         unsigned char X;        
00019         unsigned char Y;        
00020         unsigned char A;        
00021         unsigned char P;        
00022         UINT S;                         
00023 } Regs;
00024 
00025 
00026 unsigned char (*memgetb) (UINT adr);
00027 void (*memsetb) (UINT adr, unsigned char byte);
00028 
00029 void Reset();
00030 void Irq();
00031 void Nmi();
00032 UINT InstrStep();
00033 Regs* GetRegs();
00034 void SetRegs(Regs r);
00035 
00036 #endif //#ifndef CPU_H

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