From: Ed Sirett <ed@cityscape.co.uk>
Subject: Re: [Q] Scanning for keypresses on a Microvax...
Date: 1995/06/20 [thread overview]
Message-ID: <3s6m6q$191@news.cityscape.co.uk> (raw)
In-Reply-To: gchapman-1306952120050001@ts1-10.icis.on.ca
In article <gchapman-1306952120050001@ts1-10.icis.on.ca> Greg Chapman,
gchapman@icis.on.ca writes:
>If anyone can get me some macro (assembly) code on the MicroVax, to scan
>for a key press (it'll be linked as an object to a pascal program)... I'd
>be very grateful...
>
Should not need to use Macro.
Check out SYS$QIOW with IO$_SENSEMODE ored with IO$M_TYPEAHEADCOUNT.
The function will return you (via pointer in p7) the number of keypress
in the buffer and also inform you of the first character therein (if any)
- It does *not* read that character until you call SYS$QIOW with
IO$_READxxxx
prev parent reply other threads:[~1995-06-20 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-06-14 4:00 [Q] Scanning for keypresses on a Microvax Greg Chapman
1995-06-15 4:00 ` Hein RMS van den Heuvel
1995-06-20 4:00 ` Ed Sirett [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox