Opened 10 years ago

Closed 13 days ago

Last modified 12 days ago

#8 closed defect (fixed)

ISOLTS executes pas2 test harness incorrectly.

Reported by: charles.unix.pro@… Owned by: Eric Swenson
Priority: major Milestone: MR12.9
Component: General Version: MR12.5
Keywords: Cc:

Description

Running the pas2 exec command 'hdump' produces an infinite listing of history resister values.

Change History (3)

comment:1 by Eric Swenson, 8 weeks ago

This is almost certainly an emulator (dps8m) issue, not Multics. Needs debugging on the emulator

Multics isolts_ only relays hdump. isolts_.pl1 (bound_tolts_) handles a few options itself: cdump, mdump, xdump, sdump in ck_isolts_opt. Anything else, hdump included, goes to the pas2
executive, which runs on the CPU under test. isolts_'s part is only to relay pas2's output requests (interpret_action: action.print / action.type messages, converted from BCD and printed).

The endless listing is pas2 itself looping, asking again and again to print history-register data. pas2 is Honeywell test code that reads the history registers of the CPU under test and stops after the registers have all been read. If the emulator's history register behavior differs from the hardware (how many entries a read returns, the wrap or "last entry" indication, or the effect of the history register control bits in the mode register), pas2 never sees the end and keeps going.

We should look at the dps8m history register implementation (dps8_cpu.c "history register inputs", the lhr/shr-type reads and the dps8_faults.c history register lock and strobe handling), with cpu.tweaks.isolts_mode on. dps8m already has many ISOLTS-specific fixes (comments citing ISOLTS test numbers), so this belongs with those.

We should run isolts on the emulator, enter hdump, interrupt after a few screens, and trace the instructions the test CPU executes (dps8m debug tracing) to see which history-register instruction pas2 loops on and what value it tests.

This really should become a dps8m ticket, not a Multics ticket.

comment:2 by Eric Swenson, 13 days ago

Milestone: → MR12.9
Resolution: → fixed
Status: new → closed
Version: → MR12.5

No longer reproduces with current dps8m and MR12.9o: hdump completes and returns to *options? on DPS8/M and L68 CPUs, both before and after test pages have run. pas2's hdump reads a fixed number of entries per register, so it can't loop on register contents; the old behaviour was an earlier emulator bug.

comment:3 by Eric Swenson, 12 days ago

Dumps taken after a test page mostly show pas2's own read loop. AL39 says the hardware would do the same, because pas2 leaves history recording on while it reads.

Note: See TracTickets for help on using tickets.