|
If you disassemble the code, you will see that SST tells you that the program state is 0001. The 01 is at offset 105C. If you change that 01 to 80 the program is now a system state program. This is for a RISC box, on a CISC box the offset is different. I think it is 015D. You cannot save/restore the program without the state being reset back to 01 (user state). ----- Original Message ----- From: <francescoscafi@tin.it> To: <MI400@midrange.com> Sent: Saturday, December 18, 1999 7:51 AM Subject: RE: MATCTX (was Detecting changing objects...) > How, Leif, > I can change the MI-program to system state with SST? > > Francesco > > ... > > call rtvobjs c works > > call rtvobjs m bombs with 'hardware protection violation' > > > > When the c-version is running the call stack obviously bottoms > > out with QusMaterializeContext. Since this program is a system > > state program we have no problem. > > > > V4R2 SL40: MI-program OK, C-progam OK > > V4R3 SL40: MI-program NFG, C-program OK > > V4R3 SL50: MI-program NFG, C-program OK > > > > If I use SST to change the MI-program to system state > > everything works, of course. > > > ... > +--- > | This is the MI Programmers Mailing List! > | To submit a new message, send your mail to MI400@midrange.com. > | To subscribe to this list send email to MI400-SUB@midrange.com. > | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: dr2@cssas400.com > +--- > +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dr2@cssas400.com +---
As an Amazon Associate we earn from qualifying purchases.
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.