# HG changeset patch # User boisy # Date 1070397464 0 # Node ID 58b7b86f61d58f791d700af7b901e722a5c83f7a # Parent 0aa81866992aacca3c4c17bf9d58caeb1304ce61 cc3io now can be assembled with keyboard mouse global or local to a window diff -r 0aa81866992a -r 58b7b86f61d5 level2/modules/cc3io.asm --- a/level2/modules/cc3io.asm Tue Dec 02 15:53:22 2003 +0000 +++ b/level2/modules/cc3io.asm Tue Dec 02 20:37:44 2003 +0000 @@ -18,12 +18,16 @@ * 26r5 2002/07/24 * Added support for obtaining mouse info from the init module. * -* 27 2003/08/18 +* 27 2003/08/18 Boisy G. Pitre * Forward ported to NitrOS-9. * -* 2003/11/16 -* Corrected several lines for keyboard mouse. RG -* Corrected several lines in SSMOUSE where MS.Side used incorrectly. RG +* 2003/11/16 Robert Gault +* Corrected several lines for keyboard mouse. +* Corrected several lines in SSMOUSE where MS.Side used incorrectly. +* +* 2003/12/02 Boisy G. Pitre +* Keyboard mouse is now either global or local to window, depending +* on whether GLOBALKEYMOUSE is defined. nam CC3IO ttl CoCo 3 I/O driver @@ -39,6 +43,10 @@ rev set 0 edition set 27 +* Comment out next line for global keyboard mouse; otherwise, it's on/off +* on a per-window basis. +GLOBALKEYMOUSE equ 1 + mod eom,name,tylg,atrv,start,CC3DSiz fcb EXEC.+UPDAT. @@ -387,8 +395,11 @@ bne L0225 no, return ldb V.ULCase,y ELSE @@ -621,6 +643,7 @@ bita #KeyMse puls a ENDC + ENDC beq L0381 no, try joystick ldx >WGlobal+G.KeyEnt else get ptr to keydrv leau >G.KeyMem,u and ptr to its statics @@ -882,6 +905,20 @@ stb