A86: sqrtKEY: altKey & eshKey
[Prev][Next][Index][Thread]
A86: sqrtKEY: altKey & eshKey
sqrtKEY is actually called in two places in _getkey, which times it gets
to depends on what flags you set. there are two sets of flags, if you
set the alt-flags, the routine is called BEFORE anything is done. if you
set the esh-flags, it is done AFTER, and you can modify the returned
result.
if you want your sqrtKEY program to get the keycode and only be called if
a key has been pressed, set the esh-flag and not the alt-flag. also, if
either the onInterrupt or 4,(iy+$1f) flags are set, sqrtKEY will be
called at the esh- spot even if no key is available.
if you set both flags, you can determine which time it's being called by
checking 3,(iy+$1f). it will be set for the alt-call.
note that some of the alt-flags are for the alt-interrupt routines (the
200 byte spaces).
some of them are for sqrt programs. also, most routine do not have both
flags.
iy+$23 altflags
0 altFont
2 altExec
3 altOn
4 altLink
5 altKey
6 altExpr
7 altOff
iy+$24 eshflags
0 eshParse
1 eshForm
2 eshExec
3 - anyone know what this is?
4 eshHome
5 eshCmdtok
6 eshKey
7 eshGrf
-josh
___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.
Follow-Ups: