To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3479
3478  |  3480
Subject: 
Re: disable LNP
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 13 Oct 2003 13:45:04 GMT
Viewed: 
3585 times
  
In lugnet.robotics.rcx.legos, Joseph Woolley wrote:
Mark is correct: I made the following two changes which will cause the
sensors to be polled at 1KHz:

in systime.c; added "bset #0x5,@_AD_CSR:8";

I actually had already tried this, but couldn't get it to work.  Turns out I was
having a problem with generating the linker file (genlds).

Once I resolved that, it works GREAT!

As you may expect, the processor intensive program I've written, goes about 3
times as fast as before.

Very nice.

Thanks
Steve



Message is in Reply To:
  Re: disable LNP
 
(...) Mark is correct: I made the following two changes which will cause the sensors to be polled at 1KHz: in systime.c; added "bset #0x5,@_AD_CSR:8"; extern void clock_handler(void); ... sys_nohigh: mov.w #0x5a06,r6 ; reset wd timer to 6 mov.w (...) (21 years ago, 12-Oct-03, to lugnet.robotics.rcx.legos)

7 Messages in This Thread:


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

Custom Search

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