Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Where is user_routines_fast()? (http://www.chiefdelphi.com/forums/showthread.php?t=24356)

SeanCassidy 25-01-2004 14:17

Where is user_routines_fast()?
 
Does anyone know where user_routines_fast() is? I've searched every file but the library file, and can't find where it's defined, if at all. Reciever.c and Tracker.c both tell me that functions they used are called in user_routines_fast(), but it's not anywhere. What I was thinking was either that we have to make our own user_routines_fast() (Process_Data_From_Local_IO() maybe?)

Anyone have any thoughts, help or suggestions?

mightywombat 25-01-2004 14:31

Re: Where is user_routines_fast()?
 
user_routines_fast is the .c file where Process_Data_From_LocalIO() is located. Process_Data_From_LocalIO() is the function that gets called every cycle from main() in main.c
user_routines_fast() is not a function.

Kevin Watson 25-01-2004 15:18

Re: Where is user_routines_fast()?
 
Quote:

Originally Posted by SeanCassidy
Does anyone know where user_routines_fast() is? I've searched every file but the library file, and can't find where it's defined, if at all. Reciever.c and Tracker.c both tell me that functions they used are called in user_routines_fast(), but it's not anywhere. What I was thinking was either that we have to make our own user_routines_fast() (Process_Data_From_Local_IO() maybe?)

Anyone have any thoughts, help or suggestions?

Hmm... It's just a guess, but the knuckle-head that wrote that code probably meant user_routines_fast.c. Geez, where does FIRST get these hacks :D.

-Kevin

SeanCassidy 25-01-2004 16:14

Re: Where is user_routines_fast()?
 
Just to prove I'm not crazy (reciever.c):

Code:

/*******************************************************************************
*
*        FUNCTION:                Timer_1_Int_Handler()
*
*        PURPOSE:                This code is called in response to a timer 1
*                                        roll-over interrupt.
*
*        CALLED FROM:        User_Routines_Fast()
*
*        PARAMETERS:                None
*
*        RETURNS:                Nothing
*
*        COMMENTS:                With a 1:4 timer 1 prescaler, this function is
*                                        called every 26.21 milliseconds
*
*******************************************************************************/

Heh, thanks for clearing that up.


All times are GMT -5. The time now is 00:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi