PSP-EMU rev 57
Un emulador en c++ para SONY PSP
|
00001 00008 #ifndef CPSP_H_ 00009 #define CPSP_H_ 00010 00011 #include "general_emu.h" 00012 #include "cAllegrex.h" 00013 #include "cMemoria.h" 00014 #include "cControladorMemoria.h" 00015 00016 class cPSP 00017 { 00018 private: 00022 cAllegrex allegrex; 00026 cMemoria memoria; 00030 cControladorMemoria controlador_memoria; 00031 00032 // Componentes 00033 tError crearMapaMemoria(tDireccion dir_base, tLongitud longitud); 00034 tError crearTodosMapasMemoria(void); 00035 tError mapearControladorMemoria(void* componente, tDireccion dir_base, tLongitud longitud, tComponente comp); 00036 tError mapearTodosControladorMemoria(void); 00037 tError cargarPreIPL(void); 00038 tError inicializar(void); 00039 00040 public: 00041 cPSP(); 00042 ~cPSP(); 00043 00044 tError encender(void); 00045 tError apagar(void); 00046 tError suspender(void); 00047 }; 00048 00049 #endif /* CPSP_H_ */