🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.pascal
Article #297

Re: MSDOS Turbo Pascal: re-assigning conOutPtr

#297
From: Stefan Vorkoetter
Date: Fri, 30 May 1986 13:43
12 lines
1120 bytes
Try using the following:
    ConOutPtr := Ofs( MyRoutine );
I don't have my Turbo Manual here, but I believe that ConOutPtr is not
a real pointer in the 8086 sense of the word (ie. segment:offset), but
rather is just an offset into the code segment.  Telling it the segment
would be redundant since Turbo is limited to a single 64K code segment
anyway.  I hope this is correct.

Stefan Vorkoetter (smvorkoetter@watmum.UUCP)
University of Waterloo
Waterloo, Ontario, Canada
Technical Details
Message-ID: <506@watmum.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!watmum!smvorkoetter
References: <2864@utcsri.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site watmum.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!watmum!smvorkoetter
From: smvorkoetter@watmum.UUCP (Stefan Vorkoetter)
Newsgroups: net.lang.pascal,net.micro,net.micro.pc
Subject: Re: MSDOS Turbo Pascal: re-assigning conOutPtr
Message-ID: <506@watmum.UUCP>
Date: Fri, 30-May-86 09:43:19 EDT
Article-I.D.: watmum.506
Posted: Fri May 30 09:43:19 1986
Date-Received: Sat, 31-May-86 05:56:52 EDT
References: <2864@utcsri.UUCP>
Reply-To: smvorkoetter@watmum.UUCP (Stefan Vorkoetter)
Organization: U of Waterloo, Ontario
Lines: 12