To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / *7216 (-10)
  Re: Programming the RCX in VB
 
I didn't ask that question, I answered it.... CU Bert Visit my site on Lego, Robot's and Visual Basic at (URL) bericht----- Van: Peter Hesketh <pbh@phesk.demon.co.uk> Aan: lego-robotics@crynwr.com <lego-robotics@crynwr.com> Datum: zondag 3 januari (...) (28 years ago, 3-Jan-99, to lugnet.robotics)
 
  Re: Programming the RCX in VB
 
In article <000e01be369d$acc1cc...-van-dam>, B van Dam <bvandam@westbrabant.net> writes (...) If you really mean "How do I generate a random number within VB" then click "Help" in VB and search for random. If you mean "How can RCX code generate a (...) (28 years ago, 3-Jan-99, to lugnet.robotics)
 
  RE: legOS ... really a stack question
 
(...) Good point, I will add the code to clear it to my crt0.s before calling constructors: mov.w #__bss,r2 mov.w #__end,r3 sub.b r0l,r0l cmp.w r3,r2 bhs .Lbss_done .Lmore_bss: mov.b r0l,@r2 adds #1,r2 cmp.w r3,r2 blo .Lmore_bss .Lbss_done: ... John (...) (28 years ago, 3-Jan-99, to lugnet.robotics)
 
  Re: legOS ... really a stack question
 
(...) Correct, that is where the motor driver chips live. It isn't actually RAM. (...) The _stack symbol defined by the linker is normally used by crt0 to set the initial stack pointer. In this case, the stack pointer isn't changed by legOS (...) (28 years ago, 3-Jan-99, to lugnet.robotics)
 
  Re: legOS C++ questions
 
(...) Destructors for stack-based objects get run as soon as the enclosing scope exits. If you call exit, the compiler doesn't know it needs to destroy them first. If you dynamically allocate objects, you have to destroy them yourself for the (...) (28 years ago, 3-Jan-99, to lugnet.robotics)
 
  Re: Programming the RCX in VB
 
John, here is an example how to create random numbers in VB. In the example below it will generate values between 1 and 6. The statement "Randomize" is initializing the Random Generator. The function "Rnd" is then used to get the random numbers. Dim (...) (28 years ago, 3-Jan-99, to lugnet.robotics)
 
  Off: RCX 2.0 -- ideas.
 
In article <01f401be367e$0ca56e...40d4@jr1>, jr <jr1@casema.net> writes (...) And the UK, too. We used one to automate part of the Llanwern Steelworks in 1975. But that's not the old days. Mercury delay-line RAM is the old days. (28 years ago, 2-Jan-99, to lugnet.robotics)
 
  RCX Motor controller IC
 
I tried searching for the data sheet on the RCX motor controllers. The closest fit I can find to the ELEX10402B number from the .jpg images from the (URL) site is a motor controller manufactured by Melexis, the MEX10402. The physical description (...) (28 years ago, 3-Jan-99, to lugnet.robotics)
 
  binutils problem fixed
 
Many thanks to those of you that sent a compiled copy of kmain, I was able to determine where the error was. If you are trying to run binutils on a machine that has char as an unsigned type, you will have the same problem. I remember at least one (...) (28 years ago, 3-Jan-99, to lugnet.robotics)
 
  Re: legOS errors
 
(...) It is a perl program, and as shipped it expects perl to be in /usr/bin. If you have perl installed in /usr/local/bin (for example), just change the first line to #!/usr/local/bin/perl. If you don't have perl, you will need to obtain and (...) (28 years ago, 3-Jan-99, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

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