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 / *49 (-20)
  H8300 Stack and SLEEP
 
Hi All, If this is old news, ignore it... I just figured out this weekend (thanks Kekoa) that the H8/300 stack pointer (r7) and the power-down function in the RCX have a close relationship. The stack pointer MUST be in the on-chip RAM area (0xFD80 (...) (26 years ago, 15-Mar-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.pbforth, lugnet.robotics)
 
  Re: Idle process
 
I guess my earlier posting got out after all. I got the message from the NNTP server telling me to register. That is why a slightly different version of my message appears later in the group. (...) I plan to keep the idle task, now that I understand (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Idle process
 
(...) The idle task actually has the lowest priority in my scheme, but there was some efficiency gained in making the task list loop around. If the idle task is always there, it makes for simplified code in multitasking startup if you rely on that. (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Idle process
 
Sorry this message is so late, I had to get registered for posting from my work address. (...) I, too, consider power saving to be a valuable (indispensible) feature. That is precisely the sort of thing that I feared I might be overlooking. Up 'till (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Idle process
 
(...) I, too, consider power saving to be a valuable (indispensible) feature. That is precisely the sort of thing that I feared I might be overlooking. Up 'till now, I had not worked on an embedded project which would benefit from using (...) (26 years ago, 9-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Idle process
 
Hi Lou, the sleep instruction effectively shuts down the CPU until the next interrupt occurs. Thus, the idle process conserves battery power if no task wishes to run. I consider this a worthwile feature. If you can do this without a dedicated idle (...) (26 years ago, 8-Mar-99, to lugnet.robotics.rcx.legos)
 
  Idle process
 
I am reworking parts of the task scheduler in tm.c, tm.h, et al. I notice, reading the code, that there is an idle process which runs all of the time. There is a note in tm.c; "execi needs pd_idle". It appears to use it to locate the head of the (...) (26 years ago, 7-Mar-99, to lugnet.robotics.rcx.legos)
 
  Scheduler
 
Is anybody doing work on the scheduler (tm.c et al)? I've got some ideas for a minor rewrite and don't want to collide with anybody else's efforts. -- No honest business is promoted by spam with the possible exception of Hormel. (26 years ago, 2-Mar-99, to lugnet.robotics.rcx.legos)
 
  A few notes...
 
Ha! Just completed my first LegOS program - and it only took a month! (off and on :) ) I'm going to note some things which stalled me, in the hope that they won't stall anyone else.. (1) I was trying to count how long the sensor was being pressed (...) (26 years ago, 28-Feb-99, to lugnet.robotics.rcx.legos)
 
  enhancing the motor driver
 
Hi all, I couldn't resist the urge to do something productive after taking the exam today. Dan sent me some code offering 256 levels of power, and I hacked away at it. I played around with the assembler, and here's my new version. It adheres to the (...) (26 years ago, 24-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS API documentation in PDF --- volunteer
 
(...) You're on. (26 years ago, 24-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: Anyone building a Java VM base
 
Yep, I am planning to implement a JVM for RCX, as I have a lot of knowledge on JavaCard (java running on smartcards) I am going to pursue something along the same lines, that is split classloading/verifyi.../resolving away from the executing device (...) (26 years ago, 24-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) I'm not sure I'd know what to do with it. I'd be happy to see how it looks on my system, but I think Markus is the destination you want, since he'll be the one hosting it (I assume). --Todd (26 years ago, 24-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) Thank you Todd. I'll work on it tonight and email the pdf back to you sometime tomorrow. (...) (26 years ago, 24-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) Hmm... Well, I think it was only earlier today that Markus officially gave his blessing on conversions to other formats (not that we thought he wouldn't, but it seems fair to wait and see for sure). So going by what Markus wrote here: (URL) (...) (26 years ago, 24-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
Well, I've waited and waited, but nobody has volunteered to send me the existing docs to convert to PDF. I'm afraid I don't have the facilities myself to download the entire documentation tree at the LegOS site. I thought that freely offering my (...) (26 years ago, 24-Feb-99, to lugnet.robotics.rcx.legos)
 
  Enhancing the motor driver
 
Hi, does somebody feel up to renovating the motor driver? We have discussed a new PCM scheme earlier on the lego-robotics list, it's just a question of implementing it. This will require changes to direct_motor.c and direct_motor.h and a little (...) (26 years ago, 23-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
It's Doxygen. (URL) doc++ is also a viable alternative, but I've used doxygen before in Qt-based projects, where it is clearly superior. (26 years ago, 23-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: Anyone building a Java VM based on legOS?
 
At least as far as CE is concerned, you need at least 8Mo to run a java VM. This is due to the size of the classes however. On the other hand there are smartcards which have an embedded VM cf: (URL) believe the VM can probably develloped but the (...) (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) online (...) modem-dialup (...) US$20- (...) hourly-metered (...) 6 (...) pretty (...) The problem isn't the ISP but the phone charge. And the speed of the transatlantic connection at peak hour (like when you are home to dial). Also you still (...) (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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