Re: Program Interrupts (signals)
HNDINT handles i/o interruptions, not program checks. HNDEXT handles external interruptions. There is not one for program checks except SPIE, which is OS simulation. Regards, Bob
By
Bob Polmanter
·
#1058
·
|
Re: Program Interrupts (signals)
I can think of a few ways you can intercept and handle program interruptions, but they all point to the same answer that I don't think you will like:? use assembler. You could use the SPIE macro to
By
Bob Polmanter
·
#1057
·
|
Re: Program Interrupts (signals)
I suggest reading the CMS program logic manuals¡ ¡ I think we are limited to SPIE & HDNINT ¡ CP is not really involved. It reflects interupts Dave Sent: 21 April 2020 20:22 To: [email protected]
By
Dave Wade
·
#1056
·
|
Re: Program Interrupts (signals)
Also I considered a interrupt handler but 1/ am not certain if div by zero etc. cause interrupts 2/ i did not see any way to determine the interrupt details (but I assume I would eventually) 3/
By
adriansutherland67
·
#1055
·
|
Re: Program Interrupts (signals)
I was wondering if using os macros would be feasible / acceptable? Also I noticed I can use a CMS macro to intercept SVC calls ... so does the os emulator really fire SVC 13? Is this part of an
By
adriansutherland67
·
#1054
·
|
Re: Program Interrupts (signals)
So any ideas welcome :-)
By
adriansutherland67
·
#1053
·
|
Re: Program Interrupts (signals)
CMS I think. Obviously I can handle (fake) "abends", for example if a program calls abort(). The problem is situations when the program "encounters" an abend. E.g. if the program divides by zero,
By
adriansutherland67
·
#1052
·
|
Re: Program Interrupts (signals)
I may be wrong but it is virtual machine and trapping program interrupts is taken be emulation layer and serviced by routine with address defined in 4 kB area (PSA)? I dont have POPS 370 here. Piotr
By
Piotr Kolasi¨½ski
·
#1051
·
|
Re: Program Interrupts (signals)
The reason I am asking is this... You have a runtime in C. So, you should be able to trap abends in your runtime before they get to CP, or maybe even CMS. This can be done by appropriately setting up
By
Joe Monk
·
#1050
·
|
Re: Program Interrupts (signals)
So the question is, where are you trying to trap abends? CMS or CP? Joe adrian@...> wrote:
By
Joe Monk
·
#1049
·
|
Re: Program Interrupts (signals)
So I do not believe our VM/370 supports ABMEXIT (If I am wrong please, please me, and let me know!) I see no way to trap an ABEND (like divide by zero) nor a HX (which seems to be a pooling
By
adriansutherland67
·
#1048
·
|
Re: Dynamic / split stacks (gcclib)
Dynamic stack completed. Will now play with memset() challenge entries (the field is quite small ... lol). Then signals ... any minimalist example of an ABEND or HX handler would be very welcome!
By
adriansutherland67
·
#1047
·
|
Re: REXX programs and functions in VM/370
Hi Tony, I remember you mentioned SAA Rexx a few days ago - I found my 1992 copy of the OS/2 Procedures Language/2 Rexx SAA manual, and I put it under the scanner. Here is the searchable PDF:
By
[email protected]
·
#1046
·
|
Re: Testing
Very sensible!
By
adriansutherland67
·
#1045
·
|
Testing
Folks, I think my next move is rather than to add new code, to develop some tests that check out everything that's included in 6-Pack? Thoughts? Dave Wade G4UGM & EA7KAE
By
Dave Wade
·
#1044
·
|
Re: Register Add - Quick Question
It was the lack of these that freaked me out a bit! To be honest I am just doing the minimum in assembler before passing on to c where the heavy lifting is done. For example assembler can make a new
By
adriansutherland67
·
#1043
·
|
Re: memset help
On Fri, 2020-04-17 at 20:38 +0100, Dave Wade wrote: > > -----Original Message----- > > From: [email protected] <[email protected]> On Behalf Of Tony > > Harminc > > Sent: 17 April 2020 20:35 > > To:
By
@shiresoft
·
#1042
·
|
Re: memset help
By
Dave Wade
·
#1041
·
|
Re: memset help
I must admit that I have a vague recollection of this issue coming up here before. I'm still a bit unclear though on how the compiler can be consistent in how it translates a float decimal i
By
Tony Harminc
·
#1040
·
|
Re: memset help
By
Dave Wade
·
#1039
·
|