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 / 1951
1950  |  1952
Subject: 
Re: legOS and alternate operating systems [now off topic]
Newsgroups: 
lugnet.robotics
Date: 
Thu, 31 Dec 1998 01:50:55 GMT
Original-From: 
mwalimub@aol(IHateSpam).com
Viewed: 
1166 times
  
Actually, how big the executable is depends on the compiler.  I don't do C,
but, in other compilers this is the case.  For instance, Turbo BASIC would
produce a 47Kb executable of "hello world" because it links a library of
subroutines that for the most part won't be used.  ASIC, another BASIC
compiler, writes the same program in less than 100 bytes - basically the
string "hello world <CRLF>" and a BIOS call.

My point has been that it seems that it takes an awful lot of computer
resource to program an 8 bit microcomputer.  I was just wondering if there was
a reason for this.  It appears that the reason is the overhead needed for the
overblown operating systems on our newer computers.

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



Message has 2 Replies:
  Re: legOS and alternate operating systems [now off topic]
 
(...) That is partly the compiler and partly the linker and partly the idiot that put it togeter. Personally, I would be leary of generating a direct BIOS call in the generated code, but then I would avoid BASIC anyway. Even putting the actual (...) (26 years ago, 31-Dec-98, to lugnet.robotics)
  Re: legOS and alternate operating systems [now off topic]
 
Simply enough, it DOESN'T take an awful lot of computer resource to program the RCX. You could write a very simple single target (h8) c compiler for it that would be quite small. However building a cross target binutils and egcs compiler for ANY (...) (26 years ago, 4-Jan-99, to lugnet.robotics)

3 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