[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] an urgent GEM question :-)
- To: mint@lists.fishpool.fi
- Subject: Re: [MiNT] an urgent GEM question :-)
- From: Thomas Huth <th.huth@googlemail.com>
- Date: Tue, 23 Dec 2008 17:23:29 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=izfs2mJY45fxcetdnJhpT+hcuIan8kUzBoKYMGPS3pg=; b=cIYoiX/ZtJ8iNmQ0T95SCm0zwmofs4T/Tr95vB4G1hHte9s1POnT7YW/pJUl1ACXth xm9O2ysv5d3k7h7Jo8Y73omT4mJRFwwTni5RhzcRC2sfnV8kGAemiS6sbOKGQSlI4a6c kU0kattB1Mp+1v4mAyyPZZjgM9tJhuiKNGs9o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=R6iL2ws4Ucucpi3yIwJ6kD3+5X4+5K2XDY0aYw4Ic1fIU2Zw4gWW5gZX60PMh/pr4P Q9VcEdgVaJHd3a0I154T8kSw696D47oeK3fCyGzkkcy944SvbKV11w9sGHhzjHv0qsbO Y4E37gNPv9fTkSqkM1pJEJAgnHs6S9i5lnm7I=
- In-reply-to: <1230022147.7318.6.camel@joy>
- List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
- List-id: <mint.lists.fishpool.fi>
- List-owner: <mailto:tjhukkan@fishpool.fi>
- List-post: <mailto:mint@lists.fishpool.fi>
- List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
- List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
- References: <1230022147.7318.6.camel@joy>
- Sender: mint-bounce@lists.fishpool.fi
On Tue, 23 Dec 2008 09:49:07 +0100
Petr Stehlik <pstehlik@sophics.cz> wrote:
> could someone please help me with this off-topic question: I'd need to
> position the mouse pointer/cursor at defined coordinates on screen. I
> have tried using v_dspcur(x, y) but it didn't work. Even my PureC help
> file mentions that the function actually never worked. I was curious
> why so I wrote the same program in GFA Basic (in case there was a bug
> in PureC's GEMLIB) but the mouse cursor still not moved.
>
> I then resorted to a hack and implemented it using appl_tplay() which
> positions the mouse pointer correctly but I am wondering what's wrong
> with the v_dspcur() - is it really wrong in all VDI versions? Or am I
> just calling it incorrectly?
I remember having the same problem ca. 10 years ago. AFAIR there are
only two reliable ways of setting the mouse pointer:
1) Use appl_tplay(), that's the clean solution
2) Poke the address into the corresponding Line-A variables, that's
the ugly solution.
Maybe there is also a solution using the VDI, but I also did not manage
to do this at that time. You might want to have a look at the source
code of appl_tplay() though to see how the AES are doing this
internally.
Merry X-Mas,
Thomas