1
0
mirror of https://github.com/simh/simh.git synced 2026-04-30 21:38:32 +00:00

SCP: Add support to handle CTRL+C while executing command files

This commit is contained in:
Mark Pizzolato
2018-01-30 03:36:15 -08:00
parent cc6ff4fa51
commit 3a81f63ec1
4 changed files with 159 additions and 94 deletions

View File

@@ -404,9 +404,9 @@ typedef uint32 t_addr;
#define SCPE_REMOTE (SCPE_BASE + 47) /* remote console command */
#define SCPE_MAX_ERR (SCPE_BASE + 47) /* Maximum SCPE Error Value */
#define SCPE_KFLAG 0x1000 /* tti data flag */
#define SCPE_BREAK 0x2000 /* tti break flag */
#define SCPE_NOMESSAGE 0x10000000 /* message display supression flag */
#define SCPE_KFLAG 0x10000000 /* tti data flag */
#define SCPE_BREAK 0x20000000 /* tti break flag */
#define SCPE_NOMESSAGE 0x40000000 /* message display supression flag */
#define SCPE_BARE_STATUS(stat) ((stat) & ~(SCPE_NOMESSAGE|SCPE_KFLAG|SCPE_BREAK))
/* Print value format codes */