rcornwell / sims

Burroughs B5500, ICL1900, SEL32, IBM 360/370, IBM 7000 and DEC PDP10 KA10/KI10/KL10/KS10, PDP6 simulators for SimH
http://sky-visions.com
95 stars 20 forks source link

KL10: TOPS-20 V2 problem #284

Closed larsbrinkhoff closed 2 years ago

larsbrinkhoff commented 2 years ago

Trying to install TOPS-20 V2, I run into a problem. Probably when paging is enabled? Details to follow.

larsbrinkhoff commented 2 years ago

These are the last few steps executed.

Step expired, PC: 051151
sim> ex -m 51151-51153
51151:  CONO PAG,@47545
51152:  DATAO PAG,44705
51153:  POPJ 17,0
sim> s
Step expired, PC: 051152
sim> s
Step expired, PC: 000000 (CALL 0,0)
sim> ex 47545
47545:  000000060002
sim> ex 44705
44705:  100000400003
larsbrinkhoff commented 2 years ago

I used this tape: http://bitsavers.org/bits/DEC/pdp10/magtape/dec_distribs/TOPS-20/DEC-20-OT20A-D-MC9.tap.gz

And this configuration. The breakpoint is shortly before the above.

set console wru=034
set cpu 1024k
set tua rh20
set rpa rh20
set rpa0 rp06
set cty rsx20
# Tops 20 V2
at tua0  DEC-20-OT20A-D-MC9.tap
at rpa0 -n kla_psv2_0.rp06
at rpa1 -n kla_psv2_1.rp06
at rpa2 -n kla_psv2_2.rp06
break 57345
load -c -b mtboot.exb
expect "BOOT>" send "/l\r"; continue
expect "BOOT>" send "/g143\r"; continue
larsbrinkhoff commented 2 years ago

Starting with /g140 gets us into a healthy EDDT.

rcornwell commented 2 years ago

This requires the correct mtboot.exb I do not remember how I booted this before.

larsbrinkhoff commented 2 years ago

CONO PAG, 000000060002 sets the EBR to 2000, and enables T20 paging.

DATAO PAG, 100000400003 enables the APR clock, sets the UBR to 3000, and inhibits meter updates.

Memory down there is all cleared.

larsbrinkhoff commented 2 years ago

Not an emulator problem since booting doesn't populate EBR/UBR/page tables or whatever.