mirror of
https://github.com/simh/simh.git
synced 2026-05-04 15:05:39 +00:00
VAX: Fix NEXT command to also work when Virtual Memory is enabled.
Initial testing was only done with boot code before the virtual addressing was enabled.
This commit is contained in:
@@ -3232,13 +3232,18 @@ t_bool cpu_is_pc_a_subroutine_call (t_addr **ret_addrs)
|
|||||||
static t_addr returns[MAX_SUB_RETURN_SKIP+1] = {0};
|
static t_addr returns[MAX_SUB_RETURN_SKIP+1] = {0};
|
||||||
static t_bool caveats_displayed = FALSE;
|
static t_bool caveats_displayed = FALSE;
|
||||||
int i;
|
int i;
|
||||||
|
int32 saved_sim_switches = sim_switches;
|
||||||
|
|
||||||
if (!caveats_displayed) {
|
if (!caveats_displayed) {
|
||||||
caveats_displayed = TRUE;
|
caveats_displayed = TRUE;
|
||||||
sim_printf ("%s", cpu_next_caveats);
|
sim_printf ("%s", cpu_next_caveats);
|
||||||
}
|
}
|
||||||
if (SCPE_OK != get_aval (PC, &cpu_dev, &cpu_unit)) /* get data */
|
sim_switches |= SWMASK('V');
|
||||||
|
if (SCPE_OK != get_aval (PC, &cpu_dev, &cpu_unit)) {/* get data */
|
||||||
|
sim_switches = saved_sim_switches;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
sim_switches = saved_sim_switches;
|
||||||
switch (sim_eval[0])
|
switch (sim_eval[0])
|
||||||
{
|
{
|
||||||
case BSBB: case BSBW: case JSB:
|
case BSBB: case BSBW: case JSB:
|
||||||
|
|||||||
Reference in New Issue
Block a user