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

PDP11, VAX: Provide a useful error message when the unimplemented DUMP command is attempted.

This commit is contained in:
Mark Pizzolato
2016-01-25 16:21:54 -08:00
parent c8c071e3e1
commit a9cc1f1c68
8 changed files with 10 additions and 8 deletions

View File

@@ -243,8 +243,10 @@ t_stat sim_load (FILE *fileref, char *cptr, char *fnam, int flag)
int32 c[6], d, i, cnt, csum;
uint32 org;
if ((*cptr != 0) || (flag != 0))
if (*cptr != 0)
return SCPE_ARG;
if (flag != 0)
return sim_messagef (SCPE_NOFNC, "Command Not Implemented\n");
do { /* block loop */
csum = 0; /* init checksum */
for (i = 0; i < 6; ) { /* 6 char header */