× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: obstacles to an iseries risc compiler
  • From: "Leif Svalgaard" <leif@xxxxxxxx>
  • Date: Fri, 8 Jun 2001 22:49:58 -0500

V5R1 is no different in this respect.
----- Original Message -----
Sent: Friday, June 08, 2001 10:31 PM
Subject: RE: obstacles to an iseries risc compiler

BTW, this includes doing it at V5R1.
-----Original Message-----
From: Walden H. Leverich [mailto:WaldenL@techsoftinc.com]
Sent: Friday, June 08, 2001 11:06 PM
To: 'MI400@midrange.com'
Subject: RE: obstacles to an iseries risc compiler

Leif,
 
In what way is a program write protected? I've hacked as/400 programs to do things they weren't originally compiled to do.
 
-Walden
-----Original Message-----
From: Leif Svalgaard [mailto:leif@leif.org]
Sent: Friday, June 08, 2001 8:34 AM
To: MI400@midrange.com
Subject: Re: obstacles to an iseries risc compiler

 
An academic question.
 
What makes the writing of a non ibm powerpc compiler impossible on the iseries?
===> I don't think it is impossible. (as to the benefits, I'm not so sure).
 
The pgm validation value looks to be one. It prevents you from restoring your pgm after a system crash.
===> 1) the system doesn't crash
2) Even if it did, there is no need to restore your program
3) Computation of the PVV is possible
 
Is there sufficient undocument knowledge of the pgm hdr, passed on over the years from guru to guru, to create a working pgm object?
===> yes, but there are better ways (Attaching your code to an existing, dummy program).
 
The undocumented ibm extensions to the powerpc assembler code.  It should be doable to figure that out, right?
===> most them are already "figured out"
 
The system state, user state issue.  Would this rogue risc compiler be able to create the system state segments of the pgm object?
===> you probably mean "system domain" objects.
1) it is not necessary for the pgm to be system domain
2) you can easily give the pgm the system domain attribute
3) you probably don't want to as you cannot call your program from a user domain program.
 
You probably meant to ask if you can write protect the program as normal AS/400
programs are. This is not worth the trouble (for a rogue compiler!)
 
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.