On  Mon, 12 Jul 2004 at 18:13:55, Wolfgang Lenerz wrote:
(ref: <[EMAIL PROTECTED]>)

>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.
That was the first asm I did in the 80s - a clock with a capslock beep.

>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...



 Tony
-- 
         QBBS (QL fido BBS 2:252/67) +44(0)1442-828255
     tony@<surname>.co.uk  http://www.firshman.co.uk
       Voice: +44(0)1442-828254   Fax: +44(0)1442-828255
    TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
_______________________________________________
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm

Reply via email to