chore: binary logging + file logging + DP chanes + fastBoot changes
This commit is contained in:
@@ -85,7 +85,7 @@ pub fn dataProcessing(comptime I: bool, comptime S: bool, comptime instrKind: u4
|
||||
// TST
|
||||
if (rd == 0xF) {
|
||||
undefinedTestBehaviour(cpu);
|
||||
cpu.r[15] += 4; // FIXME: This is objectively wrong I think
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ pub fn dataProcessing(comptime I: bool, comptime S: bool, comptime instrKind: u4
|
||||
// TEQ
|
||||
if (rd == 0xF) {
|
||||
undefinedTestBehaviour(cpu);
|
||||
cpu.r[15] += 4; // FIXME: This is objectively wrong I think
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ pub fn dataProcessing(comptime I: bool, comptime S: bool, comptime instrKind: u4
|
||||
// CMP
|
||||
if (rd == 0xF) {
|
||||
undefinedTestBehaviour(cpu);
|
||||
cpu.r[15] += 4; // FIXME: This is objectively wrong I think
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ pub fn dataProcessing(comptime I: bool, comptime S: bool, comptime instrKind: u4
|
||||
// CMN
|
||||
if (rd == 0xF) {
|
||||
undefinedTestBehaviour(cpu);
|
||||
cpu.r[15] += 4; // FIXME: This is objectively wrong I think
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -220,4 +220,5 @@ fn testFlags(comptime S: bool, cpu: *Arm7tdmi, opcode: u32, result: u32) void {
|
||||
fn undefinedTestBehaviour(cpu: *Arm7tdmi) void {
|
||||
@setCold(true);
|
||||
cpu.setCpsr(cpu.spsr.raw);
|
||||
cpu.r[15] += 4; // FIXME: This is objectively wrong I think
|
||||
}
|
||||
|
Reference in New Issue
Block a user