2 - Forth Interest Group
2 - Forth Interest Group
2 - Forth Interest Group
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
A <strong>Forth</strong> Story<br />
Allen Cekorich<br />
Walnut Creek, California<br />
In 1975, I was fresh out of college with a bachelors<br />
degree in physics and a need to find a job that paid enough<br />
to support myself. After a six-month search, I landed an<br />
entry-level position at MDH Industries in Monrovia, Cali-<br />
fornia, where they promised to increase my minimum<br />
wage starting salary once I proved myself useful. I was to<br />
work with the president and owner, Dr. Howard Marshall,<br />
Ph.D., on a project to develop an instrument to measure<br />
the real-time sulfur content of a coal stream by detecting<br />
and analyzing the prompt gamma ray spectrum resulting<br />
from the absorption of thermal neutrons from a Cali-<br />
fornium 252 radioactive source. The opportunity sounded<br />
exciting to my naive ears, as it was my first professional<br />
job. I was finally in the real work world of adults and ready<br />
to go on to do great things. Remember, this was twenty<br />
years ago and I was only twenty-two years old. I had no<br />
previous experience to guide me in the situation I was in,<br />
no mentor to teach me, no helping hand and no idea of<br />
where to begin or what to do. Like most good engineers,<br />
I decided to fake it until I understood my value.<br />
- progress toward a controller began.<br />
-<br />
I was preoccupied with designing the sulfur meter<br />
I I him the device / based on my Fortran simulation. but the natural need to<br />
I not - be - - ~roarammed in <strong>Forth</strong><br />
I-<br />
I<br />
--<br />
Why would I say such a thing?<br />
It came to pass by the natural events of the develop-<br />
ment process that construction of a sulfur meter prototype<br />
was to take place. Howard Marshall had earned his<br />
doctorate in physics from the California Institute of Tech-<br />
nology, which is very much in bed with the Jet Propulsion<br />
Laboratory in Pasadena. His contacts encouraged a com-<br />
puter-based instrument and recommended a strange lan-<br />
guage called <strong>Forth</strong> that was floating around the lab. They<br />
convinced him it was possible to build a small, Z80-based<br />
controller that could acquire the spectrum from the<br />
sodium iodide detector and maintain real-time signal-<br />
processing rates to compute the actual sulfur content.<br />
Somehow, outside my area of responsibility, an S100-bus<br />
system showed up from the Empirical Research <strong>Group</strong>. My<br />
electrical engineer office mate had been assigned the task<br />
of fooling around with it for development purposes, but<br />
no progress seemed to ever be at hand. After some time<br />
had passed, a fellow named Martin Smith showed up from<br />
the Cal Tech network. He brought with him a <strong>Forth</strong><br />
running on a Monolithic 280-based multibus system, and<br />
verify the model from real data taken from the prototype<br />
was growing important. With the help of Marty, I started<br />
playing with the <strong>Forth</strong> computer. This was the first time in<br />
my life that I had actual, physical contact with a computer.<br />
I spent the first Year or So understanding the design<br />
parameters of a Sulfur meter, which involved creating a<br />
computer model on a T~mshare IBM 370 System accessed<br />
with a teletype terminal at the fantastic rate of 30 characters<br />
Per second. This was a revolution from the punch<br />
cards I had used in college on a CDC 3150 that could be<br />
viewed through a glass window in the foyer of the<br />
computer department. MY degree in physics mandated<br />
that the modeling language would be Fortran, and I<br />
naturally enjoyed programming, which was probably<br />
related to my ability and love for mathematics. I had<br />
completed the coursework for a degree in mathematics<br />
with a 4.0 average in college. I was proud of the growing<br />
complexity and depth of my simulation, which was now<br />
consuming hours of computer time during the night hours<br />
when the cost was lowest.<br />
Those big, eight-inch Shugart floppy drives that held a<br />
whopping 120K bytes, and the awesome 6 4 of ~ fast RAM,<br />
along with the character-based video display terminal,<br />
intoxicated me. ~~t what was more puzzling was this<br />
strange way of talking to the computer, called <strong>Forth</strong>. I had<br />
taken a computer language survey class in college which<br />
included Fortran, Algol, PWM, Cobol, Trac, Lisp, and APL,<br />
but had never heard of anything called <strong>Forth</strong>. It was<br />
strange and unnatural without programstatements. I could<br />
not find the compiler, linker, or listing output. I could not<br />
figure out how it worked, but I realized that I now had direct<br />
contact with the CPU without the need to learn complex<br />
system manuals. I finally had a computer under my control<br />
and I went to town. Over the next few years, I had a good<br />
time writing programs on that small <strong>Forth</strong> system to do data<br />
<strong>Forth</strong> Dimensions 11 July 1995 August