mirror of
https://github.com/simh/simh.git
synced 2026-01-26 20:12:23 +00:00
SCP: Add C style expression support for IF conditions and SET ENV -A
Expression evaluation code provided by Gabriel Pizzolato.
This commit is contained in:
11
sim_defs.h
11
sim_defs.h
@@ -405,8 +405,9 @@ typedef uint32 t_addr;
|
||||
#define SCPE_EXPECT (SCPE_BASE + 45) /* expect matched */
|
||||
#define SCPE_AMBREG (SCPE_BASE + 46) /* ambiguous register */
|
||||
#define SCPE_REMOTE (SCPE_BASE + 47) /* remote console command */
|
||||
#define SCPE_INVEXPR (SCPE_BASE + 48) /* invalid expression */
|
||||
|
||||
#define SCPE_MAX_ERR (SCPE_BASE + 47) /* Maximum SCPE Error Value */
|
||||
#define SCPE_MAX_ERR (SCPE_BASE + 48) /* Maximum SCPE Error Value */
|
||||
#define SCPE_KFLAG 0x10000000 /* tti data flag */
|
||||
#define SCPE_BREAK 0x20000000 /* tti break flag */
|
||||
#define SCPE_NOMESSAGE 0x40000000 /* message display supression flag */
|
||||
@@ -843,9 +844,11 @@ struct DEBTAB {
|
||||
#define DEBUG_PRI(d,m) (sim_deb && (d.dctrl & (m)))
|
||||
#define DEBUG_PRJ(d,m) (sim_deb && ((d)->dctrl & (m)))
|
||||
|
||||
#define SIM_DBG_EVENT 0x10000
|
||||
#define SIM_DBG_ACTIVATE 0x20000
|
||||
#define SIM_DBG_AIO_QUEUE 0x40000
|
||||
#define SIM_DBG_EVENT 0x010000
|
||||
#define SIM_DBG_ACTIVATE 0x020000
|
||||
#define SIM_DBG_AIO_QUEUE 0x040000
|
||||
#define SIM_DBG_EXP_STACK 0x080000
|
||||
#define SIM_DBG_EXP_EVAL 0x100000
|
||||
|
||||
/* Open File Reference */
|
||||
struct FILEREF {
|
||||
|
||||
Reference in New Issue
Block a user