1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-13 15:27:04 +00:00

KA10: Added WRU character to save/restore settings.

This commit is contained in:
Richard Cornwell 2020-03-08 21:21:43 -04:00
parent 9acd828737
commit 574c4c863e
2 changed files with 7 additions and 1 deletions

View File

@ -302,6 +302,7 @@ REG dte_reg[] = {
{SAVEDATA(CTYIN, cty_in) },
{SAVEDATA(CTYOUT, cty_out) },
{HRDATA(DONE, cty_done, 8), REG_HRO},
{HRDATAD(WRU, sim_int_char, 8, "interrupt character") },
{ 0 },
};

View File

@ -74,8 +74,13 @@ MTAB cty_mod[] = {
{ 0 }
};
REG cty_reg[] = {
{ HRDATAD (WRU, sim_int_char, 8, "interrupt character") },
{ 0 }
};
DEVICE cty_dev = {
"CTY", cty_unit, NULL, cty_mod,
"CTY", cty_unit, cty_reg, cty_mod,
2, 10, 31, 1, 8, 8,
NULL, NULL, &cty_reset,
NULL, NULL, NULL, &cty_dib, DEV_DEBUG, 0, dev_debug,