====== A Threaded Language for a 6809 ====== ===== Preface ===== For the 6809/63C09 project I have been working on for some time I wanted three things when it came to the software I wanted it to run. First, I wanted a basic monitor program to allow a user to examine and changes both the CPU registers and the system memory, upload and download programs using Motorola, S-format records, start executing a program at a given address, and single step through programs. Second, some version of BASIC. This was a given as all the computers back in the day came with some version of BAISC. Third, I wanted a version of Forth. I've always been fascinated by the language and the 6809 processor is a dream machine for implementing the language. In this section of my wiki I will be documenting my efforts to create an implementation of a threaded (Forth-like) language for a 6809/63C09 processor. In the late 1970s and early 1980s there was a lot of interest in a new programming language called Forth. I first learned of Forth through the pages of BYTE magazine. ===== Overview ===== In this section of my wiki I will be documenting my efforts to create an implementation of a threaded (Forth-like) language for a 6809/63C09 processor. ===== Implementation Notes ===== My TIL implementation is heavily based on the book by Loeliger (see Appendix A) with some changes and accommodations based on the Forth 2012 standard. [[progress|Development Progress]] ===== Appendix A ===== ==== Books ==== [[https://archive.org/details/byte-magazine-1980-08|BYTE Magazine Volume 05 Number 08 - The Forth Language]] [[https://archive.org/details/R.G.LoeligerThreadedInterpretiveLanguagesTheirDesignAndImplementationByteBooks1981/page/n5/mode/2up|Threaded Interpretive Languages]] by R. G. Loeliger \\ [[errata|Errata for Loeliger book]] [[https://forth-standard.org/standard/index|Forth Standard 2012]] [[https://www.forth.com/starting-forth/|Starting Forth]] by Leo Brodie [[https://thinking-forth.sourceforge.net/|Thinking Forth]] by Leo Brodie [[https://www.amazon.ca/dp/1419675494|Forth Programmer's Handbook]] by Edward K. Conklin and Elizabeth D. Rather [[https://www.amazon.ca/dp/1095075799|Forth Application Techniques]] by Elizabeth D. Rather