Hi,
(hopefully I dont overlooked something substantial...)
for all of us, who are born too late and do not had the chance or dont want to buy a HP thermal printer all "print" functions of the DM42 are not really useful...
Debugging programs "on the go" (that is without access to a computer...and even then...there is no DM42 emulator) only with BST, SST and a two liner of code and the stack is difficult
The alpha register of the HP42s is able to keep 44 characters.
With the DM42 we have a really really nice looking screen (didn't saw something THAT BLACK before!).
The PIXEL and AGRAPH functions are already updated to work to the whole screen, which is GREAT!
I want to suggest to increase the capacity of the ALPHA-register in a way that is can hold enough text to fill the whole
screen with the smallest font setting -- we have plenty of RAM!
Another idea would be to incorporate (or implement it back), what Thomas did with his Free42: Printing onto a grafik.
In case of the DM42 it would be: Printing onto the full screen. A virtual variable could handle the switch between IR-based
printing and onto-the-screen printing.
What do you think?
Cheers
Meino
Bigger ALPHA register
Bigger ALPHA register
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
-
- Posts: 1107
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: Bigger ALPHA register
I was debugging some code in Free42 today, and at one point it did occur to me that having "step over" and "step out" would be nice. SST is really "step into" and that's not always what you want.
Those wouldn't be hard to implement. But where to put on the keyboard?
That would have to be an option, since there may be code that depends on the alpha register being 44 characters.
Re: Bigger ALPHA register
Moin Thomas,
(for all others: "Moin" is East Frisian/Frisian/Dutch(?) for "Have a good day!" -- Thomas knows that, aren't you Thomas ? )
How should I call that...oh my "English"...a "one shot" function. That is: A certain key gets a certain function dependant to the current context.
Pseudocode:
IF ((previously pressed key is SST or BST) && (point in code reached is XEQ or GOTO))
IF(GOTO Linenumber is pressed) // or: GTO IND linenumber...
step to that line while executing everything in between but act on STOP nonetheless
ELSE
step into with the next SST/BST
FI
FI
That implies that one needs to press BST or SST twice while being stepped to a XEQ/GTO in the code.
===
ALPHA register: Could be easily switched between "compatible" mode and "enhanced mode" with a Virtual Variable. A full screen aware ALPHA register
would put the way programs could be written to the next level of user-interface useability/readability.
I would really appreciate if we could make use of this wonderful screen in all its glory (read: In full resolution) with the DM42.
What do you think?
Cheers
Meino
(for all others: "Moin" is East Frisian/Frisian/Dutch(?) for "Have a good day!" -- Thomas knows that, aren't you Thomas ? )
How should I call that...oh my "English"...a "one shot" function. That is: A certain key gets a certain function dependant to the current context.
Pseudocode:
IF ((previously pressed key is SST or BST) && (point in code reached is XEQ or GOTO))
IF(GOTO Linenumber is pressed) // or: GTO IND linenumber...
step to that line while executing everything in between but act on STOP nonetheless
ELSE
step into with the next SST/BST
FI
FI
That implies that one needs to press BST or SST twice while being stepped to a XEQ/GTO in the code.
===
ALPHA register: Could be easily switched between "compatible" mode and "enhanced mode" with a Virtual Variable. A full screen aware ALPHA register
would put the way programs could be written to the next level of user-interface useability/readability.
I would really appreciate if we could make use of this wonderful screen in all its glory (read: In full resolution) with the DM42.
What do you think?
Cheers
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
Re: Bigger ALPHA register
I've been curious about this as well. I have to wonder how much of Thomas' virtual printer code is laying dormant an unused. Possibly none.mcc wrote: ↑Mon Jan 08, 2018 5:24 am
Another idea would be to incorporate (or implement it back), what Thomas did with his Free42: Printing onto a grafik.
In case of the DM42 it would be: Printing onto the full screen. A virtual variable could handle the switch between IR-based
printing and onto-the-screen printing.
What do you think?
Cheers
Meino
Now, considering that the IR interface works mostly the same as the HP 42S and that a virtual output defeats the purpose of a hard copy, I have trouble thinking of a real use for it apart from just another way to enjoy the amazing display.
DM42 SN: 00076
DM15, HP 28c, HP 12c, HP 10b, HP 20b, HP 30b, HP 17bII, HP 42s, HP 35s, WP 34s, NP-25, TI-83+, teenix multicalc
DM15, HP 28c, HP 12c, HP 10b, HP 20b, HP 30b, HP 17bII, HP 42s, HP 35s, WP 34s, NP-25, TI-83+, teenix multicalc
-
- Posts: 564
- Joined: Mon Apr 24, 2017 8:38 pm
Re: Bigger ALPHA register
so, you are proposing taking screen shots that scroll down the virtual printer output? I'm intrigued.keithdalby wrote: ↑Mon Jan 08, 2018 6:46 pmProducing graphs, outputting them and using them in a document or a presentation?
DM42 SN: 00076
DM15, HP 28c, HP 12c, HP 10b, HP 20b, HP 30b, HP 17bII, HP 42s, HP 35s, WP 34s, NP-25, TI-83+, teenix multicalc
DM15, HP 28c, HP 12c, HP 10b, HP 20b, HP 30b, HP 17bII, HP 42s, HP 35s, WP 34s, NP-25, TI-83+, teenix multicalc
-
- Posts: 564
- Joined: Mon Apr 24, 2017 8:38 pm
Re: Bigger ALPHA register
GIFs or even BMPs that grow. A virtual printer.
-
- Posts: 137
- Joined: Wed Jun 14, 2017 9:27 pm
Re: Bigger ALPHA register
"XEQ R/S" doesn't seem to do anything, and would even kind of line up semantically with "XEQ then STOP". It could be implemented as "run, then stop after the next RTN at this depth", leaving you back up one level on the call stack. So if you SST onto an XEQ that you want to skip, hit XEQ R/S, and you're back at the instruction just after the XEQ. It would essentially be "step over" and "step out" combined into one, since a true "step over" would require you to know you're about to SST onto an XEQ.Thomas Okken wrote: ↑Mon Jan 08, 2018 5:55 amI was debugging some code in Free42 today, and at one point it did occur to me that having "step over" and "step out" would be nice. SST is really "step into" and that's not always what you want.
Those wouldn't be hard to implement. But where to put on the keyboard?
And while we're making a flow control wishlist, I would love to have RTN+1, SKIP, and BACK to go with my pony.
Re: Bigger ALPHA register
MaybeThomas Okken wrote: ↑Mon Jan 08, 2018 5:55 amI was debugging some code in Free42 today, and at one point it did occur to me that having "step over" and "step out" would be nice. SST is really "step into" and that's not always what you want.
Those wouldn't be hard to implement. But where to put on the keyboard?
- Down arrow (unshifted) = Step into
Shift + Down arrow (i.e. SST as printed on the keyboard) = Step over
Another option would be to create a debug menu, for instance accessible from the PGM.FCN menu?
Thanks,
ETN
-
- Posts: 564
- Joined: Mon Apr 24, 2017 8:38 pm