To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 3580
3579  |  3581
Subject: 
Re: NQC v. LegOS / size
Newsgroups: 
lugnet.robotics
Date: 
Sun, 7 Feb 1999 13:18:59 GMT
Original-From: 
Markus L. Noga <{noga@inrialpes.}NoMoreSpam{fr}>
Viewed: 
1510 times
  
Hi Luis,

Luis Villa wrote:
I run Linux. I sneer at "easy installation." :-)

I like your attitude ;-)

There's a new precompiled package of H8 tools for Windows around (~8MB
zipped, ~22MB installed), courtesy of Dave Madden. My precompiled
Linux/glibc package (~1.5MB gzipped, ~3.4 MB installed) is equally easy
to install and a lot smaller. This is mainly because the operating
system provides tools instead of animated icons.

legOS source and NQC binaries themselves are both neglectible in size,
as you'll see below. Notice the difference in efficiency for the
different compression algorithms. bzip2 is just included for comparison
- at the order of magnitude we're at, it's not worth the bother.

-rw-rw-r--   1 mlnoga   mlnoga      53465 Feb  7 13:53
legOS-0.1.6.tar.bz2
-rw-rw-r--   1 mlnoga   mlnoga      60060 Jan 29 14:59 legOS-0.1.6.tgz
-rw-rw-r--   1 mlnoga   mlnoga      89612 Jan 29 15:00 legOS-0.1.6.zip

-rw-rw-r--   1 mlnoga   mlnoga      53361 Dec  4 11:47
nqc_lnx_1_0_b1.tgz

Maybe Markus can answer this better, but is it full C? I got the
impression that the H8300 patch to gcc had some limitations. Am I correct in
this? If so, what are those limitations/shortcomings?

Apart from the limitations imposed by H8 architecture (an 8/16 bit
platform with the usual constraints on integer length, available memory
and library functions), there's mainly one language limitation I am
aware of.

Non-constant initialized global or static variables aren't safe to use.
Their initial values are usually written directly into the binary
program image by the compiler. On a system with normal task load
mechanism, they'd simply be reloaded for every execution, but under
legOS, their values currently won't be reset.

Other than that, happy hacking. Hashtables, red-black trees, fibonnaci
heaps - everything should be possible. Consult your favourite book on
algorithms and data structures. I recommend Cormen's.

Ciao, Markus.

--
Markus L. Noga noga@inrialpes.fr
Check out legOS! http://www.multimania.com/legos/
"He who quote merely employs his memory, not his reason." -Nietzsche


--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message has 2 Replies:
  Re: NQC v. LegOS / size
 
(...) Actually, I ran into another - you can divide by numbers that aren't powers of two. At least, I can't. There seems to be a missing assembler routine. Cheers, Ben. -- (URL) grandfather once told me that there are two kinds of people: those who (...) (26 years ago, 9-Feb-99, to lugnet.robotics)
  Re: NQC v. LegOS / size
 
(...) I can't wait for the day the stability of Linux goes coupled with the nice animated icons of win98 :) Actually - Win98 is pretty stable *ignores the cries of "Heresy! Heresy!" and explains:* Actually, I'm sad to have to say it. but for (...) (26 years ago, 9-Feb-99, to lugnet.robotics)

Message is in Reply To:
  Re: NQC v. LegOS
 
(...) I run Linux. I sneer at "easy installation." :-) (...) Maybe Markus can answer this better, but is it full C? I got the impression that the H8300 patch to gcc had some limitations. Am I correct in this? If so, what are those (...) (26 years ago, 6-Feb-99, to lugnet.robotics)

23 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
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
14 hours ago
Custom Search

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