Skip to main content

DM41 to PX-41CX FOCAL Converter

·

DM41 to PX-41CX FOCAL Converter #

Revive the retro charm of the HP-41CX with hp41cx_tools-dm41_to_px41, a sleek tool that converts DM41 FOCAL source code (.dm41.focal) to PX-41CX format (.px41.focal). This lightweight filter, built in Ada 2022 for bulletproof reliability, transforms double-quoted alpha strings to single quotes, ensuring seamless compatibility with PX-41CX. Part of the work-in-progress hp41cx_tools suite, it’s rigorously tested with Make (make test) and runs flawlessly on macOS, Linux, and Windows, outpacing Windows-only alternatives.

Features #

  • Simple Conversion: Converts .dm41.focal (ASCII, double quotes) to .px41.focal (ASCII, single quotes), handling subtle format differences.
  • Pipe-Friendly: Reads from standard input and writes to standard output, ideal for scripting and pipelines.
  • Cross-Platform: Works on macOS, Linux, and Windows, perfect for any retro computing setup.
  • Open Source: Explore the code on SourceForge.
  • Robust Testing: Backed by AUnit tests via make test for reliable performance.

Usage #

No command-line options—just pipe DM41 FOCAL code in and get PX-41CX code out:

hp41cx_tools-dm41_to_px41 < in_ASN.dm41.focal > out_ASN.px41.focal

Notes #

  • Input/Output: Reads .dm41.focal (ASCII, double quotes) and outputs .px41.focal (ASCII, single quotes).
  • Compatibility: Adjusts quote styles for PX-41CX compatibility (XROM handling is managed by hp41cx_tools-px41_to_dm41).
  • Work in Progress: Part of the evolving hp41cx_tools suite, with more features planned.

Relive the HP-41CX’s golden era with this nifty converter, streamlining your emulator workflows with the elegance of a vintage calculator!