rcornwell / sims

Burroughs B5500, ICL1900, SEL32, IBM 360/370, IBM 7000 and DEC PDP10 KA10/KI10/KL10/KS10, PDP6 simulators for SimH
http://sky-visions.com
95 stars 20 forks source link

SEL32: Change diagnostic output to fixed fields. #168

Closed AZBevier closed 5 years ago

AZBevier commented 5 years ago

SEL32: Add changes to instruction processing to pass more SEL32 diagnostics.

rcornwell commented 5 years ago

Before commit, please verify that the simulators compile without any warnings.

Also the diags hang at: START CV.TRP.H (#111031-241H 09MAY88)

AZBevier commented 5 years ago

Rich,

I do not have any warning on compile. I use the Makefile you provided. I am using Fedora 29, so what did you see as warnings?

Jim

From: Richard Cornwell Sent: Saturday, October 05, 2019 11:48 AM To: rcornwell/sims Cc: James C. Bevier ; Author Subject: Re: [rcornwell/sims] SEL32: Change diagnostic output to fixed fields. (#168)

Before commit, please verify that the simulators compile without any warnings.

Also the diags hang at: START CV.TRP.H (#111031-241H 09MAY88)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

rcornwell commented 5 years ago

diff --git a/SEL32/sel32_com.c b/SEL32/sel32_com.c index bbbad70..1959ced 100644 --- a/SEL32/sel32_com.c +++ b/SEL32/sel32_com.c @@ -794,7 +794,7 @@ endit: goto endit; / done / / just dump the char / // / xmt disabled, just wait around /

I am not sure how you missed these missing format specifiers.

AZBevier commented 5 years ago

Rich,

I used the makefile in the simh build and it does not provide any warnings for the two lines you provided on my system. Thanks for catching them. I added –Wall to the Makefile and those statement were not flagged by the compiler. Lots of other warning, but not those. I guess two people looking is better than one and the gnu compiler.

If you want to run one diag at a time for a specific machine you need to uncomment the deposit bootr[0] ffffffff. This tells the diags loader to not use the command file. You will get a DOL> prompt. Set the cpu type in the diag.ini file too to what you want to test. At the prompt load the diag you want to run:

DOL>LOAD CV.CP3 DOL>RESET CV.CP3 OPT 10 11 DOL>START CV.CP3 PASS(100)

DOL>LOAD CV.CON DOL>RESET CV.CON OPT 10 11 DOL>SET CV.CON OPT 8 DOL>START CV.CON PASS(1)

Look at the normal output for the options to specify (or see the diag doc). I could use some help with the CV.CON diag. It is doing some timing test that I can not figure out. It is the console test.

Jim

From: Richard Cornwell Sent: Saturday, October 05, 2019 10:02 PM To: rcornwell/sims Cc: James C. Bevier ; Author Subject: Re: [rcornwell/sims] SEL32: Change diagnostic output to fixed fields. (#168)

diff --git a/SEL32/sel32_com.c b/SEL32/sel32_com.c index bbbad70..1959ced 100644 --- a/SEL32/sel32_com.c +++ b/SEL32/sel32_com.c @@ -794,7 +794,7 @@ endit: goto endit; / done / / just dump the char / // / xmt disabled, just wait around /

a.. sim_debug(DEBUG_CMD, &com_dev, "com_srvo write dumping char %c on line %04\n", ch, ln); a.. sim_debug(DEBUG_CMD, &com_dev, "com_srvo write dumping char %c on line %04x\n", ch, ln);^M tmxr_poll_tx(&com_desc); / poll xmt / //?? sim_activate(uptr, coml_unit[ln].wait); / wait / sim_activate(uptr, uptr->wait); / wait / diff --git a/SEL32/sel32_scfi.c b/SEL32/sel32_scfi.c index 7ea7e9f..bc6a149 100644 --- a/SEL32/sel32_scfi.c +++ b/SEL32/sel32_scfi.c @@ -867,7 +867,7 @@ rddone: if (i == 0) { uptr->u3 &= ~(0xffff); / remove old status bits & cmd / sim_debug(DEBUG_DATAIO, dptr,

a.. "DISK Wrote %04x bytes to diskfile cyl %04x hds %02x sec %02x tstart %08\n", a.. "DISK Wrote %04x bytes to diskfile cyl %04x hds %02x sec %02x tstart %08x\n",^M data->dlen, data->cyl, data->tpos, data->spos, data->tstart); chan_end(chsa, SNS_CHNEND|SNS_DEVEND); goto wrdone; I am not sure how you missed these missing format specifiers.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.