To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / Search Results: Mac BrickOS
 Results 501 – 520 of 789.
Search took 0.00 CPU seconds. 

Messages:  Full | Brief | Compact
Sort:  Prefer Newer | Prefer Older | Best Match

  Re: The BrickOS Task Manager
 
(...) Thank you again for the help, but unfortunately it only compiles when saved as a '.c' file. Some of my code depends pretty heavily on classes... is there any easy change to make this work as object oriented code? *just spent two hours trying (...) (21 years ago, 12-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.231)

  Re: The BrickOS Task Manager
 
(...) Were you able to compile it as is? What are you trying to do? What errors are you getting? I tested that with version xx.09, not the latest one. Steve (21 years ago, 13-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.231)

  Re: The BrickOS Task Manager
 
(...) When saved as multi.c, but not when saved as multi.cpp (...) Start multiple tasks within a program that uses objects. I could rewrite a number of parts to use structs instead, but I just wanted to check that there wasn't some easy solution. (...) (21 years ago, 13-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.231)

  Re: The BrickOS Task Manager
 
(...) C++ is more particular with types than regular ol' C. However, I think BrickOS's definition of NULL in mem.h is incorrect (as this was causing one of the problems in the execi call). IMO, it should be defined like so: #ifdef __cplusplus (...) (21 years ago, 13-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.231)

  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)
 

brickos
(score: 1.231)

  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.231)

  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.231)

  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.231)

  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.231)

  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.231)

  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.231)

  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
(score: 1.231)

  Motor Display
 
For some silly reason, I was browsing through the BrickOS code and I noticed this: void motor_a_dir(MotorDirection dir) { dm_a.dir = dm_a_pattern[dir]; dlcd_hide(LCD_A_LEFT); dlcd_hide(LCD_A_RIGHT); if (dir == fwd || dir == brake) (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.230)

  NEWBIE question : installing BrickOS
 
HI, preface, I wouldn't know a cygwin from a GCC if it him me in the head. I just want to D/L a .c prg into my RCX I need advice on the process of installing BrickOS on a p233 laptop running W98se. my question is this: What is a reasonable amount (...) (21 years ago, 16-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.230)

  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)
 

brickos
(score: 1.230)

  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)
 

brickos
(score: 1.230)

  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 (...) (21 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.230)

  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 (...) (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.230)

  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)
 

brickos
(score: 1.230)

  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 (...) (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
 

brickos
(score: 1.230)

More:  Next Page >>


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