Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!samsung!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!sics.se!fuug!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.lang.pascal Subject: Re: DOSCrt Unit Message-ID: <1991May25.091041.5556@uwasa.fi> Date: 25 May 91 09:10:41 GMT References: <6490013@hplsla.HP.COM> Organization: University of Vaasa, Finland Lines: 26 In article <6490013@hplsla.HP.COM> davidr@hplsla.HP.COM (David M. Reed) writes: >A while ago someone was requeting the equivalent of "KeyPressed" without >having to use the Unit CRT. Below is a DOSCrt Unit which I obtained from >Borland a couple of years ago. Unlike the standard CRT Unit (which talks >directly to the hardware), this version uses MS-DOS function calls and : >(NOTE: I have found inconsistencies in behaviour with WhereX and WhereY >from one version of ANSI.SYS to another.) : >If anyone can supply the missing functions/procedures, I would be interested >(particularly the ones concerning Sound and Delay). They all (the Wheres, sound, and delay, etc) are included (without source code) in the /pc/ts/tspa23##.arc (##=40,50,55,60) TP units collection available by anonymous ftp and mail server from garbo.uwasa.fi and simtel20 archives, and their mirrors. Furthermore, note that the WhereX and WhereY (and many other) Crt counterparts in my TP units do not rely on ansi.sys having been loaded. They are more generic, they don't need Crt, _and_ they do not make the restrictive requirement about ansi.sys. ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun