git-svn-id: http://svn.purei.org/purei/trunk@176 b36208d7-6611-0410-8bec-b1987f11c4a2

This commit is contained in:
jpd002 2007-11-13 19:45:47 +00:00
parent 721f91a9e9
commit 25ca7a6144
4 changed files with 60 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Version="8.00"
Name="PsfPlayer"
ProjectGUID="{EDA20432-A4C3-481C-B0EA-24AA8ABD7621}"
RootNamespace="PsfPlayer"
@ -216,6 +216,10 @@
RelativePath=".\Source\Iop_Sysmem.cpp"
>
</File>
<File
RelativePath=".\Source\Iop_Thbase.cpp"
>
</File>
<File
RelativePath=".\Source\IopBios.cpp"
>
@ -306,6 +310,10 @@
RelativePath=".\Source\Iop_Sysmem.h"
>
</File>
<File
RelativePath=".\Source\Iop_Thbase.h"
>
</File>
<File
RelativePath=".\Source\IopBios.h"
>

View File

@ -0,0 +1,29 @@
#include "Iop_Thbase.h"
using namespace Iop;
using namespace std;
CThbase::CThbase()
{
}
CThbase::~CThbase()
{
}
string CThbase::GetId() const
{
return "thbase";
}
void CThbase::Invoke(CMIPS& context, unsigned int functionId)
{
switch(functionId)
{
default:
printf("%s(%0.8X): Unknown function (%d) called.\r\n", __FUNCTION__, context.m_State.nPC, functionId);
break;
}
}

View File

@ -0,0 +1,22 @@
#ifndef _IOP_THBASE_H_
#define _IOP_THBASE_H_
#include "Iop_Module.h"
namespace Iop
{
class CThbase : public CModule
{
public:
CThbase();
virtual ~CThbase();
std::string GetId() const;
void Invoke(CMIPS&, unsigned int);
private:
};
}
#endif

Binary file not shown.