⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arm9core.h

📁 ARM9Core v0.4, 在x86 Win32 下模拟仿真ARM9 微处理器的Library.
💻 H
字号:
/*
    ARM9Core
    Copyright (C) 2007 Alberto Huerta Aranda,
	Sergio Hidalgo Serrano, Daniel Sa駏do Vacas

    This library is free software; you can redistribute it and/or
	modify it under the terms of the GNU Lesser General Public
	License as published by the Free Software Foundation; either
	version 3 of the License, or (at your option) any later version.

	This library 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
	Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
	License along with this library. If not, see <http://www.gnu.org/licenses/>

*/


#ifndef ARM9CoreH
#define ARM9CoreH

/**************************************************************************************

  Archivo: ARM9Core.h

  Descripcion:

**************************************************************************************/

//INCLUDES//
#define WIN32_LEAN_AND_MEAN
#include "windows.h"

#include "ARM9Contexto.h"
#include "ARM9RutinasARM.h"

class ARM9Core {

protected:
	//Contexto
	int numeroContextos; //y de cores
	ARM9Contexto *contextos;
	ARM9Contexto *contextoActual;
	
	//Clase que emula las instrucciones ARM
	ARM9RutinasARM rutinasARM;

	//Clase que emula las instrucciones THUMB
//	ARM9RutinasTHUMB rutinasTHUMB;

	//Interfaces de los coprocesadores (max 16)
	coproDP listaCoproDP[16];
	coproLS listaCoproLS[16];
	coproRT listaCoproRT[16];

	//Funcion externa
	void (*funcionExterna) (void);


	//Memoria
	int nRegiones;
	ARM9MemRegion *memoria;

	//Marcador de excepciones
	ARM9Exception excepcionActiva;
	int paramExcepcion;

	//Handler de interrupciones de software
	void (*excepHandler[6])(int n);

	//Indica si est

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -