On Dec 23, 2010, at 20:17, Don Higgins wrote:
>
> Today I published the latest open source version of z390 Portable
> Mainframe Assembler and Emulator for Windows and Linux which now supports
> the new IBM z196 mainframe instructions.
>  ...
> You can download z390 via www.z390.org or the z390 project on
> www.SourceForge.net.  There is an InstallShield version for Windows 7,
> Vista, and XP.  There is a flat file version for Linux.
>
> Problem reports on any errors discovered are welcome along with any other
> feedback.  Happy Holidays!
>
The Linux version seems pretty compatible with Mac OS X:

I wasn't able to make the links for the PTFs work.  It seems to hang up
on "waiting for a.fsdn.com"

Hardware Overview:

  Model Name:   MacBook
  Model Identifier:     MacBook2,1
  Processor Name:       Intel Core 2 Duo
  Processor Speed:      2 GHz
  Number Of Processors: 1
  Total Number Of Cores:        2

System Software Overview:

  System Version:       Mac OS X 10.6.5 (10H574)
  Kernel Version:       Darwin 10.5.0

... mostly following the instructions for Linux.

Java test in linemode:

    551 $ java -version
    java version "1.6.0_22"
    Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
    Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)

At some point in the past, I had installed a symbolic link to
make OpenOffice.org work.  This may have assisted z390:

    cd /System/Library/Java/JavaVirtualMachines
    sudo ln -s ../../Frameworks/JavaVM.framework/JavaVM JavaVM

A slight varaition on my whim of the "chmod":

    552 $ cd /usr/local/lib/z390
    553 $ chmod -R a+rwX .

IVP output:

    556 $ sed 's/^/    /' demo/DEMO.TRE
    23:32:50 DEMO      EZ390 START USING z390 V1.5.03 ON J2SE 1.6.0_22 12/23/10
     CDE LOAD=800FFF60 LEN=000000A0 NAME=demo/DEMO.390

     800FFF60 0 90ECD00C     STM   RE=00002018 RC=F4F4F4F4 S2(0000210C)=00000000
     800FFF64 0 45FF0068     BAL   RF=800FFF60 S2(000FFFC8)=50FD0008 ST

     800FFFC8 0 50FD0008     ST    RF=800FFF68 S2(00002108)=00000000
     800FFFCC 0 50DF0004     ST    RD=00002100 S2(000FFF6C)=00000000
     800FFFD0 0 18DF         LR    RD=00002100 RF=800FFF68
     800FFFD2 0 A715000A     BRAS  R1=00002300 S2(000FFFE6)=0A23 SVC

     800FFFE6 0 0A23         SVC   I1=23 WTO R1=ADDR(AL2(LEN),AL2(FLAGS),C'MSG')
    HELLO WORLD
     800FFFE8 0 41F00000     LA    RF=00000000 S2(00000000)
     800FFFEC 0 58D0D004     L     RD=800FFF68 S2(000FFF6C)=00002100
     800FFFF0 0 58E0D00C     L     RE=00002018 S2(0000210C)=00002018
     800FFFF4 0 982CD01C     LM    R2=F4F4F4F4 RC=F4F4F4F4 S2(0000211C)=F4F4F4F4
     800FFFF8 0 07FE         BR    RE(00002018)=0A03 SVC

     80002018 0 0A03         SVC   I1=03 EXIT
    23:32:50 DEMO      EZ390 ENDED   RC= 0 SEC= 0 MEM(MB)= 14 IO=21 INS=13

I guess it works.  Now what can I do with it?  Can I just take one of the
*.OBJ and run it on z/OS?  Can I NFS mount the z/OS 1.12 SYS1.MACLIB and
assemble with that?

Thanks,
gil

Reply via email to