Subject:
|
Re: Finally able to add asm forth words.
|
Newsgroups:
|
lugnet.robotics.rcx.pbforth
|
Date:
|
Mon, 22 May 2000 12:26:03 GMT
|
Reply-To:
|
sjm@judgement.com%spamcake%
|
Viewed:
|
1536 times
|
| |
| |
Ralph Hempel wrote:
> 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...
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.
> 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!
I agree. I have no interest in supporting a varient. I'll hack until
it seems to work and then pass it to you (via this group) for comments
and final inclusion. Since you will be stuck supporting the result :-)
you will hack it up till it makes sense to you or throw it away
and start over or totally ignore it. Credit is not important to me.
I release this kind of work into the public domain with no license
requirements at all. The point is to give back a little in minor
compensation for what I have gotten. This RCX is a much more
entertaining toy thanks to you, Dave Baum, Markus Noga, Kekoa
Proudfoot and many others. I am greatly appreciative.
To make it easier to keep track I am making a new file serial.asm which
is included at the bottom of h8hforth.asm just before pbforth.asm. For
debugging I will make my own versions of RX@ and RX? with new names.
This means it comes up with old serial code working allowing me to
define normal debug words before breaking things. Then a new init word
of mine installs the interrupt handler and turns on interrupts.
Since I am not touching TX interrupts 9maybe later) I still have TX!
for debug.
By the way my primary tool for creating the assembler is write the
first pass in C and use gcc -S. My primary source of inspiration is
lnp-logical.c although I have to take care to extract rx from tx. For
example I follow lnp-logical.c's lead on figuring out about where the
interrupt vectors are redirected by the ROM.
|
|
Message has 1 Reply:
Message is in Reply To:
| | RE: Finally able to add asm forth words.
|
| (...) 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... (...) Ummm, because the original hForth (...) (25 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
|
|
|
|