mirror of
https://github.com/open-simh/simh.git
synced 2026-01-27 12:42:45 +00:00
PDP11, VAX, PDP10: Fixed setting of register value reflecting return buffer address - Problem reported by R. Voorhorst
This commit is contained in:
@@ -2204,7 +2204,7 @@ void dmc_set_addr(CTLR *controller, uint32 addr)
|
||||
{
|
||||
if (dmc_is_dmc(controller) || (!(*controller->csrs->sel2 & DMP_SEL2_M_22BIT))) {
|
||||
dmc_setreg(controller, 4, addr & 0xFFFF, DBG_RGC);
|
||||
dmc_setreg(controller, 6, (uint16)(((addr >> 2) << 14) | (*controller->csrs->sel6 & 0x3FFF)) , DBG_RGC);
|
||||
dmc_setreg(controller, 6, (uint16)(((addr >> 16) << 14) | (*controller->csrs->sel6 & 0x3FFF)) , DBG_RGC);
|
||||
}
|
||||
else {
|
||||
dmc_setreg(controller, 4, addr & 0xFFFF, DBG_RGC);
|
||||
|
||||
Reference in New Issue
Block a user