debug
This commit is contained in:
parent
b2e1d10d36
commit
cfaf1e4385
2 changed files with 2 additions and 3 deletions
4
bus.cpp
4
bus.cpp
|
@ -64,7 +64,7 @@ uint16_t bus::read(const uint16_t a, const bool word_mode, const bool use_prev)
|
|||
|
||||
if (a >= 0160000) {
|
||||
if (word_mode)
|
||||
fprintf(stderr, "READ I/O %06o in byte mode\n", a);
|
||||
D(fprintf(stderr, "READ I/O %06o in byte mode\n", a);)
|
||||
|
||||
if (a == 0177750) { // MAINT
|
||||
D(fprintf(stderr, "read MAINT\n");)
|
||||
|
@ -363,7 +363,7 @@ uint16_t bus::write(const uint16_t a, const bool word_mode, uint16_t value, cons
|
|||
|
||||
if (a >= 0160000) {
|
||||
if (word_mode)
|
||||
fprintf(stderr, "WRITE I/O %06o in byte mode\n", a);
|
||||
D(fprintf(stderr, "WRITE I/O %06o in byte mode\n", a);)
|
||||
|
||||
if (word_mode) {
|
||||
if (a == 0177776 || a == 0177777) { // PSW
|
||||
|
|
1
cpu.cpp
1
cpu.cpp
|
@ -1304,7 +1304,6 @@ bool cpu::misc_operations(const uint16_t instr)
|
|||
{
|
||||
switch(instr) {
|
||||
case 0b0000000000000000: // HALT
|
||||
// pretend HALT is not executed, proceed
|
||||
*event = 1;
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue