23.10.2013 Views

FAST Forth Native-Language Embedded Computers

FAST Forth Native-Language Embedded Computers

FAST Forth Native-Language Embedded Computers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Features<br />

Departments I<br />

6 Adventures in Serial Communications A1 Mitchell<br />

Serial data communications can be many times less expensive than parallel methods. But with<br />

far fewer wires for the data, speed penalties can be significant. This discussion of data formats,<br />

protocols, and circumventing DOS overhead by directly controlling UARTs with <strong>Forth</strong> shows<br />

that properly implemented serial communications can be pushed to extremely high speeds<br />

or sent over distances up to four kilometers.<br />

A Line Editor and History Function Charles Curley<br />

Users of skeletal <strong>Forth</strong> systems: you can retrieve and re-execute that series of commands<br />

without re-typing them. And just because you aren't using a fully frilled text editor doesn't<br />

mean you have to live entirely without editing tools. Boost your programming productivity<br />

right where you spend the most time-at the command-line.<br />

Parallel <strong>Forth</strong>: The New ApproachMichael Montvelishsky<br />

From Russia, the author provides an extension that brings parallel programming to <strong>Forth</strong>-<br />

even if, for now, you do have only one processor. With it, you can write code processes that<br />

not only communicate with each other, but manage productive offspring.<br />

20 Readability Revisited Garth Wilson<br />

Every well-run ship and airplane has its gear stowed and hatches secured. More than aesthetics,<br />

these are issues of practicality and safety. Whether or not you have been accused of producing<br />

write-only code, refining your program's physical layout will improve its clarity, reliability, and<br />

maintainability, and will demonstrate your care and workmanship.<br />

27 Print ZIP Barcodes Walter J. Rottenkolber<br />

Generating postal barcodes, whether to speed your mail or to save money, is an interesting<br />

project in applied <strong>Forth</strong>. It requires careful design and placement of graphics, and understand-<br />

ing five-bit numbers and postal codes up to eleven digits long. This implementation will make<br />

your letters compatible with state-of-the-art scanning and sorting technologies.<br />

33 Optimizing '386 Assembly Code David M. Sanders<br />

This article discusses optimization techniques for machine code generated during compilatoin.<br />

'386 assembly language is used to illustrate the techniques, but many of are applicable to other<br />

processors, including the 68000 family. Certain techniques can especially reduce the amount<br />

of machine code generated by <strong>Forth</strong> compilers.<br />

4 Editorial .................. ANS <strong>Forth</strong> announced<br />

5 Letters ..................... Something old, something new; Off-line resources.<br />

31 Advertisers Index<br />

42 Fast <strong>Forth</strong>ward ......... <strong>Forth</strong>: always new, despite its age<br />

<strong>Forth</strong> Dimensions 3 March 1994 April

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!