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 / 401
400  |  402
Subject: 
RCX-enhanced egcs
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 19 Oct 1999 20:35:52 GMT
Viewed: 
764 times
  
Hello,

I just posted the final RCX interrupt handling patch for egcs. There is
no need for wrappers anymore. Interrupt handlers can be declared like
this now:

void handler() __attribute__((rcx_interrupt));

void handler() {
  // do stuff
}

For a leaf handler, the directive will push r0..r5 as needed. For a
handler that calls other functions, r0..r3 are always saved and r4..r5
saved on-demand. r6 is saved by ROM. In order to take handle
non-modified compilers as well, your code can check the pre-defined
symbol CONF_RCX_COMPILER.

Also, a new binary distribution of the tool chain for Linux/glibc is
available now. It incorporates the patch. Due to the usage of shared
libraries and symlinks, it is down to 1.2 MB now.

Files at http://www.noga.de/legOS/

Ciao,

Markus.

--
"Nieder mit den Zitaten!" -Markus L. Noga <markus@noga.de>



Message has 1 Reply:
  Re: RCX-enhanced egcs
 
I just downloaded the new rcx tools, unfotunately the gcc dies (segmentation fault, even if I run the gcc only (with no parameters). any ideas what's going on? does it require glibc2.1? any settings? TIA erik (...) (25 years ago, 4-Nov-99, to lugnet.robotics.rcx.legos)

2 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