VMS checks the base time stamp time written in OS files vs. the clock during 
boot. If the time is too far off, you will be prompted to enter the system time.

Once a year or so, you have to issue a “$ SET TIME” command in VMS with no 
parameters to cause VMS to rewrite the base time stamp in the OS file.
The next reboot should not prompt for system time.

Dave


From: Simh [mailto:simh-boun...@trailing-edge.com] On Behalf Of Wilm Boerhout
Sent: Monday, April 11, 2016 9:23 AM
To: Anders Magnusson; SIMH Mailing List
Subject: EXT :Re: [Simh] MicroVAX II time across boots

From simh VAX/vax630_defs.h:

#define NVRBASE         0x200B8000                      /* NVR base */

so that appears to be implemented in the simh "nvr" device. My ini file 
attaches that device to a file, so I would expect that this file acts as a 
battery-operated nvr chip. Still, after closing simh, and restarting, VMS still 
asks for the time. Not so on a reboot of VMS within the simh instance.

Time to file a bug?

/Wilm

Anders Magnusson schreef op 11-4-2016 om 15:13:
It has a clock chip at 0x200b8000 from where it reads current time, similar to 
a PC.
The console mailbox is also in that chip.

-- R

Den 2016-04-11 kl. 14:33, skrev Wilm Boerhout:

How does a real MicroVAX II preserve its time across boots?

How is this implemented in simh MicroVAX II? i.e. what virtual device should I 
attach to a file so that the time is preserved in VMS?
My configuration (below) does not preserve the time (VMS V7.3 fully patched)

Thanks,
/Wilm

--- simh config ---
; unused devices:
set cr disable
set lpt disable
set rl disable
set tq disable
set ts disable

att nvr /opt/simh-master/BIN/nvram.bin

set cpu 16M conhalt idle=VMS
set rom nodelay
set qba autoconfig

; DZ11
set dz enable
set dz lines=4
att dz 10000

; DUA controller
set rq0 autosize
att -e rq0 /vdisk/PAGESWAP.vdisk
set rq1 disable
set rq2 disable
set rq3 disable

; Ethernet
set xq mac=08:00:2B:17:08:58
att xq tap:tap0

boot cpu
_______________________________________________
Simh mailing list
Simh@trailing-edge.com<mailto:Simh@trailing-edge.com>
http://mailman.trailing-edge.com/mailman/listinfo/simh


_______________________________________________
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to