diff options
author | pixel <pixel> | 2003-09-12 15:55:43 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-09-12 15:55:43 +0000 |
commit | 346915db5aab133b6805cf58680b1378a45f0a40 (patch) | |
tree | 9d87c6b57e903df9f3a3890849a24a56d76b49fe /includes | |
parent | 8e1b15f1eb4171135f3fdb803fed1f8025f5f52d (diff) |
Writing some mips code...
Diffstat (limited to 'includes')
-rw-r--r-- | includes/mips.h | 18 |
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 |