Subject:
|
Re: text location for apps and q?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 26 Oct 2000 14:48:44 GMT
|
Viewed:
|
1392 times
|
| |
| |
On Thu, 26 Oct 2000, imel sayang wrote:
> 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 just have to ask why you're doing this, just for the heck of it? I mean,
the output device you're writing two can hold a whopping five characters
at a time. I don't really see the benefit of changing to a more
complicated interface. Of course, if you're just having fun or have a good
reason, by all means enjoy and good luck. :)
Fork might be interesting, but it seems like starting another thread would
be simpler and take less memory.
--
"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 has 2 Replies: | | Re: text location for apps and q?
|
| (...) You can't implement a true fork() anyway, since you don't have memory management and therefore can't copy the address space of the parent process. John A. Tamplin LiveOnTheNet.COM, Inc. jat@LiveOnTheNet.COM 2104 West Ferry Way 256/705-7007 - (...) (24 years ago, 26-Oct-00, to lugnet.robotics.rcx.legos)
| | | 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)
|
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
|
|
|
|