SCP: Add missing new entry in the scp_errors array

This commit is contained in:
Mark Pizzolato 2020-04-04 09:13:22 -07:00
parent eb242da79e
commit d0de8b807f

103
scp.c
View file

@ -754,57 +754,58 @@ const struct scp_error {
const char *code; const char *code;
const char *message; const char *message;
} scp_errors[1+SCPE_MAX_ERR-SCPE_BASE] = } scp_errors[1+SCPE_MAX_ERR-SCPE_BASE] =
{{"NXM", "Address space exceeded"}, {{"NXM", "Address space exceeded"},
{"UNATT", "Unit not attached"}, {"UNATT", "Unit not attached"},
{"IOERR", "I/O error"}, {"IOERR", "I/O error"},
{"CSUM", "Checksum error"}, {"CSUM", "Checksum error"},
{"FMT", "Format error"}, {"FMT", "Format error"},
{"NOATT", "Unit not attachable"}, {"NOATT", "Unit not attachable"},
{"OPENERR", "File open error"}, {"OPENERR", "File open error"},
{"MEM", "Memory exhausted"}, {"MEM", "Memory exhausted"},
{"ARG", "Invalid argument"}, {"ARG", "Invalid argument"},
{"STEP", "Step expired"}, {"STEP", "Step expired"},
{"UNK", "Unknown command"}, {"UNK", "Unknown command"},
{"RO", "Read only argument"}, {"RO", "Read only argument"},
{"INCOMP", "Command not completed"}, {"INCOMP", "Command not completed"},
{"STOP", "Simulation stopped"}, {"STOP", "Simulation stopped"},
{"EXIT", "Goodbye"}, {"EXIT", "Goodbye"},
{"TTIERR", "Console input I/O error"}, {"TTIERR", "Console input I/O error"},
{"TTOERR", "Console output I/O error"}, {"TTOERR", "Console output I/O error"},
{"EOF", "End of file"}, {"EOF", "End of file"},
{"REL", "Relocation error"}, {"REL", "Relocation error"},
{"NOPARAM", "No settable parameters"}, {"NOPARAM", "No settable parameters"},
{"ALATT", "Unit already attached"}, {"ALATT", "Unit already attached"},
{"TIMER", "Hardware timer error"}, {"TIMER", "Hardware timer error"},
{"SIGERR", "Signal handler setup error"}, {"SIGERR", "Signal handler setup error"},
{"TTYERR", "Console terminal setup error"}, {"TTYERR", "Console terminal setup error"},
{"SUB", "Subscript out of range"}, {"SUB", "Subscript out of range"},
{"NOFNC", "Command not allowed"}, {"NOFNC", "Command not allowed"},
{"UDIS", "Unit disabled"}, {"UDIS", "Unit disabled"},
{"NORO", "Read only operation not allowed"}, {"NORO", "Read only operation not allowed"},
{"INVSW", "Invalid switch"}, {"INVSW", "Invalid switch"},
{"MISVAL", "Missing value"}, {"MISVAL", "Missing value"},
{"2FARG", "Too few arguments"}, {"2FARG", "Too few arguments"},
{"2MARG", "Too many arguments"}, {"2MARG", "Too many arguments"},
{"NXDEV", "Non-existent device"}, {"NXDEV", "Non-existent device"},
{"NXUN", "Non-existent unit"}, {"NXUN", "Non-existent unit"},
{"NXREG", "Non-existent register"}, {"NXREG", "Non-existent register"},
{"NXPAR", "Non-existent parameter"}, {"NXPAR", "Non-existent parameter"},
{"NEST", "Nested DO command limit exceeded"}, {"NEST", "Nested DO command limit exceeded"},
{"IERR", "Internal error"}, {"IERR", "Internal error"},
{"MTRLNT", "Invalid magtape record length"}, {"MTRLNT", "Invalid magtape record length"},
{"LOST", "Console Telnet connection lost"}, {"LOST", "Console Telnet connection lost"},
{"TTMO", "Console Telnet connection timed out"}, {"TTMO", "Console Telnet connection timed out"},
{"STALL", "Console Telnet output stall"}, {"STALL", "Console Telnet output stall"},
{"AFAIL", "Assertion failed"}, {"AFAIL", "Assertion failed"},
{"INVREM", "Invalid remote console command"}, {"INVREM", "Invalid remote console command"},
{"EXPECT", "Expect matched"}, {"EXPECT", "Expect matched"},
{"AMBREG", "Ambiguous register name"}, {"AMBREG", "Ambiguous register name"},
{"REMOTE", "remote console command"}, {"REMOTE", "remote console command"},
{"INVEXPR", "invalid expression"}, {"INVEXPR", "invalid expression"},
{"SIGTERM", "SIGTERM received"}, {"SIGTERM", "SIGTERM received"},
{"FSSIZE", "File System size larger than disk size"}, {"FSSIZE", "File System size larger than disk size"},
{"RUNTIME", "Run time limit exhausted"}, {"RUNTIME", "Run time limit exhausted"},
{"INCOMPVHD", "Incompatible VHD Container"},
}; };
const size_t size_map[] = { sizeof (int8), const size_t size_map[] = { sizeof (int8),