
    <p>Table of Contents</p>
    <p>─────────────────</p>
    <ol>
      <li>
        <p>greetings</p>
      </li>
      <li>
        <p>links to software</p>
      </li>
      <li>
        <p>hardware</p>
      </li>
      <li>
        <p>install</p>
      </li>
      <li>
        <p>check it works</p>
      </li>
      <li>
        <p>now the fix</p>
      </li>
      <li>
        <p>outro</p>
      </li>
    </ol>
    <p>0 greetings</p>
    <p>═══════════════════</p>
    <p> continuation from episode 4388, review of the book the Arduino
      controlled by eforth by dr chen-hanson ting</p>
    <p>1 links to software</p>
    <p>═══════════════════</p>
    <p> <a
        href="https://github.com/PeterForth/DR-TING-OFFETE-SVFIG-MIRROR">https://github.com/PeterForth/DR-TING-OFFETE-SVFIG-MIRROR</a>,
      328eforth source code </p>
    <p> <a href="https://github.com/Ro5bert/avra">https://github.com/Ro5bert/avra</a>,
      opensource assembler</p>
    <p> <a href="https://www.engbedded.com/fusecalc/">https://www.engbedded.com/fusecalc/</a>,
      configuration fuse calculator</p>
    <p> <a href="https://github.com/avrdudes/avrdude">https://github.com/avrdudes/avrdude</a>,
      flashing software</p>
    <p> <a href="https://github.com/oh2aun/flashforth">https://github.com/oh2aun/flashforth</a>,
      terminal shell programs</p>
    <p>2 hardware</p>
    <p>══════════</p>
    <p> programmer, avrisp2 recommended, build your own</p>
    <p> <a
        href="https://www.hackerpublicradio.org/eps/hpr2799/index.html">https://www.hackerpublicradio.org/eps/hpr2799/index.html</a></p>
    <p> Arduino UNO R3, Arduino Nano</p>
    <p>3 install</p>
    <p>═════════</p>
    <p> download 2159_328eforth.zip unzip that file then cd into it</p>
    <p> build assembler file, avra 328eforth220.asm</p>
    <p> 50+ warnings that avra generates because it pads out the words</p>
    <p> with null characters in order to get the write size for each
      word</p>
    <p> an over view of whats going on in the build process</p>
    <p> flashing process from the book,</p>
    <p> avrdude -p m328p -c avrisp2 -e -U flash:w:328eforth220.hex:i -U
      lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xfd:m</p>
    <p> what i use,</p>
    <p> avrdude -p m328p -c avrisp2 -e -U flash:w:328eforth220.hex:i -U
      lfuse:w:0xe2:m -U hfuse:w:0xd8:m -U efuse:w:0xfd:m</p>
    <p>4 check it works</p>
    <p>════════════════</p>
    <p> open terminal and plug in board, or reset board you should see,</p>
    <p> 328eforth v2.20 if you hit the return key you'll get an ok</p>
    <p>5 now the fix</p>
    <p>═════════════</p>
    <p> clues from turnkey</p>
    <p> flush+</p>
    <p> : flush+ ( -- )</p>
    <p> context @ context i!</p>
    <p> cp @ cp i!</p>
    <p> dp @ dp i!</p>
    <p> last @ last i!</p>
    <p> flush</p>
    <p> ;</p>
    <p> \ flush+ at the terminal prompt saves words,updates the memory
      pointers</p>
    <p> \ saving words across reboots</p>
    <p> now you can save newly defined words across reboots</p>
    <p>6 outro</p>
    <p>═══════</p>
    <p> You're currently going through a difficult transition period
      called, "Life."</p>