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 / *59 (-59)
  Re: Debugging
 
(...) However, last night, I wrote a brute force (spin loop) msleep which works fine in the scheduler. I found that 800 iterations of an empty for loop with a 16 bit index comes pretty close to 1ms. Granted, I cheated a little, knowing that the (...) (26 years ago, 17-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Debugging
 
(...) Oh, you're doing stuff inside the scheduler. Yeah, msleep doesn't work too well there :-) Yes, the pauses were only so I could see what was going on. Another thing you could do is print messages out the IR port; but I'm not sure how it would (...) (26 years ago, 17-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Debugging
 
(...) I don't think it does. Of course, the source would answer definitively, but I also know that until I remembered to put the refreshes in there, I didn't get useful output. (...) I did that too. In my case, the lower byte was the priority (...) (26 years ago, 16-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Debugging
 
(...) That's the method I've used. Just be sure to put an lcd_refresh() after the cputw() call - I can't remember if cputw() does the lcd_refresh() or not. Another thing I've done is write out a number where the upper byte indicates a position in (...) (26 years ago, 16-Mar-99, to lugnet.robotics.rcx.legos)
 
  RE: H8300 Stack and SLEEP
 
Kekoa wrote: <<snipped original description of problem>> (...) <<snipped description of tests>> Once again, Kekoa goes the extra mile and proves what many of us are happy to be merely confident about. Someday, I'd like to be reincarnated as a grad (...) (26 years ago, 16-Mar-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.pbforth, lugnet.robotics)
 
  Re: FW: H8300 Stack and SLEEP
 
(...) To be more precise, it applies to sleep mode and software standby mode as long as you set port 5 bit 2 to high before activating either mode. It does not apply to hardware standby mode, since that does not save registers or end with an (...) (26 years ago, 16-Mar-99, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx.pbforth)
 
  Re: H8300 Stack and SLEEP
 
(...) After talking with Ralph over the weekend, I suggested a test he might do to figure out if port 5 bit 2 really does what he suggested it might. I don't think he did this test, so I fired up my RCX and hacked it together. I verified that port 5 (...) (26 years ago, 16-Mar-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.pbforth, lugnet.robotics)
 
  Debugging
 
Do you guys have an established mechanism for debugging? I'm thinking of writing certain numbers to the display using cputw(). The idea being that the number frozen forever on the display will be the (approximately) last place the code was ok before (...) (26 years ago, 15-Mar-99, to lugnet.robotics.rcx.legos)
 
  Program Wanted
 
Does anyone have a program for the Recycler robot? Please help! Adamski _______ <adamski2000@adamski...rve.co.uk> (26 years ago, 15-Mar-99, to lugnet.robotics, lugnet.robotics.rcx.legos)
 
  FW: H8300 Stack and SLEEP
 
(...) Markus, (and anyone else listening) I think it applies to the RCX power_shutdown() function as described in Kekoa's reference. The key is that this function puts the external RAM into low-power mode. If you are not calling power_shutdown() or (...) (26 years ago, 15-Mar-99, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx.pbforth)
 
  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)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) Well what about ONE html file. Nobody ever said you had to fragment html files. Or whatabout a group but zipped or tar.gzed (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
Well as long as there is an html version I don't care. I still think pdf is a pain to read because it doesn't scroll well. (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
Hello. The API documentation tool I use can generate HTML, LaTeX and manpages. Unless Dimiti expands its capabilities to also generate PDF - or somebody points me to a better tool and volunteers to convert the sources that exist already - HTML (...) (26 years ago, 23-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: Anyone building a Java VM based on legOS?
 
I would be concerned about memory usage. The current Palm machines have one and two megabytes of RAM, the CE machines even more. That's a lot more than the 32kB the RCX 1.0 has (though if you think about it, for the price, compared to the palm (...) (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
Thanks, Todd, I think you have (hopefully) circumvented the "I hate pdf" and "HTML sucks" threads that were cranking up in response to this... -- SeeYa ! ---...--- Jim ---...--- Hello... Is this thing on ? Todd Lehman wrote in message ... (...) (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
I like the pdf format. I have no trouble reading it either on my laptop (800X600) or on this machine (1280X1024). I use the "fit width" option, and have never seen the text be "too small" in either case. It is becoming commonplace in the industry, I (...) (26 years ago, 22-Feb-99, to lugnet.robotics.rcx.legos)
 
  Anyone building a Java VM based on legOS?
 
I've been noticing a lot of activity lately creating java virtual machines on micro contollers. Is anyone using legOS as the basis for an h8/300 java vm? Something like waba, (URL) be a nice programming environment for the RCX. -rick (26 years ago, 21-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) (smile) I never should have written "either ... or" above. =:*) Certainly, since there is demand for both PDF and HTML forms of the docs, and since the HTML form will just happen no matter what, and MarkT has offered to create the PDF form (...) (26 years ago, 21-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) PDP-11? FreeBSD, Solaris, XENIX, other flavors of Unix? NT, presumably. Win 3.1? DOS? Apple ]['s? Just some off-the-top of my head paltforms, that i somehow doubt are _all_ supported... Jasper (26 years ago, 21-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) True, but there are freely available PDF generators (htmldoc coming to mind most readily). Adobe Distiller is the one supplied with the commercial version of Adobe Acrobat. (...) (26 years ago, 21-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) a web site. So (...) subtree at the (...) This is exactly the reason I would prefer a PDF version of the document. You can get the entire document in one shot. For printing, I like PDF much better than TeX. It has free viewers for Macs, (...) (26 years ago, 21-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) Well I think you got a point I missed there, PDF is not free (compared to html) although the viewer is, adobe acrobat definitely is not. (26 years ago, 21-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
Mark Tarrabain a écrit dans le message <36CE02AF.8C000243@l....bc.ca>... (...) super- (...) considerably (...) less-than not when compressed (...) document (...) slightly you can always have one html file (...) Reader is (...) name I agree with the (...) (26 years ago, 21-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
It definitely needs to be portable! (...) please no PDF, it is portable but a pain to read on a screen and I've always thought that it was easier to read api documentation on your computer screen since this is were you work (...) one) Also if you (...) (26 years ago, 21-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) I _can_ read PDF files, but I would discourage making it the form that docs are released in. I find reading PDFs to be a painful experience. My display is only 1024x768, and at that resolution, reading the output of any page description (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) Unfortunately, I don't have any facilities to download the entire contents of a web site. So I would rquire somebody to tar and gzip the html files in the documentation subtree at the legos site and send it to me for conversion. (Now before I (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: PDF (was Re: legOS docs - what do people want?)
 
(...) Ahh, but this specialized newsgroup -is- for cluttering up :) with comments of that nature -- as long as things remain on-topic to legOS and still helpful to Markus and comrades. (...) It costs money? Bummer. So only the viewer is free then? (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) I have linux and Win NT, but my linux machine is not always available, so I would like to be able to build legOS on my NT machine. (...) Dave Madden once told me that he was working on some scripts and docs to show how to install egcs and (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  PDF (was Re: legOS docs - what do people want?)
 
More than a few people have emailed me already telling me that PDF is not the way to go because it will limit who can contribute to it (thank you to those people, by the way, for keeping such comments to email rather than cluttering the newsgroup (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
In this vein, what is the distribution of OS's people are using (or attempting to use) with legOS? Personally I am a linux user and feel comfortable explaining that. As for Windows 95/98/NT it might be better if someone who uses legOS on those (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
Mark Tarrabain wrote in message <36CE02AF.8C000243@l....bc.ca>... (...) Yes this is a brilliant Idea! I agree. LINC (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) really good (...) I wholeheartedly agree! I've downloaded and installed the egcs binaries but could never get LegOS to compile because of my path environment as well as numerous other issues. I also concur that PDF would be a more desirable (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) I'd vote for PDF over HTML. For one thing, a PDF document will be considerably smaller in size than an equivalent HTML document. HTML also has the less-than desirable characteristic (in my opinion) of "fragmenting" a hypertext document across (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) I would like to see a high level overview, api documentation similar to that created by doxygen, and then examples of usage for each call. (...) HTML works well. The MS Win32 API documentation is a good example for an API documentation layout. (...) (26 years ago, 19-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
Dwayne Jacques Fontenot wrote in message ... (...) well I was planning on lurking here for a while and try some of my "newsgroup osmotic learning", but since you asked :) I would be looking for: "getting the very interested (and capable) beginner (...) (26 years ago, 19-Feb-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS docs - what do people want?
 
(...) I think it would be coolest (and most helpful) if the docs were in a super- portable format, either PDF or, heck, just darn plain old HTML. HTML would be great because it could easily go on the CD-ROM (if there is one) for Jonathan's O'Reilly (...) (26 years ago, 20-Feb-99, to lugnet.robotics.rcx.legos)
 
  legOS docs - what do people want?
 
hello, I am a logOS documentation volunteer, and I am curious as to what type of documentation the user community would like to see. What level of detail is required? What standard format should be used? How about usage examples of the various (...) (26 years ago, 19-Feb-99, to lugnet.robotics.rcx.legos)
 
  ------( Terms of use for lugnet.com )------
 
TERMS OF USE FOR LUGNET.COM OVERVIEW AND DEFINITIONS lugnet.com ("LUGNET") is a privately owned Internet site designed and run primarily for the benefit of those who enjoy building with, discussing, collecting, buying & selling, trading, and (...) (26 years ago, 19-Feb-99, to lugnet.robotics.rcx.legos)
 
  ------( Welcome to lugnet.robotics.rcx.legos )------
 
Welcome to lugnet.robotics.rcx.legos, a LUGNET discussion group. CHARTER/PURPOSE: lugnet.robotics.rcx.legos (group): Focused discussion group for legOS, an unofficial replacement firmware package for the LEGO® MINDSTORMS™ RIS: in-depth technical (...) (26 years ago, 19-Feb-99, to lugnet.robotics.rcx.legos)


Redisplay Messages:  All | Compact

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