To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 158
157  |  159
Subject: 
RE: fast firmware downloader
Newsgroups: 
lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth
Date: 
Sat, 30 Oct 1999 22:36:40 GMT
Viewed: 
12 times
  
I'll start by pulling the 4x code into the NQC source base.  That should
make it trivial to build a stand-alone command line based downloader for
Win32 (95/nt/98), Linux, Solaris, and Mac 68k/ppc under MPW.  We could
also get Win3.1 and DOS covered if someone could supply the necessary
serial port code (there's a single class that implements all serial I/O -
port the class and you're in business).

I'm willing to cover the DOS port since I'm working on a DOS->RCX comm project
already.  I already have my HP LX200 doing minimal comm with the RCX with hopes
of having it ride alongside as a computational component.

-Wes Matchett

Wes and Dave,

I pulled out an ancient copy of Turbo C++ 3.0 for DOS. It compiles most of
the code but chokes on the >8 character file names. I might have to try
Microsoft VC++ next....to make a DOS executable.

I also found a DOS C Comm library that could probably be converted to
C++ pretty easily.

I wonder if it is OK to change the filenames to 8.3? I know that DOS has its
limits, and it's probably not worth converting to it, but it occurs
to me that a DOS executable would work under WIN3.1 and Win9x as well.
I think even Linux runs old DOS executables, right?

Since NQC is a console app anyways, it might make it really easy to support
all platforms by simply supporting DOS...right?

Cheers,

Ralph Hempel - P.Eng

--------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbFORTH>
--------------------------------------------------------
Reply to:      rhempel at bmts dot com
--------------------------------------------------------



Message has 2 Replies:
  RE: fast firmware downloader
 
(...) Yeah. Not sure about the hardware interface, though. Would it be possible to run the DOS executable to generate a binary and then download it otherwise? I too am not sure what this whole discussion is about- if it is just NQC, then it is (...) (25 years ago, 30-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
  Re: fast firmware downloader
 
I hate to admit it, but the version of Turbo C++ I just pulled out is 1.00. I departed from the Borland compiler shortly after acquiring this version and did not keep up with advances. Would I gain any advantages by finding a later version, or (...) (25 years ago, 31-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  Re: fast firmware downloader
 
(...) Wes, A good place to start with the porting is to grab the latest NQC source code from www.enteract.com/~dbaum/nqc and take a look at the family of PSerial classes in the platform directory. Create a new class (e.g. PSerial_dos) that (...) (25 years ago, 30-Oct-99, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)

19 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