mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
PDP11, VAX: Provide a useful error message when the unimplemented DUMP command is attempted.
This commit is contained in:
@@ -109,7 +109,7 @@ int32 i;
|
||||
uint32 origin, limit;
|
||||
|
||||
if (flag) /* dump? */
|
||||
return SCPE_ARG;
|
||||
return sim_messagef (SCPE_NOFNC, "Command Not Implemented\n");
|
||||
origin = 0; /* memory */
|
||||
limit = (uint32) cpu_unit.capac;
|
||||
if (sim_switches & SWMASK ('O')) { /* origin? */
|
||||
|
||||
@@ -125,7 +125,7 @@ int32 i;
|
||||
uint32 origin, limit, step = 1;
|
||||
|
||||
if (flag) /* dump? */
|
||||
return SCPE_ARG;
|
||||
return sim_messagef (SCPE_NOFNC, "Command Not Implemented\n");
|
||||
if (sim_switches & SWMASK ('R')) { /* ROM? */
|
||||
origin = ROMBASE;
|
||||
limit = ROMBASE + ROMSIZE;
|
||||
|
||||
@@ -108,7 +108,7 @@ int32 val;
|
||||
uint32 origin, limit;
|
||||
|
||||
if (flag) /* dump? */
|
||||
return SCPE_ARG;
|
||||
return sim_messagef (SCPE_NOFNC, "Command Not Implemented\n");
|
||||
origin = 0; /* memory */
|
||||
limit = (uint32) cpu_unit.capac;
|
||||
if (sim_switches & SWMASK ('O')) { /* origin? */
|
||||
|
||||
@@ -112,7 +112,7 @@ int32 val;
|
||||
uint32 origin, limit;
|
||||
|
||||
if (flag) /* dump? */
|
||||
return SCPE_ARG;
|
||||
return sim_messagef (SCPE_NOFNC, "Command Not Implemented\n");
|
||||
origin = 0; /* memory */
|
||||
limit = (uint32) cpu_unit.capac;
|
||||
if (sim_switches & SWMASK ('R')) { /* ROM? */
|
||||
|
||||
@@ -122,7 +122,7 @@ int32 val;
|
||||
uint32 origin, limit;
|
||||
|
||||
if (flag) /* dump? */
|
||||
return SCPE_ARG;
|
||||
return sim_messagef (SCPE_NOFNC, "Command Not Implemented\n");
|
||||
origin = 0; /* memory */
|
||||
limit = (uint32) cpu_unit.capac;
|
||||
if (sim_switches & SWMASK ('O')) { /* origin? */
|
||||
|
||||
@@ -118,7 +118,7 @@ int32 val;
|
||||
uint32 origin, limit;
|
||||
|
||||
if (flag) /* dump? */
|
||||
return SCPE_ARG;
|
||||
return sim_messagef (SCPE_NOFNC, "Command Not Implemented\n");
|
||||
origin = 0; /* memory */
|
||||
limit = (uint32) cpu_unit.capac;
|
||||
if (sim_switches & SWMASK ('O')) { /* origin? */
|
||||
|
||||
@@ -120,7 +120,7 @@ extern int32 ssc_cnf;
|
||||
#define SSCCNF_BLO 0x80000000
|
||||
|
||||
if (flag) /* dump? */
|
||||
return SCPE_ARG;
|
||||
return sim_messagef (SCPE_NOFNC, "Command Not Implemented\n");
|
||||
if (sim_switches & SWMASK ('R')) { /* ROM? */
|
||||
origin = ROMBASE;
|
||||
limit = ROMBASE + ROMSIZE;
|
||||
|
||||
Reference in New Issue
Block a user