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 / 1490
1489  |  1491
Subject: 
Re: text location for apps and q?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 27 Oct 2000 14:49:02 GMT
Viewed: 
1563 times
  
On Fri, 27 Oct 2000, imel sayang wrote:

for the output device thing, the lcd isn't the only device. sensors
and motors are also can be implemented as files.

Ok, but why? Again, if you're just having fun, go for it, but don't expect
it to be useful. Personally, the current interface is simple and highly
functional, and a change to a file paradigm would just make it more
complicated with no benefit. Having a standard interface is not a big
thing since code isn't going to port directly regardless of the interface,
and it takes only a few minutes to learn the new one.

      also for luis, it's not just about performance, it's about
      interface.
      of course there's always hack value, but it also might be useful.
      like many people would expect printf() or write() to stdout
      instead of
      cputs(). i don't think there's a better or worse interface, but
      there's a standard.

Again, overkill. You can output a grand total of five characters.

      of course, cmiiw, as noone has answered the text location thing, i
      think they have separate address space (without protection?). so
      the kernel has 16k max, and for 16k for programs. and 16k is
      surprisingly large.

There's no memory management unit, so you are correct that there is
absolutely no protection. That's one thing that makes debugging under
legOS so fun! :) The unit has 32k of memory, so the sizes make sense. You
may be correct that the program is divided into kernel and user space, but
that doesn't make a lot of sense to me. Of course there may be reasons for
it I do not know.

--
"Say not, 'I have found the truth,' but rather, 'I have found a truth.'
"Say not, 'I have found the path of the soul.' Say rather, 'I have met the
soul walking upon my path.'" -- Khalil Gibran
Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>



Message is in Reply To:
  Re: text location for apps and q?
 
(...) for the output device thing, the lcd isn't the only device. sensors and motors are also can be implemented as files. (...) well it's still just an idea, maybe the fork() will turn out as rfork(). doesn't really matter now. but see my other (...) (24 years ago, 27-Oct-00, to lugnet.robotics.rcx.legos)

13 Messages in This Thread:





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

Custom Search

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