Re: NESTED SUBROUTINES
Not only that, but DOS/VS r 34 didnt follow the OS calling conventions.
Joe
wrote:
By
Joe Monk
·
#341
·
|
Re: NESTED SUBROUTINES
ok, maybe a little progress. Knowing that standard calls
do not work, as you state, means that I have to do my own.
Ok, now for some testing.....
Thank You very much.
cheers
/tom c
wrote:
By
Tom Chandler
·
#340
·
|
Re: NESTED SUBROUTINES
Hi Tom,
You are going to have to implement your own routines. Perhaps check
out how Algol or PL/1 handle subroutine calls. But standard call
routines do not support re-entrant calls.
Rich
By
Richard Cornwell
·
#339
·
|
Re: NESTED SUBROUTINES
Richard,
Thank you for the info. I need to figure out how to implement your
suggestion. I found in the documentation on SAVE an option
SAVE (14,12),,xxxxxxx
where xxxx is a ds 18f area
By
Tom Chandler
·
#338
·
|
Re: NESTED SUBROUTINES
Hi Tom,
Typically 360/370 subroutine calls are done with a what is called a
save area. This is 18 words allocated within the subroutine. On entry
the registers are saved into the previous
By
Richard Cornwell
·
#337
·
|
Re: NESTED SUBROUTINES
Fish,
Thank you for comments.? You confirmed what I thought was the issue.
Looking through the fish-macros, I noticed you have a modified save
macro.? Should I be using that version?
I have written
By
Tom Chandler
·
#336
·
|
EchoParm
Fran Hensler wrote a routine, EchoParm, which allows for the use of
EXEC PARM= .
The program compiles but will not run via DOS/VS rel 34.? It is stated in
the JCL:
Restriction:? This program will
By
Tom Chandler
·
#335
·
|
Re: NESTED SUBROUTINES
[...]
How do you have your subroutine linkage designed? Simple saving of return register? If so, then that's your problem.
Sub1 saves its return to main, but as soon as sub2 then calls sub1, sub1
By
Fish Fish
·
#334
·
|
NESTED SUBROUTINES
I am looking for documentation/examples of how to nest
multiple layers of subroutines in DOS/VS ASM.
I can do one-nesting, but if I try to nest two levels
main -> sub1 -> sub2 -> sub1 -> main
the
By
Tom Chandler
·
#333
·
|
Re: BUFF40 jcl/documentation Fortran
Hi,
I managed to get BUFF40S to work. It probably will not work on
DOS/VS. I used DOS/360. You need to define a very small supervisor.
It seems it can't be bigger then 16K. BUFF40 does some
By
Richard Cornwell
·
#332
·
|
Re: BUFF40 jcl/documentation Fortran
Hi,
I got it to start. It needs a file BUFF40S with between 10 and 100
cylinders. I am not sure how to create files on DOS yet. If anyone
can provide the JCL to make this. It directly calls
By
Richard Cornwell
·
#331
·
|
Re: BUFF40 jcl/documentation Fortran
Yes, as I said back in 2007, there is no doc other than the source code.
But there is a lot of info in that very tight source, and the line-by-line
comments are pretty good if you have experience
By
Tony Harminc
·
#330
·
|
Re: BUFF40 jcl/documentation Fortran
Such luxury. I had to put coding forms in the post. It was Fortran II so things like
F=G*10
Usually fails¡¡
Dave
Sent: 02 October 2022 22:14
To: [email protected]
Subject: Re:
By
Dave Wade
·
#329
·
|
Re: BUFF40 jcl/documentation Fortran
From an old yahoo groups message:
"There is no doc other than what you find in the source code. BUFF40 is
a student "compile & go" system designed for high performance on small
programs. It does not
By
Joe Monk
·
#328
·
|
Re: BUFF40 jcl/documentation Fortran
I¡¯d really like to help you Tom but I can¡¯t find my documentation.
This is a paragraph from my webpage that I wrote for my 50th anniversary at SRU.
The first computer usage by students was
By
Fran Hensler
·
#327
·
|
BUFF40 jcl/documentation Fortran
I have BUFF40 compiling and linking via dos/vs.? Does anyone have
any jcl and/or documentation on how to run and use this code.
Thank you
tom c
By
Tom Chandler
·
#326
·
|
Re: IBM 370/130 + DOS/VS
Many thanks Fish!
Best Regards
Roberto
By
Roberto Sancho Villa
·
#325
·
|
Re: IBM 370/130 + DOS/VS
Roberto Sancho Villa wrote:
[...]
That is SO COOL!!! :)))
--
"Fish" (David B. Trout)
Software Development Laboratories
http://www.softdevlabs.com
mail: fish@...
By
Fish Fish
·
#324
·
|
IBM 370/130 + DOS/VS
Hi Guys
I¡¯ve released a new Control Panel for IBM 370/138 ( https://github.com/rsanchovilla/SimH_cpanel )
It includes the bugfixes done by Richard Cornwell in his Sims repo.
Now simulator can
By
Roberto Sancho Villa
·
#323
·
|
Re: PL-360
Hi Tom,
You mentioned that you would upload a copy of PL-360 if any interest.
I am certainly interested so please upload the zip file mentioned.
Best regards,
Steen
By
Steen Hansen
·
#322
·
|