mirror of
https://github.com/BluestormDNA/ProjectPSX.git
synced 2025-04-02 10:52:34 -04:00
Bios Disassembler stub
This commit is contained in:
parent
6cb89b7244
commit
872a627545
1 changed files with 29 additions and 0 deletions
29
ProjectPSX/Core/BIOS_Disassembler.cs
Normal file
29
ProjectPSX/Core/BIOS_Disassembler.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System;
|
||||
|
||||
namespace ProjectPSX {
|
||||
internal class BIOS_Disassembler {
|
||||
internal void verbose(uint PC, uint[] GPR) {
|
||||
uint pc = PC & 0x1fffffff;
|
||||
switch (pc) {
|
||||
case 0xA0:
|
||||
Console.ForegroundColor = ConsoleColor.Blue;
|
||||
//Console.WriteLine("[BIOS] [VERBOSE] A0 Function " + GPR[9].ToString("x8"));
|
||||
//Console.ReadLine();
|
||||
Console.ResetColor();
|
||||
break;
|
||||
case 0xB0:
|
||||
Console.ForegroundColor = ConsoleColor.Blue;
|
||||
//Console.WriteLine("[BIOS] [VERBOSE] B0 Function " + GPR[9].ToString("x8"));
|
||||
//Console.ReadLine();
|
||||
Console.ResetColor();
|
||||
break;
|
||||
case 0xC0:
|
||||
Console.ForegroundColor = ConsoleColor.Blue;
|
||||
//Console.WriteLine("[BIOS] [VERBOSE] C0 Function " + GPR[9].ToString("x8"));
|
||||
//Console.ReadLine();
|
||||
Console.ResetColor();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue