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 / 359
358  |  360
Subject: 
RE: Finally able to add asm forth words.
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Mon, 22 May 2000 01:50:44 GMT
Viewed: 
4308 times
  
Steve Morris wrote:

> Yeah!! After lots of reading and study and experimentation
> and suggestions from Ralph I finally added a new word to the
> .asm files. It was a simple word. I just cloned DUP under a
> different name. But it works. Now I am truely turned to the
> dark side. The force is strong with me.

As they say (with a striaght face in the original C library) "Use
the fork, Luke" I hope you didn't find the M4 stuff too much of a
brain-bender. I'd be hard pressed to tell you how it works anymore...

> My final problem was figuring out what the LEX parameter was to
> M_CODE. Ralph... any idea why it is called LEX? Length something
> OK, but why "X"?

Ummm, because the original hForth that worked under MASM for the 8086
used LEX. Like all good programmers, I try not to change stuff unless
there's a good reason, plus I'm lazy.

> Anyway serial interrupts here I come.

Excellent!!! I look forward to your help, and I'm happy to integrate
it into the source with due credit. I prefer one distribution point,
my website. It helps avoid the proliferation of varaints that killed
Forth in the first place!

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 1 Reply:
  Re: Finally able to add asm forth words.
 
(...) It puzzled me for quite a while until I realized that the output was in pbforth.s. Once I saw the results it was much easier. (...) I agree. I have no interest in supporting a varient. I'll hack until it seems to work and then pass it to you (...) (26 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  Finally able to add asm forth words.
 
Yeah!! After lots of reading and study and experimentation and suggestions from Ralph I finally added a new word to the .asm files. It was a simple word. I just cloned DUP under a different name. But it works. Now I am truely turned to the dark (...) (26 years ago, 22-May-00, to lugnet.robotics.rcx.pbforth)

5 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
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR