Swissmicros DM41X FORTH Firmware with N-Queens, Graphics, Sound and Snake Game @CalculatorClique
Swissmicros DM41X FORTH Firmware with N-Queens, Graphics, Sound and Snake Game  @CalculatorClique
Uploaded November 2023 | Updated September 2026, 3 weeks ago
This video demonstrates a native FORTH implementation for the Swissmicros DM41X hardware. I’ve ported and enhanced a C implementation of FORTH and used the same keyboard layout as much as possible so an overlay is not required.

Enhancements include graphics, sound, file loading, keyboard shortcuts and assignment which are demonstrated.

To exit DM-FORTH so you can swap back to DM41 use the BYE command.

I'll setup a github repository and list it here once I tidy up the code a bit :-)

Please ensure your DM41X state is saved to flash and that the flash filesystem is backed up to a PC before using so you can restore if necessary.

DM-FORTH download (as demonstrated in video), must be placed in flash root directory (FORTH.pgm): dropbox.com/scl/fi/3idmuopvy1zz4pb3b9gpn/FORTH.pgm?rlkey=5qzl27aa6xjgu29tuwgmde0zi&dl=0

md5 Hash:
cb20bd1702ef0cb459ff39b11293cd0b FORTH.pgm

DM-FORTH download (latest version), must be placed in flash root directory (FORTH.pgm): dropbox.com/scl/fi/1xgnt71cipshp1f6rj3kq/FORTH.pgm?rlkey=no2274fj692e21rbx58golzri&dl=0

BP.FTH 41C BEEP example word: dropbox.com/scl/fi/81n5w8zqyi3rfhr714rd8/bp.fth?rlkey=pnw90ufse5c5aupaqdr8im7iw&dl=0

B2K.FTH - 2001 BMP image loading example word (ensure 2001.BMP is already stored in flash OFFIMG directory or choose a different image name): dropbox.com/scl/fi/rs8qame90bsy01c0el1jd/b2k.fth?rlkey=a5u3sa2t8zys7kqp3p3vkoldo&dl=0

NQ.FTH - N-Queens example FORTH file: dropbox.com/scl/fi/tnhvfvxjgfk0tyinum5lj/nq.fth?rlkey=v3tp4cm0itxdmkpcz1gjutayu&dl=0

HT.FTH - Hat / fedora graphic plot example FORTH file: dropbox.com/scl/fi/hvkjcyvfvo2erkyfwj8r0/ht.fth?rlkey=i1oka89l8ti9odbia1dlz93pa&dl=0

SN.FTH - Snake game FORTH file: dropbox.com/scl/fi/0u2zxiz8kthu7t42h1v85/sn.fth?rlkey=uy9f6yvdb2lmak9gobzx6u2go&dl=0

N-Queens calculator benchmarks: hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=700

Original Snake for FORTH: skilldrick.github.io/easyforth/#snake

Based on the following FORTH in C implementation: gist.github.com/lbruder/10007431

Starting FORTH book: forth.com/starting-forth

GNU ARM Toolchain download for developing for the DM41X/DM42 hardware: developer.arm.com/downloads/-/arm-gnu-toolchain-downloads

I used 12.3.rel1 on MacOS to build DM-FORTH.

DMCP documentation: technical.swissmicros.com/dmcp/doc/DMCP-ifc-html/index.html

See the Swissmicros Github repositories for example code including keyboard and display use: github.com/swissmicros

See DMCP_SDK for a simple Hello World and SDKdemo for a simple RPN calculator.

=== Contents ===
0:00 Overview
0:24 Installation
1:43 Introduction & Initial Usage
4:02 Creating Words
5:56 Loading FORTH Files
6:33 Additional Features
8:49 N-Queens Demonstration
9:43 Graphics Demonstration
10:43 Snake Game Demonstration
12:14 Keyboard Assignment
13:03 Availability & Future Features
Swissmicros DM41X FORTH Firmware with N-Queens, Graphics, Sound and Snake GameHP 41C plays Hunt the WumpusHP 50G System RPL / SysRPL Configure and Test Step by StepHP 35S Scientific Calculator Self-test / Self Test / Test ProcedureHP 41C Calculator Load and Play Barcode Simon Game Using 82153A WandHP 48 User RPL and System RPL (SysRPL) Programming ComparisonHP Prime plays Hunt the Wumpus in PythonCasio MG-880 Calculator Plays Star Wars Theme / Main TitleCasio VX-4 plays the classic game Hunt the WumpusHP 35S program to calculate Eigenvalues of Symmetric Matrices using Jacobi’s MethodHP 15C LE PSE / Pause Bug FixCasio VX-4 / FX-870P Portable Computer Undocumented Self-test / カシオ VX-4 / FX-870P セルフテスト
Calculator Clique |

Swissmicros DM41X FORTH Firmware with N-Queens, Graphics, Sound and Snake Game

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER