SCP. PDP11: Add ESC and ENQ to the default set of console output characters in 7P mode.
Revert change to add ESC and ENQ to printable characters for all simulators and make that change only for the PDP11.
This commit is contained in:
parent
9c977e9392
commit
6582aeead2
3 changed files with 4 additions and 3 deletions
|
@ -3038,6 +3038,7 @@ if (M == NULL) { /* First time init */
|
|||
M = (uint16 *) calloc (MEMSIZE >> 1, sizeof (uint16));
|
||||
if (M == NULL)
|
||||
return SCPE_MEM;
|
||||
sim_set_pchar (0, "01000023640"); /* ESC, CR, LF, TAB, BS, BEL, ENQ */
|
||||
sim_brk_types = sim_brk_dflt = SWMASK ('E');
|
||||
sim_vm_is_subroutine_call = &cpu_is_pc_a_subroutine_call;
|
||||
auto_config(NULL, 0); /* do an initial auto configure */
|
||||
|
|
BIN
doc/simh.doc
BIN
doc/simh.doc
Binary file not shown.
|
@ -165,7 +165,7 @@ static t_stat sim_set_delay (int32 flag, char *cptr);
|
|||
|
||||
int32 sim_int_char = 005; /* interrupt character */
|
||||
int32 sim_brk_char = 000; /* break character */
|
||||
int32 sim_tt_pchar = 0x080027A0;
|
||||
int32 sim_tt_pchar = 0x00002780;
|
||||
#if defined (_WIN32) || defined (__OS2__) || (defined (__MWERKS__) && defined (macintosh))
|
||||
int32 sim_del_char = '\b'; /* delete character */
|
||||
#else
|
||||
|
@ -1324,14 +1324,14 @@ if (sim_devices[0]->dradix == 16)
|
|||
else fprintf (st, "pchar mask = %o", sim_tt_pchar);
|
||||
if (sim_tt_pchar) {
|
||||
static char *pchars[] = {"NUL(^@)", "SOH(^A)", "STX(^B)", "ETX(^C)", "EOT(^D)", "ENQ(^E)", "ACK(^F)", "BEL(^G)",
|
||||
"BS(^H)" , "TAB(^I)", "LF(^J)", "VT(^K)", "FF(^L)", "CR(^M)", "SO(^N)", "SI(^O)",
|
||||
"BS(^H)" , "HT(^I)", "LF(^J)", "VT(^K)", "FF(^L)", "CR(^M)", "SO(^N)", "SI(^O)",
|
||||
"DLE(^P)", "DC1(^Q)", "DC2(^R)", "DC3(^S)", "DC4(^T)", "NAK(^U)", "SYN(^V)", "ETB(^W)",
|
||||
"CAN(^X)", "EM(^Y)", "SUB(^Z)", "ESC", "FS", "GS", "RS", "US"};
|
||||
int i;
|
||||
t_bool found = FALSE;
|
||||
|
||||
fprintf (st, " {");
|
||||
for (i=0; i<32; i++)
|
||||
for (i=31; i>=0; i--)
|
||||
if (sim_tt_pchar & (1 << i)) {
|
||||
fprintf (st, "%s%s", found ? "," : "", pchars[i]);
|
||||
found = TRUE;
|
||||
|
|
Loading…
Add table
Reference in a new issue