summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorpixel <pixel>2003-09-12 15:55:43 +0000
committerpixel <pixel>2003-09-12 15:55:43 +0000
commit346915db5aab133b6805cf58680b1378a45f0a40 (patch)
tree9d87c6b57e903df9f3a3890849a24a56d76b49fe /includes
parent8e1b15f1eb4171135f3fdb803fed1f8025f5f52d (diff)
Writing some mips code...
Diffstat (limited to 'includes')
-rw-r--r--includes/mips.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/includes/mips.h b/includes/mips.h
index b0409ea..814120f 100644
--- a/includes/mips.h
+++ b/includes/mips.h
@@ -16,9 +16,10 @@ class mips : public Base {
void unpatch16(Uint32);
void unpatch32(Uint32);
bool IsPatched(Uint32);
- void LoadEXE(Handle *);
- void SaveEXE(Handle *);
+ void LoadPSYQ(Handle *);
+ void SavePSYQ(Handle *);
Uint32 GetPC();
+ void disassemble(Uint32);
private:
void patch(Uint32, int);
void unpatch(Uint32, int);
@@ -36,4 +37,17 @@ class mips : public Base {
};
};
+class TDis : public Base {
+ public:
+ TDis(Uint32);
+ void setInstruction(String);
+ void setAddress(Uint32);
+ void addArgReg(int);
+ void addArgImm(Uint32);
+ void addArgRelative(Uint32);
+ void addArgAbsolute(Uint32);
+ private:
+ Uint32 pc;
+};
+
#endif