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 / 1914
1913  |  1915
Subject: 
Re: Some assorted questions
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 11 Jun 2001 22:17:50 GMT
Viewed: 
3809 times
  
Jacob Potter <jacobdp@earthlink.net> writes:

>  I was reading through the sources, and I noticed that starting with
> 0.2.3, there was no dsound_play.

I don't know pre-0.2.3 versions, but now you can find it in
`include/dsound.h'.

>  Also, I was wondering (I know, I ought to read some OS design books
> first) if it was possible to NOT have to use a dynamic linker script?
> Meaning, is there a way to make it such that one does NOT have to
> recompile all the .lx files after rebuilding the kernel?

In principle it's possible, but changing the linking scheme involves too
much work, IMHO.

> The problem is that this is designed for NQC and such, where RAW means
> 0-1023, and I know that SENSOR_n has a different range. How do I convert
> SENSOR_n's value into a 0-1023 RAW value?

Use the macro `ds_scale' (in `include/dsensor.h') to get RAW (0-1023) values.

bye
Bernardo
New e-mail: dibbe@freestation.it



Message is in Reply To:
  Some assorted questions
 
Hi, all - I was reading through the sources, and I noticed that starting with 0.2.3, there was no dsound_play. Does anybody know why the 8 kHz sound playing subsystem was taken out? That was, IMHO, a way cool feature. Was it just too buggy? Also, I (...) (25 years ago, 10-Jun-01, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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