To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *5070 (-10)
  Re: tweaking around dlcd_show( )
 
(...) Since writing this, I have set up a LegOs build environment, so had a play with it. It doesn't seem very useful the way it is written. See my bit about it below. (...) I had a bit of a go doing this as well, and since I didn't know what the (...) (23 years ago, 27-Aug-01, to lugnet.robotics.rcx.legos)
 
  Re: tweaking around dlcd_show( )
 
(...) Nope - bit_set(0xef46,0x4) will work, but not dlcd_show(0xef46,0x4), as it needs only 1 parameter. (...) Choosing the types of the struct elements is the problem - these are passed to the h8's bset instruction. First, I tried void* & char, but (...) (23 years ago, 27-Aug-01, to lugnet.robotics.rcx.legos)
 
  Re: Love the new Music capability with the new firmware!
 
(...) Use NQC for that. Wonderful 2.0 support. Dean -- Dean Husby LUGNET Member #320 TFM's LEGO Workshop - www.akasa.bc.ca/tfm The Vancouver LEGO Club - www.akasa.bc.ca/vlc/ (23 years ago, 27-Aug-01, to lugnet.robotics, lugnet.robotics.rcx.nqc)
 
  EmuLegOS support for windows
 
The subject pretty much says it all. You'll need cygwin, and then it works. There is now LNP support for EmuLegOS on windows now due to the differences in the WinLNP API and the RCX LNP API. mark (23 years ago, 26-Aug-01, to lugnet.robotics.rcx.legos)
 
  Re: RCX 2.0 Arrays
 
(...) Fixing that has been on the to-do list for a long time. But it just isn't a high priority since there are easy workarounds. Right now adding USB support is top priority. Dave Baum (23 years ago, 26-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: tweaking around dlcd_show( )
 
(...) Ooops! I obviously wasn't looking at it properly last night (only browsing through the zip file). As 'dlcd_show' is defined as a macro that takes one parameter, but uses it twice to each of BIT_OF and BYTE_OF, which in turn both take 2 (...) (23 years ago, 26-Aug-01, to lugnet.robotics.rcx.legos)
 
  Re: RCX 2.0 Arrays
 
(...) Manual? Manual! We don't need no stinking manual. Thanks, ("I guess I should read it", he says sheepishly) (23 years ago, 26-Aug-01, to lugnet.robotics.rcx.nqc)
 
  Re: RCX 2.0 Arrays
 
The NQC manual says... "Neither arrays nor their elements can be used with the increment (++) or decrement (--) operators." I guess it's not quite C :-) "Frank Caggiano" <caggiano@crystal-objects.com> wrote in message (...) (23 years ago, 25-Aug-01, to lugnet.robotics.rcx.nqc)
 
  One other thing arrays and RCX 2.0
 
NQC complains with he same error message if i do an arrray[x]++; That is I use a variable for the index rather than a constant. (23 years ago, 25-Aug-01, to lugnet.robotics.rcx.nqc)
 
  RCX 2.0 Arrays
 
I wanted to increment the value contained in an array. I did array[0]++; NQC complained: ERROR expression is not a legal target for assignment. The carrot under array[0]++ pointed to the index value, that is the 0. It seems NQC thought I was trying (...) (23 years ago, 25-Aug-01, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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