1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

VAX: Parse for switches in BOOT command implementations

This commit is contained in:
Mark Pizzolato
2018-09-27 06:35:31 -07:00
parent 928193d463
commit 0ca011cd46
7 changed files with 14 additions and 0 deletions

View File

@@ -1704,6 +1704,8 @@ t_stat vax_boot (int32 flag, CONST char *ptr)
{
char gbuf[CBUFSIZE];
if ((ptr = get_sim_sw (ptr)) == NULL) /* get switches */
return SCPE_INVSW;
get_glyph (ptr, gbuf, 0); /* get glyph */
if (gbuf[0] && strcmp (gbuf, "CPU"))
return SCPE_ARG; /* Only can specify CPU device */