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 / 1486
1485  |  1487
Subject: 
Re: text location for apps and q?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 26 Oct 2000 22:03:33 GMT
Viewed: 
1320 times
  
In lugnet.robotics.rcx.legos, Imel Sayang writes:

that's what i've been doing right now. currently, legos uses conio
which i've used long time ago. so i work on interface like linux has.
like using open() + write() instead of cputs().
right now, i don't have open(), that's because i have to write code
for virtual filesystem first.
i haven't investigate deeper on legos, i'm still figuring out how
to do fork(). what do you think?

i also don't understand why some functions (like cls()) are in the
kernel instead of the libc?
i'll send you diff if you like.

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

But if you get anything going, you should probably create patch files which can
be posted on the sourceforge site for anyone interested.

Regards,

ROSCO



Message has 2 Replies:
  Re: text location for apps and q?
 
Yeah. I have to agree with Ross. Increased unix-ness would be nice, but additional complexity with no actual performance gain most definitely is not. That said, like the remote patch that I'll post sometime this weekend, I'll take patches for (...) (24 years ago, 26-Oct-00, to lugnet.robotics.rcx.legos)
  Re: text location for apps and q?
 
(...) 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 (...) (24 years ago, 27-Oct-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: text location for apps and q?
 
(...) when i remove -O from my Makefile the kernel grew bigger, and crossed 0xb000, so i changed it accordingly, and that didn't work. so i guess there is 16k limitation for kernel and user program. (...) too bad, but there's not much to work on (...) (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