To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 858
857  |  859
Subject: 
Re: LinuxPPC and "No response from RCX" problem
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sun, 5 Nov 2000 23:15:24 GMT
Viewed: 
2058 times
  
In article <G3JzMB.DKu@lugnet.com>, "Chris"
<chris@starforge.demon.co.uk> wrote:

In lugnet.robotics.rcx.nqc, Dave Baum writes:

This may not be a driver bug - it may be a hardware limitation.

Nope, I've written a program to send messages to the RCX (like the
send.c program on RCX Internals) for the Amiga side - I can boot
into LinuxPPC or AmigaOS - and that works fine. If I can work out
the format of the image files nqc generates I'll probably write
a program to upload them to the RCX

The format is described in rcxlib/rcxifile.h in the source distribution.

- I haven't really got time
to port the whole compiler

Assuming you have a reasonably modern C++ compiler (gcc is ideal), then
the port is rarely more complicated than creating a special subclass of
the PSerial class that works with your specific OS and hardware.  If
you're using a variant of Unix, then usually PSerial_unix.cpp is fine,
but in other cases (such as MacOS, Win32, or BeOS) a new PSerial_xxx
class needs to be created.  There really isn't much to the class....90%
it could be taken from your existing send.c program.

Having flex and bison around makes things easier, but the Makefile also
accomodates systems that don't have those tools (you simply use the .cpp
files generated by flex and bison run on my LinuxPPC box when the source
distribution was created).

If you decide to port it and run into any problems, feel free to email
me directly.

Dave

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: LinuxPPC and "No response from RCX" problem
 
(...) Thanks, I'll look at that tonight (didn't really get chance yesterday). (...) Unfortunately the versions of gcc on both my Amiga and Thinkpad (running Mandrake 7.1) bomb when trying to compile nqc: both complain that vector.h - in g++-2 on my (...) (24 years ago, 6-Nov-00, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: LinuxPPC and "No response from RCX" problem
 
(...) Nope, I've written a program to send messages to the RCX (like the send.c program on RCX Internals) for the Amiga side - I can boot into LinuxPPC or AmigaOS - and that works fine. If I can work out the format of the image files nqc generates (...) (24 years ago, 5-Nov-00, to lugnet.robotics.rcx.nqc)

11 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