Newsgroups: comp.sys.atari.st
Path: utzoo!lsuc!jimomura
From: jimomura@lsuc.on.ca (Jim Omura)
Subject: XBIOS ikbdws()
Message-ID: <1990Nov18.153153.12097@lsuc.on.ca>
Reply-To: jimomura@lsuc.on.ca (Jim Omura)
Organization: Consultant, Toronto
Date: Sun, 18 Nov 90 15:31:53 GMT


     In further testing, I've tried code similar to the following
test code:

/* test.c */

#include <osbinds.h>

test()
{

    extern char scrbuf[5];

    scrbuf[0] = (char) 0x09; /* Set Mouse Report Absolute */
    scrbuf[1] = (char) 0x01; /* MSB X for 319 */
    scrbuf[2] = (char) 0x3f; /* LSB X for 319 */
    scrbuf[3] = (char) 0;    /* MSB Y for 199 */
    scrbuf[4] = (char) 199;  /* LSB Y for 199 */

    ikbdws(4,scrbuf);

}   /* End of test.c */

     If you compile this down it looks like it should be right.
Yet when I run it, again, the mouse stops updating.  At least
'graf_mkstate()' (AES opcode 79) doesn't receive new X-Y reports and
the mouse cursor stays in its last position.  On the otherhand,
the 'shift key' report seems to be returned by 'graf_mkstate()'.
I know this because I'm using the shift key report to exit
a test loop.

     Any ideas about what's going wrong?
-- 
Jim Omura, 2A King George's Drive, Toronto, (416) 652-3880
lsuc!jimomura
Byte Information eXchange: jimomura
