Go to Post I could say that the decline in the population of pirates is responsible for global warming, the statistics correlate, but its obvious there's no causation there. - Racer26 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-12-2003, 21:29
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
Interrupt limitations?

hmm... this just kind of occured to me..

Im sure everyone will agree that one of the things about the new controller is the capabilities of interrupts. However... something popped in my head...

Ok, yes we can now find exactly when something is happening by being interrupted... but we still cant send out data more than every 17ms (or 25 for the edubot). So we can find out something is happening right now, but we cant do anything about it until a long time afterwards... lol. And naturally it will be very useful for when we're counting how many times something happens too...Hmm... which reminds me of another pet peeve about the controller..

The whole thing where we have to send data every X ms otherwise the controller resets.. I mean, even in PBASIC I never had trouble meeting the time requirement but at times it could be annoying. They should have something like a port we can read stuff from or whatever.. yeah, im just rambling about that. I don't really know how they could implement it any other way. But the time thing bothers me nonetheless. Yes, I realize that its useful for if you write code that goes crazy during competition then it can reset the controller back to a sane state but nonetheless..

One thing I am very thankful for though is the fact that we have timers in the processor... much yay about that!

Ok, I just realized that I really don't have much of a point in this post but ill post it nonetheless... any thoughts on this?
__________________
main() {
srandom(time(0));
while(1) {
int pid=random()%30000;
if (pid>1 && pid!=getpid()){
kill(pid, random()&1 ? SIGSTOP : SIGBUS);
sleep(10); }}}

Visit my completely useless website! http://randomperson.cjb.net

Last edited by randomperson : 26-12-2003 at 21:31.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EDU Interrupt and Timer Template Code Kevin Watson Programming 8 22-12-2003 14:11
Operator Board Size Limitations?? archiver 2001 6 24-06-2002 00:37
Gray box limitations Tim Skloss Technical Discussion 1 23-01-2002 07:38
wheel limitations Greg Needel Technical Discussion 1 15-01-2002 16:37
Kit Materials Usage & Limitations Rockstar75 Rules/Strategy 1 10-01-2002 17:19


All times are GMT -5. The time now is 23:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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