 | | Re: External power supply ?
|
|
(...) Right. But that's not what I was asking or suggesting. The idea was...elave the RCX2.0 as is on batteries. Run some other devices off of whatever power source, but control that power source via program logic from the RCX. The RCX could run (...) (22 years ago, 20-Jan-04, to lugnet.robotics)
|
|
 | | Re: BrickOS Assembler
|
|
(...) Oh, I see. That's nifty. So a 'volatile' keyword ensures that it's reloaded every time? (...) Which doc is this? The only ones I have are the BrickOS command reference (it's a shorter HTML one), and the software manual from Hitachi. (...) (...) (22 years ago, 20-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: how to get vision command update for win XP and win 2000
|
|
(...) Hello, I found this on the internet: (URL) it helps, Ruth (22 years ago, 20-Jan-04, to lugnet.robotics.vc)
|
|
 | | Re: BrickOS Assembler
|
|
(...) Glad to help! (...) However, it *does* work for bytes... See the program below. In your example program, you declared the "total" variable as an unsigned short (which is a 16-bit word), but accessed it using an 8-bit move instruction. Instead, (...) (22 years ago, 20-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: BrickOS Assembler
|
|
(...) PERFECT. That was exactly what I was looking for. Clearly, the @_variablename method only works for words and not bytes. This had been my problem. Thanks very much. And thanks to everyone else who contributed too... I'm just a sucker for the (...) (22 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: BrickOS Assembler
|
|
(...) One more answer... :-) Mark #include <unistd.h> #include <conio.h> int x = 10; int y = 5; int z; int main() { __asm__(" mov @_x,r0 mov @_y,r1 add r1,r0 mov r0,@_z "); lcd_int(z); msleep(5); return 0; } (22 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | RIS 2.0 USB Tower freezing on XP
|
|
Yippee Windows XP Pro / Mindstorm / USB Tower freezing system problem resolved. Commenced my frustrating journey on 15th October 2003, resolved 17th January 2004 ! My system specifically - Intel Pentium 4 CPU 2.4GHz (Intel D865PERL Hyperthreading (...) (22 years ago, 19-Jan-04, to lugnet.robotics)
|
|
 | | Re: BrickOS Assembler
|
|
(...) In rethinking I think that compiling with the -S option will do what you want. It should create a file with a .s suffix. -S makes the compiler compile, but not assemble. Kevin "YOU ARE A GENIUS!!!!!! you can put that in your sig file!!!" Chris (...) (22 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: BrickOS Assembler
|
|
(...) I recommend compiling with the -gstabs+ option (by modifying the makefile). After your .lx file is generated use "h8300-hms-objdump --disassemble-all --source > my.lst" to get a disassembled file with the C source intermixed.into the file (...) (22 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: BrickOS Assembler
|
|
(...) Hi Mike, Check out the source for memcpy.c in the C library. It's not immediately clear, but the directives at the end of the __asm__ section beginning with "r" associate the %n macros with the given variables. I'm not sure of the exact syntax (...) (22 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: BrickOS Assembler
|
|
(...) I need to access elements of a 2d array. I don't think this is an option for that. Nevertheless, could you post code that demonstrates this? (...) How do I do that? (...) ??? (...) Hmm... this sounds more like what I'm trying to do. Someone? (...) (22 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: Where can I find Ultimate Builders Set?
|
|
(...) I have found a person in Norway that might be able to help me. Thanks for your help! I am really impressed with the fast responses and interest that everybody shows in this forum.Great community! Best Regards, Ruth (22 years ago, 18-Jan-04, to lugnet.robotics)
|
|
 | | Re: BrickOS Assembler
|
|
Hi, Michael. I had some trouble with getting variables into registers, as well. I can think of three ways: 1) Pass the variable to a function - the first function argument seems to be r0. You can easily experiment with this by inspecting the (...) (22 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
|
|
 | | Re: Where can I find Ultimate Builders Set?
|
|
(...) Hello Øyvind, Could you please send me the prices for both sets (3801 and vision command) plus shipping costs from Norway? Thanks in advance for your help, Ruth (22 years ago, 18-Jan-04, to lugnet.robotics)
|
|
 | | Re: HELLO?!, LEGO CO. ! was: Will the educational arm of Technic & Mindstorms continue?
|
|
(...) Probobly the ill-fated Movie Maker set (remember, they had to pay $$$ to Logitec for the camera and also $$$ to Speilberg to use his name) and such like will also disappear. (22 years ago, 18-Jan-04, to lugnet.dear-lego, lugnet.robotics, lugnet.general, lugnet.technic)
|
|
 | | Re: Robo Waiter - a BrickFest PDX Robot competition
|
|
(...) As Steve pointed out, (Thanks Steve!) the starting line will not be something that your robot will really be able to notice. I'll use a thin red line, which your light sensor probably won't be able to detect. But us humans can see it easily (...) (22 years ago, 18-Jan-04, to lugnet.robotics.events)
|
|
 | | Re: vision command/macintosh question
|
|
(...) Hi. I don't know anything about the mac questions, but assuming this question is actually related to the competition which I announced (and which your post was in reply to) perhaps I might point out that the competition rules say you can only (...) (22 years ago, 18-Jan-04, to lugnet.robotics)
|
|
 | | RE: What's Mindstorms Futures? or Re: How Many Mindstorms Have Been Sold?
|
|
(...) A lower price would help a great deal. Who wants to dish out $200 for something when you could just as easily buy the individual motors, sensors, etc and then a BASIC Stamp from Parallax and use that. (...) Some of that would be useful like (...) (22 years ago, 18-Jan-04, to lugnet.robotics)
|
|
 | | Re: how to get vision command update for win XP and win 2000
|
|
I am having the same problem on Win2K, but even worst is that I am living in asia, the LEGO branch here, told me that they does not help to order anything for individuals... Any place I can download it? "chrismaker" <chrismaker@noos.fr> (...) (22 years ago, 18-Jan-04, to lugnet.robotics.vc)
|
|
 | | Re: Ultrasonic Sensor
|
|
(...) In my experience, the loss of "headroom" when using rechargeable batteries can cause serious problems for active sensors. They run from a current limited copy of the battery voltage when in the power phase of the active sensor interface mode. (...) (22 years ago, 18-Jan-04, to lugnet.robotics)
|