• Set quarter word mode

    From Stephen Boyd@sboydlns@gmail.com to comp.sys.unisys on Mon Feb 9 14:47:33 2026
    From Newsgroup: comp.sys.unisys

    I know this is a stupid question, but for the life of me I can't
    remember how to do this.

    How do you toggle between quarter word mode and third word mode in a
    user mode program? In Exec mode you would use LPS but how is it
    accomplished in a user mode program?

    Thanks

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Stephen Fuld@sfuld@alumni.cmu.edu.invalid to comp.sys.unisys on Mon Feb 9 11:56:35 2026
    From Newsgroup: comp.sys.unisys

    On 2/9/2026 11:47 AM, Stephen Boyd wrote:
    I know this is a stupid question, but for the life of me I can't
    remember how to do this.

    How do you toggle between quarter word mode and third word mode in a
    user mode program? In Exec mode you would use LPS but how is it
    accomplished in a user mode program?

    ER PSR$
    --
    - Stephen Fuld
    (e-mail address disguised to prevent spam)
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Stephen Boyd@sboydlns@gmail.com to comp.sys.unisys on Mon Feb 9 15:31:03 2026
    From Newsgroup: comp.sys.unisys

    On 2/9/26 14:56, Stephen Fuld wrote:
    On 2/9/2026 11:47 AM, Stephen Boyd wrote:
    I know this is a stupid question, but for the life of me I can't
    remember how to do this.

    How do you toggle between quarter word mode and third word mode in a
    user mode program? In Exec mode you would use LPS but how is it
    accomplished in a user mode program?

    ER PSR$



    I knew it had to be something simple. Thank You.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From R Daneel Olivaw@Danni@hyperspace.vogon.gov.invalid to comp.sys.unisys on Mon Feb 9 21:34:21 2026
    From Newsgroup: comp.sys.unisys

    Stephen Boyd wrote:
    I know this is a stupid question, but for the life of me I can't
    remember how to do this.

    How do you toggle between quarter word mode and third word mode in a
    user mode program? In Exec mode you would use LPS but how is it
    accomplished in a user mode program?

    Thanks


    I'm retired now - and it's been a while - but there were differences
    between BM and EM/UCS programs.
    The BM programs that I wrote usually ran exclusively in quarter-word or third-word modes and all I had to do was (I think) " $info 1 3 " or "
    $info 1 5 ".
    MASM-only UCS programs were a bit more sporty, there is a method and it
    works reliably but I'd have to look through my old documentation to find it. --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Stephen Fuld@sfuld@alumni.cmu.edu.invalid to comp.sys.unisys on Mon Feb 9 23:57:35 2026
    From Newsgroup: comp.sys.unisys

    On 2/9/2026 12:31 PM, Stephen Boyd wrote:
    On 2/9/26 14:56, Stephen Fuld wrote:
    On 2/9/2026 11:47 AM, Stephen Boyd wrote:
    I know this is a stupid question, but for the life of me I can't
    remember how to do this.

    How do you toggle between quarter word mode and third word mode in a
    user mode program? In Exec mode you would use LPS but how is it
    accomplished in a user mode program?

    ER PSR$



    I knew it had to be something simple. Thank You.

    You are most welcome. I thought it was something like that, and
    fortunately, I had a copy of the ER reference in my book shelf a few
    feet away. :-)
    --
    - Stephen Fuld
    (e-mail address disguised to prevent spam)
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Steve J. Martin@sjmsoft@gmail.com to comp.sys.unisys on Wed Feb 11 05:53:46 2026
    From Newsgroup: comp.sys.unisys

    I found this old basic mode code:

    . Set quarter-word mode:
    SPD A0 . A0 := designator bits
    OR,U A0,010 . A1 := A0 + D10 set
    LPD 0,A1 . Put designator bits back


    On 2026-02-09 15:47, Stephen Boyd wrote:
    I know this is a stupid question, but for the life of me I can't
    remember how to do this.

    How do you toggle between quarter word mode and third word mode in a
    user mode program? In Exec mode you would use LPS but how is it
    accomplished in a user mode program?

    Thanks


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Stephen Boyd@sboydlns@gmail.com to comp.sys.unisys on Wed Feb 11 09:21:56 2026
    From Newsgroup: comp.sys.unisys

    On 2/9/26 15:34, R Daneel Olivaw wrote:

    I'm retired now - and it's been a while - but there were differences
    between BM and EM/UCS programs.
    The BM programs that I wrote usually ran exclusively in quarter-word or third-word modes and all I had to do was (I think) " $info 1 3 " or "
    $info 1 5 ".
    MASM-only UCS programs were a bit more sporty, there is a method and it works reliably but I'd have to look through my old documentation to find
    it.

    I think you're right. That would start a program in quarter or third
    word mode but not toggle back and forth while the program was running.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Stephen Boyd@sboydlns@gmail.com to comp.sys.unisys on Wed Feb 11 09:24:00 2026
    From Newsgroup: comp.sys.unisys

    On 2/11/26 04:53, Steve J. Martin wrote:
    I found this old basic mode code:

    . Set quarter-word mode:
    SPD-a-a-a-a-a-a A0-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . A0 := designator bits
    OR,U-a-a-a-a-a A0,010-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . A1 := A0 + D10 set LPD-a-a-a-a-a-a 0,A1-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . Put designator bits back


    Another approach. Thank you.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Stephen Fuld@sfuld@alumni.cmu.edu.invalid to comp.sys.unisys on Mon Feb 23 13:08:08 2026
    From Newsgroup: comp.sys.unisys

    On 2/11/2026 1:53 AM, Steve J. Martin wrote:
    I found this old basic mode code:

    . Set quarter-word mode:
    SPD-a-a-a-a-a-a A0-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . A0 := designator bits
    OR,U-a-a-a-a-a A0,010-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . A1 := A0 + D10 set LPD-a-a-a-a-a-a 0,A1-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . Put designator bits back


    Is at least LPD privileged?
    --
    - Stephen Fuld
    (e-mail address disguised to prevent spam)
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From R Daneel Olivaw@Danni@hyperspace.vogon.gov.invalid to comp.sys.unisys on Tue Feb 24 09:03:47 2026
    From Newsgroup: comp.sys.unisys

    Stephen Fuld wrote:
    On 2/11/2026 1:53 AM, Steve J. Martin wrote:
    I found this old basic mode code:

    . Set quarter-word mode:
    SPD-a-a-a-a-a-a A0-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . A0 := designator bits
    OR,U-a-a-a-a-a A0,010-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . A1 := A0 + D10 set >> LPD-a-a-a-a-a-a 0,A1-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a . Put designator bits back


    Is at least LPD privileged?




    No.
    --- Synchronet 3.21b-Linux NewsLink 1.2