Blue Hell - x4th

Last page update : 2011-11-05

Last x4th update : 2011.11.5.1 (this is a date folowed by a build number)

Changed some stuff in the compiler, removed threading it did not crash anymore after that and the canvas locked errors are gone too it seems. Removed some stuff that got never used (stack checks mainly), and added a bunch of internal words. Added some meta stuff, see pic24 libs for that.

bulletx4th is a Forth like cross compiler running under Windows targeting Microchip PIC processors. x4th compiles Forth sources into an assembly file, not directly into target code.

bulletx4th is published under the GNU General Public License version 2.

bulletYou can read the manual here and you can download the package including source code, executable and some example code as a zip file. This version has some pic24 libs, and some basic floating point support.

bulletYou can still download the old version 2007.6.8.1 too.

bulletTo run x4th you'll need Windows, I use Windows XP.

bulletTo use x4th you'll also need a Microchip PIC development environment, I use MPLAB 8.76 from Microchip.

bulletDirectly supported processors for the current package are :

  • 18c242
  • 18c252
  • 18c442
  • 18c452
  • 18f242
  • 18f252
  • 18f442
  • 18f452
  • 18f6527
  • 18f6622
  • 18f6627
  • 18f6722

The F versions can make use of a boot loader. The libraries can easily be adopted for other processor types. In the past I've been using x4th for 17c44 and for 16c63 like processors, but those libraries are not up to date and not present in the x4th release. There is no real need for the processors to be Microchip ones, I just happen to use those a lot.

bulletTo compile x4th from it's source code you'll need Delphi 2009 with the JVCL tools installed.

bullet Example processor dependent library , and the same as a pdf with syntax color highlighting.

bullet Example HTML documentation.

bullet Example output file, and the same as a pdf with syntax color highlighting.