Re: A86: sqrtKEY: altKey & eshKey
[Prev][Next][Index][Thread]
Re: A86: sqrtKEY: altKey & eshKey
??? What are the esh flags? I've never even heard of them before. What
do they do, other than control sqrtprograms? And what flag should I set
if I want the eshflags? altKEY? In my program I use
sqrtkeyinstalled,(IY+sqrtflags), not any of these. Should I be using
these?
Cassady Roop
Joshua J Seagoe wrote:
>
> 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.
References: