home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!wtrlnd!contrast!postmaster
- From: berend@contrast.wlink.nl (Berend de Boer)
- Newsgroups: comp.lang.pascal
- Subject: Overlays and device drivers
- Message-ID: <724116564.AA00693@contrast.wlink.nl>
- Date: Fri, 11 Dec 1992 22:13:06
- Sender: postmaster@contrast.wlink.nl
- Lines: 35
-
- Duncan Murdoch wrote in a message to All:
-
- DM> I assume that your device driver is being called from
- DM> outside your program. If so, it won't be part of the chain,
- DM> so it had better not do anything to trigger a swap: don't
- DM> call any code that's overlaid from within it.
-
- Hello Duncan,
-
- I reply again to your message, because, after some further thinking, I'm
- not sure if these last two sentences are the case in my program.
-
- What's going on.
-
- I wrote a device driver unit with OpenFunc, InOutFunc etc. I use this
- unit in the following way:
-
- unit A;
- uses Device;
- begin
- write(lst, 'Hello world');
- end.
-
- The device driver is actually a printer unit with special functions. Can
- I call using lst to acces the functions in the Device unit "being called
- from outside your program" to quote your words?
-
- If you would be so kind to clarify this point,
-
- Yours sincerely,
-
- Berend. (-:
- fido: 2:281/527.23
- email: berend@contrast.wlink.nl
-
-