Updated pdp11_dmc.c from Rob Jarratt