Look at R1 in the PT instruction - it supplies a replacement key mask.

On Wed, 6 Aug 2014 18:27:03 GMT "[email protected]" <[email protected]> wrote:

:>Binyamin Dissen wrote - Much easier using PT
:>
:>
:>Can you provide an example.
:>Paul
:>
:>---------- Original Message ----------
:>From: Binyamin Dissen <[email protected]>
:>To: [email protected]
:>Subject: Re: WAVV2010 Presentation
:>Date: Wed, 6 Aug 2014 17:52:36 +0300
:>
:>Much easier using PT
:>
:>On Wed, 6 Aug 2014 12:48:34 GMT "[email protected]" <[email protected]> wrote:
:>
:>:>I discovered a presentation from 2010
:>:>WAVV 2010
:>:>KEY15 vs KEY0
:>:>Author unknown
:>:>
:>:>This presentation provided some source code which I found intresting.
:>:>        MODESET KEY=ZERO            Switch To Key 0                    
00009000
:>:>
:>:>         MODESET MODE=SUP            Switch To Supervisor State         
00010000
:>:>
:>:>         STCTL   R3,R3,WORK          Control Register 3                 
00020000
:>:>
:>:>         OC      WORK(2),=X'0003'    Allow Key E and F                  
00030001
:>:>
:>:>         LCTL    R3,R3,WORK          Control Register 3                 
00040100
:>:>
:>:>         MODESET KEY=NZERO           Return To User Key                 
00040202
:>:>
:>:>         MODESET MODE=PROB           Return to Problem State            
00040300
:>:>
:>:>         ORG     *-32                                                   
00040400
:>:>
:>:>         DC      X'00000008'                                            
00040500
:>:>
:>:>         ORG                                                            
00040600
:>:>
:>:>*                                                                       
00040700
:>:>
:>:>
:>:>My understanding is that this snipet of code allows the caller to add PSW 
Key E and F to there PSWKey list.
:>:>.
:>:>Now I have no actual need for code like this but I did find it interesting.
:>:>.
:>:>Does anyone use this technique ?
:>:>.
:>:>Does anyone have a routine like this that is coded differently ?
:>:>.
:>:>Any code sharing would be appreciated .
:>:>Just curious
:>:>.
:>:>Paul D'Angelo
:>:>
:>:>  

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

Reply via email to