[comp.sys.atari.st] v_dspcur

lake@ka3ovk.UUCP (Marshall Lake) (06/13/89)

I'm having trouble getting v_dspcur() to work at all.  v_dspcur should
move the mouse pointer to a location specified by the passed params but
I can't get it to do anything!  I was told that there was a bug in the 
TOS ROMs which kept this function from executing correctly and that a
patch existed which corrected the situation.  The fix was supposed to
be in an auto program provided with the European ST Tour ... but this
fix doesn't seem to be the trick.

Has anyone else had similar problems?  Has anyone found a fix that works?

Thanks in advance.

Marshall Lake
...{wb3ffv!drilex!infopro!teemc!tcsc3b2}!ka3ovk!lake

rosenkra@hall.cray.com (Bill Rosenkranz) (06/16/89)

In article <6038@ka3ovk.UUCP> lake@ka3ovk.UUCP (Marshall Lake) writes:
=I'm having trouble getting v_dspcur() to work at all.  v_dspcur should
=move the mouse pointer to a location specified by the passed params but
=I can't get it to do anything!  I was told that there was a bug in the 
=
=Marshall Lake
=...{wb3ffv!drilex!infopro!teemc!tcsc3b2}!ka3ovk!lake

i wanted to do the same sort of thing. after talking to apratt@atari
and one of his cohorts, i used the vex_motv VDI function to reset
the motion vector. it works fine, but only moves the mouse after there
is some movement. ok for my application, perhaps not for yours.

trying to write directly to the ikbd met with zero success.

if you need a short piece of code to see how to do it, i'll be
happy tp post it here...

-bill
rosenkra@boston.cray.com

kbad@atari.UUCP (Ken Badertscher) (06/16/89)

In article <6038@ka3ovk.UUCP> lake@ka3ovk.UUCP (Marshall Lake) writes:
| I'm having trouble getting v_dspcur() to work at all.  [...]
| The fix was supposed to
| be in an auto program provided with the European ST Tour ... but this
| fix doesn't seem to be the trick.

The patch program you're referring to was a fix to appl_tplay, which
didn't work correctly in the ROM TOS release.  Appl_tplay was fixed in
Mega TOS.

I'm not sure about v_dspcur(), but I seem to remember something odd
about it... I believe you have to call the function twice in order to get
it to work (don't ask me why!).

Luck...


-- 
   |||   Ken Badertscher  (ames!atari!kbad)
   |||   Atari R&D System Software Engine
  / | \  #include <disclaimer>