home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!mast.queensu.ca!dmurdoch
- From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
- Subject: Re: drivers in OVR?
- Message-ID: <dmurdoch.429.728071334@mast.queensu.ca>
- Lines: 18
- Sender: news@knot.ccs.queensu.ca (Netnews control)
- Organization: Queen's University
- References: <lawrence-260193100111@ls-21.biology.utah.edu>
- Date: Tue, 26 Jan 1993 18:02:14 GMT
-
- In article <lawrence-260193100111@ls-21.biology.utah.edu> lawrence@bioscience.utah.edu (jeff lawrence) writes:
-
- >is it possible to link driver and font OBJ files into overlays instead of
- >the EXE file in BP7? the manuals don't seem to outwardly forbid it, and
- >the compiler does fine overlaying the unit with the procedures, but i can't
- >initialize the drivers. if the unit is *not* overlaid, things are fine.
- >seems like a waste of space to put them in the EXE file. am i grabbing at
- >straws here?
-
- You can't, because BGI depends on the active driver staying at a fixed
- position in memory. If you don't want to link them all in, you can tack
- them on the end of the .EXE and just load the detected one at run-time; an
- example of how to do this is in BGIRES.ZIP, where I put them in a resource
- file. (Look on garbo.uwasa.fi in either /pc/turbopas or /pc/turbovis.)
-
-
- Duncan Murdoch
- dmurdoch@mast.queensu.ca
-