Post Reply 
DM41X creating modules using platform hardware
04-07-2022, 05:51 PM
Post: #1
DM41X creating modules using platform hardware
Hi everyone,
I'm a little bit intimidated by this question, as I have absolutely no clue where to start to find an answer, or even to know if there is an answer.

The question in a few words: how to create a module for the DM41X that will use the hardware of the DM41X?

Examples:
- Write and read the FAT disk (create file, open file, read file, ...)
- Write to screen or screen buffer (create buffer, display buffer, clear, pixon, pixoff, drawline, drawrect, ...)
- Create virtual printer to text or png file on FAT

I suppose it would be necessary to access resources of DMCP, and to program in native ARM environment (not RPN / FORTH programming language), but I don't know where to find informations about the compilation of a program for the DMCP / DM41X platform, about the declarations and / or interface that a module should respect.

I read carefully everything that is hosted on https://technical.swissmicros.com/dm41x/ but it did'nt help.

If you have ideas or other ressources, it'll be a great help.

Regards,
Thibault

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
04-07-2022, 10:05 PM
Post: #2
RE: DM41X creating modules using platform hardware
You cannot access the FAT or any other low-level machine resources from within the HP-41X f/w, this only supports normal (albeit emulated) HP-41 memory resources.

To create your own custom ARM programs that run on the DMCP platform, take a look at the documents here: https://technical.swissmicros.com/dmcp/

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
04-08-2022, 08:38 AM
Post: #3
RE: DM41X creating modules using platform hardware
Yes thank you Robert, I read all these informations.
My idea was to use the same kind of functions as the one described in ยง6.2.4 of the DM41X manual, that reproduced the SAVEP behavior, but with FAT and not only X-MEM.

I know this derived version of SAVEP is not accessible from a HP41X program, but the first functionality of having a DMCP command that copies any type of X-MEM file to the FAT would be a nice addd-on.

Then having a programable function for this command (exposed in a module?) would be a definite plus, but I understand the software architecture does'nt make it easy.

Regards,
Thibault

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)