Subject:
|
FW: Window CE Support for the Mindstorm Unit
|
Newsgroups:
|
lugnet.robotics.rcx.pbforth
|
Date:
|
Fri, 19 Nov 1999 19:45:59 GMT
|
Viewed:
|
1498 times
|
| |
| |
-----Original Message-----
From: Stalker-Wilde, Graham [mailto:graham.stalker-wilde@csfb.com]
Sent: Friday, November 19, 1999 2:30 PM
To: 'Ralph Hempel'
Subject: RE: Window CE Support for the Mindstorm Unit
no problem. wait a minute - there is no....
No commercial use? and I was hoping to become a billionaire thru this. I
know, why not call it Forth.com, and go public? That's got to be worth at
least a couple of GECs...
(as a bit of background - I actually did entertain making money on the CE
when it came out. Unfortunately only 12 people bought CEs, so that didn't
quite pan out. My view now is that, post-web, you can't sell software.
Obviously there are billions being spent on evil, monopolistic, satanic
redmond innovation-destroying-ware (kidding) but the way it riches now is
to give away the software, and charge $20 a month to use it.)
there is one FORTH for MIPS processor CE, but nothing for SH3. I considered
hForth - since you said that was the basis for your port. I think, given the
target machine and my skill set, I'll try to port one written in C.... I'm
not just wimping out here, ASM is not generally the wisest choice on
Windows.
-g
-----Original Message-----
From: Ralph Hempel [SMTP:rhempel@bmts.com]
Sent: Friday, November 19, 1999 1:16 PM
To: Stalker-Wilde, Graham
Subject: RE: Window CE Support for the Mindstorm Unit
Graham, with your permission, I'd like to move this thread over to
lugnet.robotics.pbforth...
> Question for you. I built a scanner recently (me, and 10,000
others - but I
> don't think Xerox have to worry too much yet) which worked like
this.
>
> the RCX had an NQC line scan program, which took care of reading a
line in
> to the datalog, then inching forward, and incrementing the value
in
> Variable0. A PC app (VB with spirit.ocx) polled on Variable0, and
on change
> it sucked in the datalog, normalized it, added it to the data set,
displayed
> it and all that stuff, then it ran the program on the RCX again.
OK so far..
> How would I do this in pbFORTH? Or is it as simple as: write a PC
app that
> writes to / listens on the COM port? (the missing datalog is
obviously not a
> problem - you have variables instead!) The polling I'm unsure of.
Is there
> anything I should know about the PC<->RCX communication?
Now that Sergey Udovenko has got the XMODEM communications to work,
here's
what I'd do (off the top of my head)
1. Set up an XMODEM transfer session on the PC.
2. Start the scanner.
3. Scan a line, format the bits into bytes, and send the line
as a binary string, or formatted Srecord.
4. Repeat 3 quickly enough to keep the tower alive.
5. When done have the RCX terminate the XMODEM transfer.
> this might work well, actually - & FORTH is a good choice, since
all you're
> doing is generating text and pumping it through the port, so
learning
> bots/self-modifying code becomes fairly straightforward.
> What I also ought to do is write an RCX emulator for the CE -
porting FORTH
> to it (not avail for CE yet!) so I can write RCX apps on the
train....
There's probably a FORTH out there for your CE machine. If not,
check the
hForth application at <http://www.forth.org> in the compilers
section. It's
what I based pbForth on.
> Hmmm. What's your policy on pbFORTH source again? Would that help
me port an
> emulator to CE?
It's open for non-commercial use.
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
--------------------------------------------------------
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately
delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or
indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE
GROUP, CREDIT SUISSE FIRST BOSTON, and each of their subsidiaries each reserve the right to monitor all e-mail communications
through its networks. Any views expressed in this message are those of the individual sender, except where the message states
otherwise and the sender is authorised to state them to be the views of any such entity.
|
|
Message has 2 Replies:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|