This commit is contained in:
folkert van heusden 2022-04-08 23:39:25 +02:00
parent b2e1d10d36
commit cfaf1e4385
2 changed files with 2 additions and 3 deletions

View file

@ -64,7 +64,7 @@ uint16_t bus::read(const uint16_t a, const bool word_mode, const bool use_prev)
if (a >= 0160000) { if (a >= 0160000) {
if (word_mode) 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 if (a == 0177750) { // MAINT
D(fprintf(stderr, "read MAINT\n");) 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 (a >= 0160000) {
if (word_mode) 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 (word_mode) {
if (a == 0177776 || a == 0177777) { // PSW if (a == 0177776 || a == 0177777) { // PSW

View file

@ -1304,7 +1304,6 @@ bool cpu::misc_operations(const uint16_t instr)
{ {
switch(instr) { switch(instr) {
case 0b0000000000000000: // HALT case 0b0000000000000000: // HALT
// pretend HALT is not executed, proceed
*event = 1; *event = 1;
return true; return true;