I1401, I7094, ID16, ID32, NOVA, SDS, SIGMA: CONST compatibility with 3.10

This commit is contained in:
Mark Pizzolato 2018-03-09 15:55:22 -08:00
parent 645ea28d35
commit b7b1f427d0
12 changed files with 16 additions and 16 deletions

View file

@ -1914,7 +1914,7 @@ return SCPE_OK;
t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc) t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
{ {
int32 i, k, di, lnt; int32 i, k, di, lnt;
const char *cptr = (const char *) desc; CONST char *cptr = (CONST char *) desc;
t_value sim_eval[MAX_L + 1]; t_value sim_eval[MAX_L + 1];
t_stat r; t_stat r;
InstHistory *h; InstHistory *h;

View file

@ -2451,7 +2451,7 @@ return SCPE_OK;
t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc) t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
{ {
int32 k, di, lnt; int32 k, di, lnt;
const char *cptr = (const char *) desc; CONST char *cptr = (CONST char *) desc;
t_stat r; t_stat r;
InstHistory *h; InstHistory *h;

View file

@ -2001,7 +2001,7 @@ return SCPE_OK;
t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc) t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
{ {
int32 op, k, di, lnt; int32 op, k, di, lnt;
const char *cptr = (const char *) desc; CONST char *cptr = (CONST char *) desc;
t_value sim_eval[2]; t_value sim_eval[2];
t_stat r; t_stat r;
InstHistory *h; InstHistory *h;

View file

@ -48,7 +48,7 @@ extern REG cpu_reg[];
extern uint16 *M; extern uint16 *M;
t_stat fprint_sym_m (FILE *of, t_addr addr, t_value *val); t_stat fprint_sym_m (FILE *of, t_addr addr, t_value *val);
t_stat parse_sym_m (const char *cptr, t_addr addr, t_value *val); t_stat parse_sym_m (CONST char *cptr, t_addr addr, t_value *val);
extern t_stat lp_load (FILE *fileref, CONST char *cptr, CONST char *fnam); extern t_stat lp_load (FILE *fileref, CONST char *cptr, CONST char *fnam);
extern t_stat pt_dump (FILE *of, CONST char *cptr, CONST char *fnam); extern t_stat pt_dump (FILE *of, CONST char *cptr, CONST char *fnam);
@ -566,7 +566,7 @@ return -1;
<= 0 -number of extra words <= 0 -number of extra words
*/ */
t_stat parse_sym_m (const char *cptr, t_addr addr, t_value *val) t_stat parse_sym_m (CONST char *cptr, t_addr addr, t_value *val)
{ {
uint32 i, j, t, df, db, inst; uint32 i, j, t, df, db, inst;
int32 r1, r2; int32 r1, r2;

View file

@ -2388,7 +2388,7 @@ return SCPE_OK;
t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc) t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
{ {
int32 op, k, di, lnt; int32 op, k, di, lnt;
const char *cptr = (const char *) desc; CONST char *cptr = (CONST char *) desc;
t_value sim_eval[3]; t_value sim_eval[3];
t_stat r; t_stat r;
InstHistory *h; InstHistory *h;

View file

@ -52,7 +52,7 @@ extern REG cpu_reg[];
extern uint32 *M; extern uint32 *M;
t_stat fprint_sym_m (FILE *of, t_addr addr, t_value *val); t_stat fprint_sym_m (FILE *of, t_addr addr, t_value *val);
t_stat parse_sym_m (const char *cptr, t_addr addr, t_value *val); t_stat parse_sym_m (CONST char *cptr, t_addr addr, t_value *val);
extern t_stat lp_load (FILE *fileref, CONST char *cptr, CONST char *fnam); extern t_stat lp_load (FILE *fileref, CONST char *cptr, CONST char *fnam);
extern t_stat pt_dump (FILE *of, CONST char *cptr, CONST char *fnam); extern t_stat pt_dump (FILE *of, CONST char *cptr, CONST char *fnam);
@ -667,7 +667,7 @@ return -3;
<= 0 -number of extra words <= 0 -number of extra words
*/ */
t_stat parse_sym_m (const char *cptr, t_addr addr, t_value *val) t_stat parse_sym_m (CONST char *cptr, t_addr addr, t_value *val)
{ {
uint32 i, j, df, db, t, inst; uint32 i, j, df, db, t, inst;
int32 st, r1, r2, rx2; int32 st, r1, r2, rx2;

View file

@ -1422,7 +1422,7 @@ return ( 0 ) ;
t_stat hist_show( FILE * st, UNIT * uptr, int32 val, CONST void * desc ) t_stat hist_show( FILE * st, UNIT * uptr, int32 val, CONST void * desc )
{ {
int32 k, di, lnt ; int32 k, di, lnt ;
const char * cptr = (const char *) desc ; CONST char * cptr = (CONST char *) desc ;
t_stat r ; t_stat r ;
Hist_entry * hptr ; Hist_entry * hptr ;

View file

@ -1864,7 +1864,7 @@ return SCPE_OK;
t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc) t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
{ {
int32 ov, k, di, lnt; int32 ov, k, di, lnt;
const char *cptr = (const char *) desc; CONST char *cptr = (CONST char *) desc;
t_stat r; t_stat r;
InstHistory *h; InstHistory *h;
static const char *cyc[] = { " ", " ", "INT", "TRP" }; static const char *cyc[] = { " ", " ", "INT", "TRP" };

View file

@ -196,7 +196,7 @@ int32 col, rpt, ptr, mask, cctbuf[CCT_LNT];
t_stat r; t_stat r;
extern int32 lpt_ccl, lpt_ccp; extern int32 lpt_ccl, lpt_ccp;
extern uint8 lpt_cct[CCT_LNT]; extern uint8 lpt_cct[CCT_LNT];
const char *cptr; CONST char *cptr;
char cbuf[CBUFSIZE], gbuf[CBUFSIZE]; char cbuf[CBUFSIZE], gbuf[CBUFSIZE];
ptr = 0; ptr = 0;

View file

@ -2705,7 +2705,7 @@ return SCPE_OK;
t_stat cpu_show_addr (FILE *of, UNIT *uptr, int32 val, CONST void *desc) t_stat cpu_show_addr (FILE *of, UNIT *uptr, int32 val, CONST void *desc)
{ {
t_stat r; t_stat r;
const char *cptr = (const char *) desc; CONST char *cptr = (CONST char *) desc;
uint32 ad, bpa, dlnt, virt; uint32 ad, bpa, dlnt, virt;
static const char *lnt_str[] = { static const char *lnt_str[] = {
"byte", "byte",
@ -2825,7 +2825,7 @@ t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
{ {
int32 k, di, lnt; int32 k, di, lnt;
t_stat r; t_stat r;
const char *cptr = (const char *) desc; CONST char *cptr = (CONST char *) desc;
InstHistory *h; InstHistory *h;
if (hst_lnt == 0) /* enabled? */ if (hst_lnt == 0) /* enabled? */

View file

@ -491,7 +491,7 @@ t_stat lp_read_cct (FILE *cfile)
{ {
uint32 col, rpt, ptr, mask; uint32 col, rpt, ptr, mask;
uint8 cctbuf[CCT_LNT]; uint8 cctbuf[CCT_LNT];
const char *cptr; CONST char *cptr;
t_stat r; t_stat r;
char cbuf[CBUFSIZE], gbuf[CBUFSIZE]; char cbuf[CBUFSIZE], gbuf[CBUFSIZE];

View file

@ -49,7 +49,7 @@ extern uint32 *M;
extern UNIT cpu_unit; extern UNIT cpu_unit;
t_stat fprint_sym_m (FILE *of, uint32 inst); t_stat fprint_sym_m (FILE *of, uint32 inst);
t_stat parse_sym_m (const char *cptr, t_value *val); t_stat parse_sym_m (CONST char *cptr, t_value *val);
void fprint_ebcdic (FILE *of, uint32 c); void fprint_ebcdic (FILE *of, uint32 c);
extern t_stat lp_read_cct (FILE *cfile); extern t_stat lp_read_cct (FILE *cfile);
@ -539,7 +539,7 @@ if (r != SCPE_OK)
return 0; return 0;
} }
t_stat parse_sym_m (const char *cptr, t_value *val) t_stat parse_sym_m (CONST char *cptr, t_value *val)
{ {
uint32 i, sgn; uint32 i, sgn;
t_stat r; t_stat r;