From 346915db5aab133b6805cf58680b1378a45f0a40 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 12 Sep 2003 15:55:43 +0000 Subject: Writing some mips code... --- includes/mips.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'includes/mips.h') 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 -- cgit v1.2.3