Google
 

Trailing-Edge - PDP-10 Archives - BB-D480F-SB_FORTRAN10_V10 - ovl0.for
There are 9 other files named ovl0.for in the archive. Click here to see a list.
	PROGRAM OVL0

C COPYRIGHT (C) DIGITAL EQUIPMENT CORPORATION 1982, 1985
C ALL RIGHTS RESERVED.
C 
C THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED
C ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH LICENSE AND WITH THE
C INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR ANY  OTHER
C COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
C OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF THE  SOFTWARE  IS  HEREBY
C TRANSFERRED.
C 
C THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT  NOTICE
C AND  SHOULD  NOT  BE  CONSTRUED  AS A COMMITMENT BY DIGITAL EQUIPMENT
C CORPORATION.
C 
C DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY  OF  ITS
C SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.

C	Simple overlay tests

C			OVL0
C		       /    \
C		OVL2A	      OVL4
C	      /	    \		   \
C	   OVL5	     OVL6  	    OVL1
C			\	   /
C			OVL2B	OVL3

	IMPLICIT DOUBLE PRECISION (D)
	IMPLICIT COMPLEX (C)
	IMPLICIT INTEGER (A)

	TYPE 1
1	FORMAT ('1','Execution begins in main program OVL0')

	TYPE 11
11	FORMAT (1X,'OVL0 CALLS OVL2A')
	IVAR=0
	CALL OVL2A(IVAR)
	TYPE 2
2	FORMAT (/1X,'RETURN TO OVL0')
	IF (IVAR.NE.1) TYPE 100
100	FORMAT(' ?Error. Value not returned from OVL2A')

	TYPE 21
21	FORMAT (1X,'OVL0 CALLS OVL4')
	NUMB=0
	CALL OVL4(NUMB)
	TYPE 2
	IF (IVAR.NE.1) TYPE 200
200	FORMAT(' ?Error. Value not returned from NUMB')

	TYPE 3
3	FORMAT (/1X,'Execution ends in main program OVL0'//)

	STOP
	END