BUG in Diag58 V1.08 code.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG in Diag58 V1.08 code.

Hercules390 - Vm mailing list
Folks,

I have found a bug in the diag58 code, and I am not inclined to try and
debug it.

 

When the console is spooled input is processed normally but nothing is
echoed.. so on the normal 6-pack I get

 

spool cons * start


Ready; T=0.01/0.01 08:09:21


ddd


Unknown CP/CMS command


xxx


Unknown CP/CMS command


spool cons stop close


CON FILE 1130  TO  MAINT    COPY 01 NOHOLD


Ready; T=0.01/0.01 08:09:33

 

However after applying the DIAG58 mods I get.

 

spool cons * start


CON FILE 0054  TO  MAINT    COPY 00 NOHOLD


Ready; T=0.01/0.01 08:12:02

 

But the spool contains the commands entered..

 

readcard test file


RECORD LENGTH IS '132' BYTES.


Ready; T=0.01/0.01 08:19:55


type test file


 


Ready; T=0.01/0.01 08:11:50


ddd


Unknown CP/CMS command


ccc


Unknown CP/CMS command


bbb


Unknown CP/CMS command


spool cons stop close


 


Ready; T=0.01/0.01 08:20:02

 

Sorry to report here, but I can't find an address for Bob.

.. and currently working in a "connectivity challenged environment".

 

Dave Wade

G4UGM & EA7KAE

 

Reply | Threaded
Open this post in threaded view
|

Re: BUG in Diag58 V1.08 code.

Hercules390 - Vm mailing list
Dave,
 

 You found me.  I'll take a look at the issue; I'm sure I can find the problem and get it fixed.
 

 Regards,
 Bob
 

 




Reply | Threaded
Open this post in threaded view
|

Re: BUG in Diag58 V1.08 code.

Hercules390 - Vm mailing list
Thanks Bob,

 

I hope it is an easy fix. I think there may be issuettes with what you do with full screen i/o when the console is spooled so it may not be 100% straight forward.

By the way, I did find it a straight forward install, and the rest of the functionality is awesome, when you add in the MECAFF stuff its really neat.

 

Dave

 

From: [hidden email] [mailto:[hidden email]]
Sent: 14 May 2017 12:41
To: [hidden email]
Subject: [H390-VM] Re: BUG in Diag58 V1.08 code.

 






Dave,

 

You found me.  I'll take a look at the issue; I'm sure I can find the problem and get it fixed.

 

Regards,

Bob

 

 








Reply | Threaded
Open this post in threaded view
|

Re: BUG in Diag58 V1.08 code.

Hercules390 - Vm mailing list
Dave,
 

 I was able to recreate the problem as you described.  I found the cause of the problem but I am not sure how I am going to fix it just yet.  It has to do with the VDEVTERM bit getting clobbered when DIAG58 is used; obviously this should not happen.  Normally when you issue SPOOL CONS START the setting TERM is on by default, but after DIAG58 executes it clobbers the bit for that and it becomes NOTERM  (as shown by a CP Q V CONS command before and after).  The NOTERM setting is what causes the lack of an echo.
 

 I know what instruction is doing the clobbering but I'm going to have to relocate an address somewhere else in order to resolve this.  As long as you do not issue SP CONS START you should have no further issues with using DIAG58.  Apparently no one else spools their console as this would have been reported earlier.
 

 The stable release of DIAG58 came out over four years ago.  You're just now getting around to installing it?
 

 Regards,
 Bob

 

---In [hidden email], <dave.g4ugm@...> wrote :

 Thanks Bob,
 
 I hope it is an easy fix. I think there may be issuettes with what you do with full screen i/o when the console is spooled so it may not be 100% straight forward.
 By the way, I did find it a straight forward install, and the rest of the functionality is awesome, when you add in the MECAFF stuff its really neat.
 
 Dave
   



Reply | Threaded
Open this post in threaded view
|

Re: BUG in Diag58 V1.08 code.

Hercules390 - Vm mailing list
Bob,

Thanks for looking at that!.  Sadly yes, I have been playing with other things, I set up a Teleprinter to do RTTY Art (like Line Printer art but 5-bit codes), and took it to a local “Maker” event. I was donated some VAXEN. I also have acquired a PC Server 500 with P390 and bought a house in Spain, where I am at the moment. I also built an FPGA emulation of the Manchester Baby from 1948, which was really the first totally electronic stored program computer.

 

http://hackaday.com/2016/01/06/babybaby-a-1948-computer-on-an-fpga/

 

Howver given my internet here has been “poor” and some one was struggling to assemble DMKGRF, and I had downloaded the bits for MECAFF  I thought I would have a play. While doing this I decided a needed a console log, and so instinctively typed “SPOOL CONS * START”  and was surprised to find things stopped happening! I was thinking perhaps its time to produce a new “N-Pack”. Any way this is on hold waiting for this to be fixed!

 

Dave

 

From: [hidden email] [mailto:[hidden email]]
Sent: 14 May 2017 18:44
To: [hidden email] <mailto:[hidden email]>  
Subject: RE: [H390-VM] Re: BUG in Diag58 V1.08 code.

 






Dave,

 

I was able to recreate the problem as you described.  I found the cause of the problem but I am not sure how I am going to fix it just yet.  It has to do with the VDEVTERM bit getting clobbered when DIAG58 is used; obviously this should not happen.  Normally when you issue SPOOL CONS START the setting TERM is on by default, but after DIAG58 executes it clobbers the bit for that and it becomes NOTERM  (as shown by a CP Q V CONS command before and after).  The NOTERM setting is what causes the lack of an echo.

 

I know what instruction is doing the clobbering but I'm going to have to relocate an address somewhere else in order to resolve this.  As long as you do not issue SP CONS START you should have no further issues with using DIAG58.  Apparently no one else spools their console as this would have been reported earlier.

 

The stable release of DIAG58 came out over four years ago.  You're just now getting around to installing it?

 

Regards,

Bob



---In [hidden email] <mailto:[hidden email]> , <dave.g4ugm@... <mailto:dave.g4ugm@...> > wrote :

Thanks Bob,

 

I hope it is an easy fix. I think there may be issuettes with what you do with full screen i/o when the console is spooled so it may not be 100% straight forward.

By the way, I did find it a straight forward install, and the rest of the functionality is awesome, when you add in the MECAFF stuff its really neat.

 

Dave