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 / 1740
    kernel hacking in lnp.c (problem) —Kenneth Johansen
   hi everybody. in /kernel/lnp.c there is a function called lnp_receive_packet. here im trying to insert a function that will display whatever came in the data field when lnp_receive_packet was called. (interested in seeing everything, including (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
   
        Re: kernel hacking in lnp.c (problem) —Bernardo Dal Seno
   (...) Posting your code would help a lot :-). lnp_receive_packet() is called after the integrity layer has verified the checksum from an interrupt handler. So your code should be short e never call functions that wait or may cause a task switch. dll (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
   
        Re: kernel hacking in lnp.c (problem) —Ross Crawford
   (...) The best way to do this kind of thing is to save the info you want to display in a variable or something, set a flag saying somethings there, and let another task display the data & reset the flag. You can see a simple implementation of this (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
 

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