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 / 1489
1488  |  1490
Subject: 
Re: text location for apps and q?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 27 Oct 2000 11:38:22 GMT
Viewed: 
1374 times
  
In lugnet.robotics.rcx.legos, Ross Crawford writes:

Well, as someone else has said in this thread, if you're doing it for fun, or
to learn more about memory management / file systems, etc, then got for it.
But

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.


I wouldn't expect much of it to be included in the official versions - you've
got to remember we're dealing with a relatively tiny address space, and the
extra overhead in the kernel would significantly reduce the max size of user
programs / data.

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.
but i also doing some moving for some stuff from the kernel into libc.
and just to be safe, i'm using -O instead of -O2 just to get early
warning if i cross the 16k limit.


imel



Message has 1 Reply:
  Re: text location for apps and q?
 
Hello, (...) No they don't have a separate address space. I think the limit is 19456 bytes for the kernel, and this is caused by a limitation of the ROM, which is used to download the firmware (kernel). It loads it to the address range 8000-cc00. (...) (24 years ago, 30-Oct-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: text location for apps and q?
 
(...) Well, as someone else has said in this thread, if you're doing it for fun, or to learn more about memory management / file systems, etc, then got for it. But I wouldn't expect much of it to be included in the official versions - you've got to (...) (24 years ago, 26-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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