debug code
This commit is contained in:
parent
e50001ce15
commit
4f0327e323
1 changed files with 0 additions and 10 deletions
10
cpu.cpp
10
cpu.cpp
|
@ -1223,9 +1223,6 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
||||||
|
|
||||||
//b->check_address(true, true, phys, false, word_mode, (getPSW() >> 12) & 3);
|
//b->check_address(true, true, phys, false, word_mode, (getPSW() >> 12) & 3);
|
||||||
|
|
||||||
extern FILE *lfh;
|
|
||||||
fflush(lfh);
|
|
||||||
|
|
||||||
v = b->readPhysical(word_mode ? phys.physical_data : phys.physical_instruction);
|
v = b->readPhysical(word_mode ? phys.physical_data : phys.physical_instruction);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1273,9 +1270,6 @@ bool cpu::single_operand_instructions(const uint16_t instr)
|
||||||
|
|
||||||
//b->check_address(true, true, phys, false, word_mode, (getPSW() >> 12) & 3);
|
//b->check_address(true, true, phys, false, word_mode, (getPSW() >> 12) & 3);
|
||||||
|
|
||||||
extern FILE *lfh;
|
|
||||||
fflush(lfh);
|
|
||||||
|
|
||||||
b->writePhysical(word_mode ? phys.physical_data : phys.physical_instruction, v);
|
b->writePhysical(word_mode ? phys.physical_data : phys.physical_instruction, v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2163,10 +2157,6 @@ void cpu::step_b()
|
||||||
try {
|
try {
|
||||||
uint16_t instr = b->readWord(temp_pc);
|
uint16_t instr = b->readWord(temp_pc);
|
||||||
|
|
||||||
// FILE *fh = fopen("/home/folkert/kek.dat", "a+");
|
|
||||||
// fprintf(fh, "%06o %06o\n", temp_pc, instr);
|
|
||||||
// fclose(fh);
|
|
||||||
|
|
||||||
addRegister(7, false, 2);
|
addRegister(7, false, 2);
|
||||||
|
|
||||||
if (double_operand_instructions(instr))
|
if (double_operand_instructions(instr))
|
||||||
|
|
Loading…
Add table
Reference in a new issue