1
0
mirror of https://github.com/simh/simh.git synced 2026-04-19 01:17:28 +00:00

SCP: Allow symbols (environment variables) to describe contain addresses

This allows:
   sim> SET ENV X=80004324
   sim> EXAMINE X
   80004324: xxxxxxxxxx
   sim> DEPOSIT X nnnnn
This commit is contained in:
Mark Pizzolato
2018-06-05 22:24:46 -07:00
parent f6f4fe6c3c
commit ce5c3f0ff5
2 changed files with 22 additions and 4 deletions

1
scp.h
View File

@@ -246,6 +246,7 @@ CONST char *get_glyph_cmd (const char *iptr, char *optr);
t_value get_uint (const char *cptr, uint32 radix, t_value max, t_stat *status);
CONST char *get_range (DEVICE *dptr, CONST char *cptr, t_addr *lo, t_addr *hi,
uint32 rdx, t_addr max, char term);
t_stat sim_set_environment (int32 flag, CONST char *cptr);
t_stat sim_decode_quoted_string (const char *iptr, uint8 *optr, uint32 *osize);
char *sim_encode_quoted_string (const uint8 *iptr, uint32 size);
void fprint_buffer_string (FILE *st, const uint8 *buf, uint32 size);