1
0
mirror of https://github.com/simh/simh.git synced 2026-04-28 12:47:25 +00:00

Added SET CPU AUTOBOOT to the MicroVAX II and VAX 3900 simulators

This commit is contained in:
Mark Pizzolato
2013-01-26 17:07:27 -08:00
parent 6dcf5ba7d9
commit c729942de6
6 changed files with 74 additions and 33 deletions

View File

@@ -126,9 +126,13 @@
{ UNIT_MSIZE, (1u << 27), NULL, "128M", &cpu_set_size }, \
{ UNIT_MSIZE, (1u << 28), NULL, "256M", &cpu_set_size }, \
{ UNIT_MSIZE, (1u << 29), NULL, "512M", &cpu_set_size }
#define CPU_MODEL_MODIFIERS \
{ MTAB_XTD|MTAB_VDV, 0, "MODEL", NULL, \
NULL, &cpu_show_model },
#define CPU_MODEL_MODIFIERS \
{ MTAB_XTD|MTAB_VDV, 0, "MODEL", NULL, \
NULL, &cpu_show_model }, \
{ MTAB_XTD|MTAB_VDV, 0, "AUTOBOOT", "AUTOBOOT", \
&sysd_set_halt, &sysd_show_halt }, \
{ MTAB_XTD|MTAB_VDV|MTAB_NMO, 1, "NOAUTOBOOT", "NOAUTOBOOT",\
&sysd_set_halt, &sysd_show_halt },
/* Cache diagnostic space */
@@ -432,4 +436,7 @@ int32 Map_WriteW (uint32 ba, int32 bc, uint16 *buf);
#include "pdp11_io_lib.h"
extern t_stat sysd_set_halt (UNIT *uptr, int32 val, char *cptr, void *desc);
extern t_stat sysd_show_halt (FILE *st, UNIT *uptr, int32 val, void *desc);
#endif