🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.misc
Article #125

Re: What does INTR and GOTOXY keywords do?

#125
From: Michael Day (TeamB)
Date: Wed, 28 Jan 1998 00:00
19 lines
1486 bytes
On Tue, 27 Jan 1998 20:03:22 GMT, jchauvin@netcom.com (John H. Chauvin) wrote:

>Specifically, the compiler does not understand the INTR and
>GOTOXY keywords. Any idea what these do? If so, how can I
>duplicate their function using CodeWarrior Pro 2 for Windows?

GOTOXY positions the text cursor on a MSDOS screen. It is only available to
MSDOS programs Since Windows don't have text screens, there is no text cursor
positioning command. 

The INTR is a call to the system bios It is available in Win31, but not in
32bit mode. You no longer have direct access to the bios in 32 bit windows.
Int33 is a call the mouse, and probably being used to obtain the mous position
on the screen. You would have to completely rewrite the code to use Windows
api calls, which are completely different than MSDOS calls. 

In other words, you can't duplicate the calls, you need to modify the code to
be compatible with the Windows methodology.
Technical Details
Message-ID: <34ce7d9f.112690137@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <jchauvinEnGL1M.JHp@netcom.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10261c,eb48d5f0442c1ea8
X-Google-Attributes: gid10261c,public
X-Google-Thread: 108ebd,eb48d5f0442c1ea8
X-Google-Attributes: gid108ebd,public
From: mikeday@nospam.backwater.com (Michael Day (TeamB))
Subject: Re: What does INTR and GOTOXY keywords do?
Date: 1998/01/28
Message-ID: <34ce7d9f.112690137@forums.borland.com>
X-Deja-AN: 319828861
References: <jchauvinEnGL1M.JHp@netcom.com>
Organization: None
Newsgroups: comp.lang.pascal.misc,borland.public.turbopascal