🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #126

Overlays

#126
From: Rob Cermak
Date: Wed, 19 Aug 1992 17:35
38 lines
1887 bytes
Getting into Overlays:

I'm working with Microsoft's PDS 7.1.  Here is a list of questions that
I need answered.


1.   If the main routine is say X.BAS and you have a function in
	Y.BAS.   Do you just compile X and Y and obtain OBJ files
	and then just LINK X + (Y)?  With the correct options of course.

     Then if X calls the function in Y, Y will load and do what it can
     and return to X?

2.   If X opens files & device(COM1 & COM2).  Are these preserved
     across overlay boundaries?  Just wondering if file pointers are
     preserved with the data, and hoping that the COMMUNICATION BUFFERS
     are PRESERVED ALSO!??

3.   In the restrictions, it says that overlays only work in MID/LARGE
	models?  I don't think this BASIC knows the difference if it is
	mid/large...should I worry about this?  I'm programming in 
	straight BASIC.

4.   Are communication buffers preserved if a DOS BASIC program shells
	out to another program?

5.   Are all the COMMON SHARED variables preserved across overlays?

Thanks indefinitely,
		Rob.

Please restrict comments to the PDS package.
-- 
Rob Cermak			        EMAIL : cermak@gandalf.rutgers.edu
Prog/Tech Rutgers-Cook College		USMAIL: Rutgers University
FAX             :908 932-7922 	 	        Department of Meteorology
Meteorology Dept:908 932-9387			Cook College  PO BOX 231
"Anticyclones make for great vacations."        New Brunswick NJ 08903-0231
Technical Details
Message-ID: <Aug.19.13.35.22.1992.19126@gandalf.rutgers.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!dziuxsolim.rutgers.edu!gandalf.rutgers.edu!cermak

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!dziuxsolim.rutgers.edu!gandalf.rutgers.edu!cermak
From: cermak@gandalf.rutgers.edu (Rob Cermak)
Newsgroups: alt.lang.basic
Subject: Overlays
Keywords: PDS 7.1
Message-ID: <Aug.19.13.35.22.1992.19126@gandalf.rutgers.edu>
Date: 19 Aug 92 17:35:22 GMT
Distribution: usa
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 38