|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
| | Re: BrickOS motor port horrors
|
| (...) Me too. Without any program loaded, it seems to do funny things with the motors. But once I get a program downloaded, it works fine. The only thing that I find freaky is the different values for light sensors. There's hex percentages and dec (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, FTX)
| |
| brickos (score: 1.748) |
|
| | Re: The BrickOS Task Manager
|
| in version 2.6.1 (I've just download it) extern tid_t execi(int (*code_start) (int, char **), int argc, char **argv, priority_t priority, size_t stack_size); declare in unistd.h ! So use the tid_t and not the pid_t ! (like say ROSCO) Does anyone (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.748) |
|
| | BrickOS Assembler
|
| Okay, I'm working on a proc in ASM, and I need help with using MOV to move stuff back and forth between memory and registers. I have the following (very simple) program working, but I can't for the life of me get the MOV to work. I've got the (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.748) |
|
| | Re: Brickos fun and games!
|
| (...) I actually had this exact problem at the Hobby Show. I was in a hurry and didn't want to think about it (all I was doing was tweaking the light sensor thresh), so I just rebooted every time. Chris: I had lots of trouble too, but the final (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.legos, FTX)
| |
| brickos (score: 1.748) |
|
| | 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? (...) (21 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.748) |
|
| | 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)
| |
| brickos (score: 1.748) |
|
| | 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)
| |
| brickos (score: 1.748) |
|
| | 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)
| |
| brickos (score: 1.748) |
|
|
| brickos (score: 1.748) |
|
| | Re: brickOS & Cygwin with BricxCC
|
| Hi, I want to say thanks, too, but I have a problem: I cant't compile and download programmes to the RCX. I always get the message: Compile Failed Errors found during compilation But I can download the firmware. Does anyone has a solution? Thx Franz (...) (20 years ago, 10-Apr-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.748) |