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 / 284
283  |  285
Subject: 
Re: Checksum download of text to RCX
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Mon, 3 Apr 2000 08:53:28 GMT
Viewed: 
2431 times
  
2) PBX (=PBforth Xfer) uses its own buffer, pbx.buf. I would like to use the
TIB instead to conserve memory. This feels allowable because both ACCEPT and

Using the TIB is fine, since only one channel can be active at a time. It • would
be best if PBX-RECEIVE could filter lines with/without sums. Maybe a special
leadin char to indicate the line needs a checksum?

Can do... Currently a line is transmitted as <text>NL<checksum>, so a
checksummed line can already be distinguished from a non-checksummed,
CR-terminated line. Adding a line header (any objections against STX?) is
more failsafe, of course.

And, when ACCEPT handles both checksummed and non-checksummed lines, this also
removes the need for an ETX, as the protocol terminates automatically after
every line. So the user interrupt problem is removed, too.

Ernst



Message is in Reply To:
  RE: Checksum download of text to RCX
 
(...) This is a neat idea, Ernst. I think it would be a good addition to the pbForth system if we can allow the user to use it for text uploads and then switch to normal mode for interactive use. (...) I'll have to think about this a bit.. (...) (...) (25 years ago, 2-Apr-00, to lugnet.robotics.rcx.pbforth)

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