README.eforth 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. *********************************************************************
  2. eForth is a simple Forth model which can be easily ported to a wide
  3. range of CPU's. It is best put into ROM and communicate to the
  4. outside through a serial RS232 line. Files can be downloaded through
  5. the serial line also. This eForth Model includes an implementation
  6. on IBM-PC. The assembly source code is designed so that one can use
  7. MASM to assemble object code for any target CPU. Only 29 words are
  8. coded in machine instructions, which can be easily modified to run
  9. on a target CPU other than 8086. The eForth Model and the IBM-PC
  10. implementation is in the public domain to encourage interested
  11. programmers to port this model to different CPU's.
  12. C. H. Ting
  13. *********************************************************************
  14. July 29, 1990
  15. Dear eForth Beta Tester:
  16. This is the eForth Model which I promised to give you for evaluation
  17. and implementation. Bill Muench and I labored quite intensively
  18. over the last four weeks chasing bugs, discussing many implementation
  19. and stylistic issues and experimenting various approaches and
  20. solutions. We barely made the releasing date, July 28, at the FORML
  21. session of the Silicon Valley FIG chapter meeting. As thing usually
  22. go, after I printed the documentation, Bill found it was necessary to
  23. overhaul the system for good reasons. When we arrived at the SVFIG
  24. meeting, the documentation showed a phase delay from the code to be
  25. formally released. Sounds very familiar. Did I tell the same story
  26. somewhere else?
  27. The solution is that we are including two versions of EFORTH.ASM on
  28. this diskette. EFORTH.ASM is the new version that you should use
  29. to implement eForth on the CPU of your choice. EFORTH.OLD contains
  30. the source code which generates the assembly listing as printed
  31. in the 'eForth Implementation Guide'. EFORTH.ASM has much improved
  32. style and a set of new macros to assemble the headers. It also
  33. fixed a bug in $," to aligned a compiled string to cell boundary.
  34. The order of words is also changed slightly to highlight the machine
  35. dependent I/O words.
  36. The files on this diskette are:
  37. EFORTH.ASM The source code of eForth for IBM-PC 8086.
  38. EFORTH.SRC The Forth source of eForth Model.
  39. EFORTH.GLO The glossary of words in eForth.
  40. EFORTH.COM The executable object of IBM-PC eForth.
  41. READ.ME This file.
  42. The assembly commands are:
  43. >MASM EFORTH;
  44. >LINK EFORTH;
  45. >EXE2BIN EFORTH EFORTH.COM
  46. >EFORTH
  47. The manual undoubtly needs much improvement. As we start porting
  48. eForth to other CPU's, we will discover more problems which need
  49. explanation, especially to the first time Forth users, who are the
  50. intended audience of the eForth Model. Your feedback will be
  51. greatly appreciated.
  52. As machine dependency is consolidated into 29 code words, moving
  53. eForth to other CPU's will be much less of a chore comparing to other
  54. Forth models. I am expecting that an implementation could be
  55. completed within 4 weeks, assuming that you are familiar with the
  56. instruction set of the target CPU and its enviornment. I am especially
  57. interested in how long a student, upper level college or graduate,
  58. needs to implement it. If you are teaching microprocessor in a
  59. school, please consider this model as a class assignment and
  60. monitor the reactions from the students.
  61. Please send me your implementation as soon as possible. Please
  62. let me know of any deficiency in this model also. This project
  63. could significantly broaden the user base of Forth. We really
  64. hope that it will help Forth reclaim its glory as the language
  65. of choice for embedded systems.
  66. Thank you for your interests and encouragements in this project.
  67. I hope to hear from you soon.
  68. C. H. Ting
  69. 156 14th Avenue
  70. San Mateo, CA 94402
  71. (415) 571-7639
  72. P.S. If you get this file from BBS, send me $15 for the manual
  73. 'eForth Implementation Guide' if you need it.