 | | 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)
|
| |
 | | Small but useful change to firmdl.c
|
|
Further moping though the ROM image revealed that the address in the start firmware download message is really the firmware entry point. I modified firmdl.c to take this into account. If an entry point is stored in the s-record file, firmdl.c uses (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | RE: legOS ... really a stack question
|
|
(...) .bss also contains global data initialized to 0, which is even worse if it's not cleared. -Allen -- Did you check the web site first?: (URL) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | Re: legOS ... really a stack question
|
|
(...) All off-chip accesses to f000 or higher are memory mapped to the motors. Because accesses to addresses above fb7f are all on-chip or invalid, the motors are effectively memory mapped to f000-fb7f. (...) What are your symptoms again? One (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | Re: legOS ... really a stack question
|
|
(...) Looking at my memory map, it appears that there is space for the stack in on-chip memory between fdc0 and ff7e (or thereabouts). That's just about 450 bytes. If you need more stack space than that, you'll need to move the stack to off-chip (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|
| |
 | | another question
|
|
Also, how do you switch the light sensor from reflective mode to ambient mode? I suspect that the LED is what's already run down my batteries, and I don't read reflected light, I read ambient light anyway. -- +---...---] | Ickna / Nick H. | (URL) (...) (28 years ago, 2-Jan-99, to lugnet.robotics)
|