1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

B5500: Make sure Lines per page gets initialized properly.

This commit is contained in:
Richard Cornwell 2023-12-31 11:15:04 -05:00 committed by Mark Pizzolato
parent 6a7cfce9fd
commit cef873f6f3

View File

@ -662,6 +662,9 @@ lpr_ini(DEVICE *dptr) {
for(i = 0; i < NUM_DEVS_LPR; i++) {
lpr_unit[i].CMD = 0;
if (lpr_unit[i].LPP == 0) {
lpr_unit[i].LPP = 59;
}
sim_cancel(&lpr_unit[i]);
}
return SCPE_OK;