#54 IMSAI 8080 FORTH programming

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 11

  • @lmamakos
    @lmamakos 2 роки тому +5

    There's some pretty modern FORTH implementations around for 32 microcontrollers these days. I built a project using Mecrisp FORTH for the STM32F103 part to add a graphical LCD display to my old Fluke 8040A DMM that had failing 7 segment (glass!) LCD displays. It just watched the CPU bit-banging the 7 segment LCD digit multiplexing to decode the digits and built a whole new graphical UI based on that. It was real handy to be able to interactively poke at the SPI LCD display controller to figure out how to make it work. So now I have a DMM with a serial console if I please, but at least a much improved display. Depending on the FORTH implementation, you get pretty close to machine-code performance as compared to classical interpreted languages. And during development, you get to skip the Edit-Compile-Link-Download(Flash)-Debug-Profanity series of time consuming steps.
    The FORTH language is a really novel implementation of a compile and run time environment, very different from what you might be used to with "normal" languages. There's some really profound concepts buried in the language's architecture and how people might do an implementation. The deeper I got into it, the more I was impressed at the power, elegance and (apparent) simplicity of what goes on under the hood. In some ways, it's a mind-expanding experience, sort of like what I had when I learned just a tiny bit of Lisp in my survey of programming languages course during my undergrad CS degree program. Too bad we didn't include FORTH.

  • @ИванСтрекаловский-г5в

    A pretty and impressive language!

  • @kaypope1581
    @kaypope1581 4 роки тому

    Thanks for posting the video. I just started learning FORTH recently.

    • @IMSAIGuy
      @IMSAIGuy  4 роки тому

      any reason why you are learning or just for fun

    • @kaypope1581
      @kaypope1581 4 роки тому

      @@IMSAIGuy I got interested in Parallax Propeller 2 chip, and it has built-in FORTH ROM called TAQOZ ua-cam.com/video/DfDaXcbk-dY/v-deo.html That was how I got introduced to FORTH in turn. It is just for fun now, but I see a great potential for HW testing and hacking. Even for a simple LED blink test, I always had to compile and flash for MCU programming. The interactive REPL environment of FORTH is like a whole new world (sometimes with assembly support).

  • @richardballinger517
    @richardballinger517 2 дні тому

    Used Forth on old Siemens telecoms machines many years ago.

  • @mr1enrollment
    @mr1enrollment 3 роки тому +1

    Dude you have made one shit load of videos! HOLY COW!
    --
    My first job out of engineering school involved designing circuits and programing digital oscilloscopes in Forth. It was a commercial Forth which was customized by another engineer thru meta compilation.
    ie - Forth written in Forth. Very fun stuff!
    Check out Green Arrays GA144 chip designed by Charles Moore,.. the daddy of Forth.
    You and I need to talk one of these days. Dan

  • @PicaDelphon
    @PicaDelphon 4 роки тому +1

    The Class FORTH

  • @tfrerich
    @tfrerich 3 роки тому +1

    A very late comment....the boot loader for Sun servers was written in Forth. Don't know about servers since Oracle bought Sun.

    • @bongoherbert
      @bongoherbert Рік тому +1

      Literally how I discovered Forth! (“WTF is this?” Moments)