Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hplsla!richw From: richw@hplsla.HP.COM (Rich Wilson) Newsgroups: comp.os.msdos.programmer Subject: Re: Overlays, how is it done and can it be done with TC? Message-ID: <13490001@hplsla.HP.COM> Date: 31 Aug 90 15:30:02 GMT References: Organization: HP Lake Stevens, WA Lines: 35 / hplsla:comp.sys.ibm.pc.programmer / rfrost@spam.ua.oz.au (Richard Frost) / 6:44 am Aug 30, 1990 / This topic MUST have been talked about before but I am a newcomer to this group. How are overlays done exactly (I'd like info on _implementation_ as I know the theory). Can I implement them with purely C code? (ie. do I need assembly code to assist etc?) What compilers support overlays? I have read the Turbo C manual and it does not mention overlay support anywhere. Thanks. -- ______________________________________________________________________________ _ ___ | Email Address: rfrost@spam.ua.oz.au I) I_ | I\ ichard I rost | FidoNet (ADAM LINK BBS): 3:680/805 Richard Frost ---------------------+-------------------------------------------------------- Bewildered Earth Scientist: "How do you re-wire alien equipment like that??" Dr. Who: "Its easy when you've had 900 years experience in alien technology." ______________________________________________________________________________ ---------- Turbo C++ lets you do overlays with VROOMM. It sounds easy from the manual (I haven't tried it). Just some compiler flags, link commands, and simple rules to follow. Rich Wilson P.S. I'd be interested in a technical description of how the overlays are implemented; i.e. what instructions get executed when a call to or return from a function is executed?