Fun with the multi-line mode

Please report issues with the DM41X Beta Firmware in this sub-forum
Post Reply
Posts: 17
Joined: Sun Jan 26, 2020 5:21 pm
Location: Lund/Sweden

Fun with the multi-line mode

Post by ecsfang » Thu Oct 15, 2020 9:09 am

This is not a (at least a new) bug - rather a peculiarity ... ;)

First of all - I really appreciate the mult-line mode (MLM) in the DM41X, and the huge effort to implement this given the prerequisites!

Enter the following little program:

Code: Select all

01 LBL "CG"
02 10
04 ":"
06 LBL 00
07 DSE Y
08 GTO 00
09 RTN
1. Press [DSP] until full stack (x,y,z, and t) is shown
2. XEQ "CG" and watch the catch
3. CAT 1 -- goose is gone and probably replaced by a digit
4. [ENTER] [ENTER] -- duplicate string (the digit is gone)
5. 1 [EEX] 88 -- notice how the underscore and then the last digit is shown in y-reg
6. [x<>y] -- notice how the digit now moves to z-reg

Again, this is not a bug in the MLM, but rather a bug in the 41 ROM (explained in PPC V10N7P19), where the 41 is not updating the display correcly if the content is a string beginning with a punctation.

I don't mind the effects this have on the MLM, I think it is doing its best to keep the originality of the 41 ... :)
Or maybe I should refresh my MCODE knowledge and patch the ROM ... :P

Keep up the good work!

Posts: 134
Joined: Mon Mar 30, 2020 12:10 am
Location: Overijssel Netherlands

Re: Fun with the multi-line mode

Post by EM41 » Thu Oct 15, 2020 12:44 pm

Didn't know this one but it behaves the same as on the real HP41 so it proves again the emulator works well.
I like these fun things.
HP41C (2x), HP41CV, HP41CX, DM41X β, DM41X, DM42, HP11C, HP48G, HP97

Post Reply