-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46b53e2
commit 68d720d
Showing
25 changed files
with
519 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class AddDWord : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_ADD_DWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class AddQWord : IKoiHandler | ||
{ | ||
public KoiOpCodes Handles => KoiOpCodes.OP_ADD_QWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class AddR32 : IKoiHandler | ||
{ | ||
public KoiOpCodes Handles => KoiOpCodes.OP_ADD_R32; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class AddR64 : IKoiHandler | ||
{ | ||
public KoiOpCodes Handles => KoiOpCodes.OP_ADD_R64; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Rhydon.Core; | ||
|
||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class Call : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_CALL; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class Cmp : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_CMP; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class CmpDWord : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_CMP_DWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class CmpQWord : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_CMP_QWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class CmpR32 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_CMP_R32; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class CmpR64 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_CMP_R64; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using Rhydon.Core; | ||
|
||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class DivDWord : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_DIV_DWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class DivQWord : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_DIV_QWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class DivR32 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_DIV_R32; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class DivR64 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_DIV_R64; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class FConvR32 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_FCONV_R32; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class FConvR32R64 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_FCONV_R32_R64; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class FConvR64 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_FCONV_R64; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class FConvR64R32 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_FCONV_R64_R32; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class IConvPtr : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_ICONV_PTR; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class IConvR64 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_ICONV_R64; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class Jmp : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_JMP; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class Jnz : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_JNZ; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class Jz : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_JZ; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class Swt : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_SWT; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class Leave : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_LEAVE; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class LindByte : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_LIND_BYTE; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class LindDword : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_LIND_DWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class LindObject : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_LIND_OBJECT; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class LindPtr : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_LIND_PTR; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class LindQword : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_LIND_QWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class LindWord : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_LIND_WORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class MulDword : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_MUL_DWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class MulQWord : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_MUL_QWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class MulR32 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_MUL_R32; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class MulR64 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_MUL_R64; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class Nop : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_NOP; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class NorDword : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_NOR_DWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class NorQword : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_NOR_QWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class Pop : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_POP; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
ctx.Reader.ReadKoiByte(ctx.Export); // ReadByte gets used on original opcode. | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Rhydon.Core; | ||
namespace Rhydon.Emulator.Handlers | ||
{ | ||
class RemDword : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_REM_DWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class RemQword : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_REM_QWORD; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class RemR32 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_REM_R32; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
class RemR64 : IKoiHandler { | ||
public KoiOpCodes Handles => KoiOpCodes.OP_REM_R64; | ||
public void Emulate(EmuContext ctx) { | ||
//throw new System.NotImplementedException(); | ||
} | ||
} | ||
} |
Oops, something went wrong.