On 11 Jul 2004 at 20:40, Dilwyn Jones wrote:

(...)
> 
> Just thought I'd note this, and if anyone (Marcel? Wolfgang L?) can tell me
> why, so much the better!
> 


This whole caps lock thing was badly implemented in the original QDOS, 
anyway.

There is a sysvar (sys_csub - offset $a2) containing an address which can be 
called when caps lock is pressed/released, so that you cound write your very 
own capslock beep (e.g.) routine. 
But, instead of taking the address lying at that sysvar, QDOS JUMPS to the 
sysvar (!).
SMSQ/E first of all did it the right way (take the adress contained in the 
sysvar & JSR to it) ... which broke some code I'd already written, so Tony 
kindly implemented the current system - see whether there is an address at 
the new sysvar sys_capr & jump to that address, or else do it the old style 
with sys_csub...

Wolfgang



> Dilwyn Jones
> 
> _______________________________________________
> QL-Users Mailing List
> http://www.quanta.org.uk/mailing.htm
> 


----------------------------------------
www.scp-paulet-lenerz.com

_______________________________________________
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm

Reply via email to