To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.spyboticsOpen lugnet.robotics.spybotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Spybotics / 271
270  |  272
Subject: 
Re: Spybot studies: seek a world object
Newsgroups: 
lugnet.robotics.spybotics
Date: 
Mon, 10 Nov 2003 21:56:48 GMT
Viewed: 
9765 times
  
In lugnet.robotics.spybotics, John Hansen wrote:
You might be able to use PointToward_Bead without running into problems.

Or, then again, you might not.  As with the vast majority of the ROM subroutines
(and all the _Bead subroutines) this subroutine fiddles around with a global
variable (via calls to EnterBead and ExitBead).  In this case it happens to be
global variable #29 (nState).  So in order to avoid accidentally overwriting any
of your NQC variables you should probably use:

#pragma reserve 29
#define nState (@29)

Hope this helps,

John Hansen



Message has 1 Reply:
  Re: Spybot studies: seek a world object
 
(...) It does. Thanks! (...) (21 years ago, 11-Nov-03, to lugnet.robotics.spybotics)

Message is in Reply To:
  Re: Spybot studies: seek a world object
 
(...) Cool program. Keep up the great work! (...) You might be able to use PointToward_Bead without running into problems. __nolist void PointToward_Bead(const int& nTimes) { asm { 0xe3, &nTimes, 0x17, 81, 0x01, 1 }; } This ROM routine monitors an (...) (21 years ago, 10-Nov-03, to lugnet.robotics.spybotics)

14 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR