[Simh] VAXELN clock

Bob Supnik bob at supnik.org
Sat Dec 15 17:44:42 EST 2018


My question is... how does the TODR get reset from the value read by the 
ROM to the ELN value with no intervening write? Did it wrap around? 
Seems unlikely; it shouldn't wrap around before next year.

I suspect it's the "OS agnostic mode" that was added in 4.X. According 
to the writeup,
.

This mode is enabled by attaching the TODR to a

battery backup state file for the TOY clock

(i.e. sim> attach TODR TOY_CLOCK). When operating

in OS Agnostic mode, the TODR will initially start

counting from 0 and be adjusted differently when an

OS specifically writes to the TODR. On the first OS

boot with an attached TODR VMS will prompt to set

the time unless the SYSGEN parameter TIMEPROMPTWAIT

is set to 0.

So I'd like to see what the behavior is <without> the clock file attached.

Or you can post a pointer to the disk image you're using, and I'll try 
it on 3.10. I saw the ELN kits on 9track.net, but I don't know which one 
to use.

/Bob

On 12/15/2018 3:08 PM, simh-request at trailing-edge.com wrote:
> DBG(1041144)> CLK REG: todr_rd(ROM) - TODR=0xC3AA5B84
> DBG(7056415)> CLK REG: todr_rd() - TODR=0x132A4
> DBG(7056419)> same as above (1 time)
> DBG(9598293)> CLK REG: todr_rd() - TODR=0x133F0
> DBG(11998428)> CLK REG: todr_rd() - TODR=0x13526
> DBG(14398563)> CLK REG: todr_rd() - TODR=0x1365C



More information about the Simh mailing list