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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user