| | Re: Further Adventures with Assembler
|
|
(...) Got it. I just converted my whole program from C++ to C, and then it stopped whining. (21 years ago, 28-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: Further Adventures with Assembler
|
|
(...) Yeah... that was me being stupid. The types are all correct in the program. I tried compiling without the .b and .w's, just to be sure and it's the same error. The arrays that cause the problem are of type const char. There's three that have (...) (21 years ago, 27-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: Further Adventures with Assembler
|
|
(...) The line above should produce an error because you are specifying a byte move into a word register. The fact that it doesn't always cause an error makes me think there's something flakey (in the assembler) in the way instruction operand sizes (...) (21 years ago, 27-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Further Adventures with Assembler
|
|
Just wanted to thank everyone again for the help on assembler. I've been very successful and managed to greatly increase the speed of a critical portion of my program. However, I'm still having a very bizarre issue: In the middle of an assember (...) (21 years ago, 27-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem wirh downloading demo program
|
|
The program "dll" attempts to delete the program in the slot on the RCX that the new program will be placed. It does this every time, because, it doesn't know if a program is there or not (better safe than sorry). The fact that you are getting this (...) (21 years ago, 26-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: problem wirh downloading demo program
|
|
(...) This error indicate that the program don't download succefully the program ... turn on RCX ;-) or see if you can acess to the right COM name or sotmething like that nanobapt (21 years ago, 26-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | problem wirh downloading demo program
|
|
Hi, I tried to download the hello-world demo-program after downloading legos for the first time. It failed with the message "delete program failed". What program should be deleted, there is none! Anne (21 years ago, 26-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: BricxCC release 3.3.7.7
|
|
(...) Unfortunately, BricxCC is still not downloading the brickOS firmware correctly. I will look into this problem and try to fix it. In the mean time, you can use firmdl3 which works correctly. John Hansen (21 years ago, 23-Jan-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
|
|
| | BricxCC release 3.3.7.7
|
|
I've released version 3.3.7.7 of BricxCC today. It adds a Spybot EEPROM tool window. It adds a new configurable watch tool window. It adds a new generic set source value tool window. It adds a hot key (F2) for the pbForth console. The position of (...) (21 years ago, 22-Jan-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
|
|
| | Re: brickOS & Cygwin with BricxCC
|
|
(...) Thanks again for testing this for me! (...) The Send Messages tool window can send any IR message from 0 to 255 to a brick. John Hansen (21 years ago, 22-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: brickOS & Cygwin with BricxCC
|
|
(...) Its true, Before John "fixed" the older OS issues, I was at my whit's end and was prepared to do damage to myself with a fork -- after unsuccessfully trying to install BrickOS.... but now, thanks to John and Bricxcc my cutlery is safely (...) (21 years ago, 22-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | brickOS & Cygwin with BricxCC
|
|
Yesterday, I replaced the two installers I have up on my bricxcc.sourceforge.net site with slightly modified versions. The new installers contain a new cross compiler which I built from 2.95.2 myself (rather than the one Hitachi provided some time (...) (21 years ago, 22-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Has anybody successfully added an RCX to 7471 Mars Rover?
|
|
Ever since I picked up the 7471 Mars Rover a few months ago, I thought it screamed out for an RCX modification. I saw a lot of discussion about the possibility, but didn't find where anybody had actually successfully done it. Now that BrickFest PDX (...) (21 years ago, 22-Jan-04, to lugnet.space, lugnet.robotics, lugnet.org.ca.rtltoronto, lugnet.robotics.rcx.legos, lugnet.org.us.smart, lugnet.org.scibrick)
|
|
| | Re: NEWBIE question : installing BrickOS
|
|
(...) Or you can just skip the make strip step entirely. All it does is reduce the size of your executables but that has no bearing whatsoever on whether they function. Try opening a DOS box, change directory (without entering the BASH shell) into (...) (21 years ago, 21-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: NEWBIE question : installing BrickOS
|
|
(...) Try make fontdesign in the util directory to build fontdesign.exe, and then do the make strip again. (21 years ago, 21-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS Assembler
|
|
(...) Volatile tells the compiler that should assume the value can change without the compiler's knowledge. So yes, it gets reloaded every time. (...) To find this stuff, you need to read through documentation for GCC. It has been a few years since (...) (21 years ago, 21-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | 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. (...) (...) (21 years ago, 20-Jan-04, to lugnet.robotics.rcx.legos)
|
|
| | 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, (...) (21 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 (...) (21 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; } (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
|