Программируемый калькулятор DM42

Создал тему для обсуждения калькулятора DM42 швейцарского производителя DM SwissMicros.

Ссылка на мой блог Приехал DM42 - первые впечатления.

nqueens

DM42 Beta firmware V2.10.14 available.

Release notes:
"SETUP -> File -> Load program" now sorts the available programs alphabetically and the list wraps if you scroll downwards from the last program or upwards from the first.
"SETUP -> System -> Disk check" has been renamed "FAT Disk Media Test" and the associated screens have been re-worded in order to indicate more explicitly that the test is destructive.
Alpha input mode is completely overhauled. Further notes below explain how to use it.
Custom "OFF" screen image support. See notes below.

New Alpha input mode
Upon entering Alpha input mode you will now see a new annunciator on the screen:
"[ ]" denotes original HP-42S input mode. This is the mode that Alpha input starts with.
"[a]" denotes lower case DM42 input mode.
"[A]" denotes upper case DM42 input mode.
[SHIFT] followed by [UP] and [DOWN] allow you to cycle through the modes.

Original HP-42S mode:
Function keys work as expected for standard characters.
ASTO (STO) and ARCL (RCL) work as expected.
"%", "pi" and "E" work as expected.
[SHIFT] [.] (SHOW) works as expected.
Local labels LBL 01, LBL A and LBL a work as expected.
Global labels LBL "ABC", LBL "123" and LBL "A123" work as expected.
Unshifted [R/S] works as expected and [SHIFT] [R/S] enters/leaves Prgm mode as expected.
Lower and upper case DM42 modes:
The function keys still allow input in HP-42S mode.
All alpha keys A-Z give the expected characters.
[SHIFT] [A] to [SHIFT] [O] give the same characters.
[SHIFT] [0] (zero) to [SHIFT] [9] give the digits 0-9 instead of the alpha characters.
Shifted [/], [x], [-] and [+] give '/', 'x', '-' and '+' instead of the alpha characters.
Shifted [R/S] gives '?' instead of entering/leaving Prgm mode.
ASTO, ARCL, '%', 'pi' and 'E' (exponent) are not available. Switch to standard HP-42S mode to get them.
[SHIFT] [.] (SHOW) is not available. Use standard HP-42S mode.
Two-digit local labels LBL 01 are not available. Use standard HP-42S mode, which is the default mode enterd after pressing [LBL] anyway.
Local labels LBL A and LBL a and global labels LBL "ABC", LBL "123" and LBL "A123" work as expected.
Unshifted [R/S] still behaves as usual allowing program execution to resume after inputting alpha data to a program.
Function arguments (eg. STO* "h") work as expected

"OFF" screen images
Images placed in the OFFIMG directory of the FAT disk are displayed on the LCD when the DM42 is switched off. They replace the "sleeping owl" image in the DM42's ROM. If this directory doesn't already exist then create it yourself when the DM42 is connected to your computer in USB Disk mode.

If there are multiple images in the directory, the DM42 cycles through them each time it is switched off.

The images must be in Windows NT bitmap format (.bmp files) at resolution 400x240, 1 bit per pixel.

---------------------------
Истина где-то рядом
www.litres.ru/vitaliy-samurov/dozvonitsya-do-devy/

С новой прошивкой .14 стало возможным делать свои экраны выключенного состояния:
Kontiki on DM42

---------------------------
Истина где-то рядом
www.litres.ru/vitaliy-samurov/dozvonitsya-do-devy/

Это просто здорово. Начинаю думать над покупкой. Придется продать HP 50g тогда.

А еще там на форуме ходят слухи, что функциональность "чистого HP42s" поместят под конфигурационный флаг в системном меню, а те, кому не важна "чистокровность", могут наслаждаться командой PIXEL на всей красоте графического экрана 400x240

---------------------------
Истина где-то рядом
www.litres.ru/vitaliy-samurov/dozvonitsya-do-devy/

Результаты теста Счастливые билеты на DM42 (без алгоритмической оптимизации, прошивка Beta V2.10.17):
- Питание от батареи: 31 мин 40 сек
- Питание от USB: 12 мин 35 сек

Программа:

00 { 91-Byte Prgm }  21 RCL 04      42 RCL 01
01▸LBL "TICKETS"     22 IP          43 STO 03
02 901ᴇ-5            23 RCL 05      44 ISG 06
03 STO 01            24 IP          45 GTO 01
04 STO 02            25 +           46 RCL 01
05 STO 03            26 RCL 07      47 STO 06
06 STO 04            27 IP          48 ISG 04
07 STO 05            28 +           49 GTO 01
08 STO 06            29 X≠Y?        50 RCL 01
09 STO 07            30 GTO 02      51 STO 04
10 0                 31 RCL 00      52 ISG 05
11 STO 00            32 1           53 GTO 01
12▸LBL 01            33 +           54 RCL 01
13 RCL 02            34 STO 00      55 STO 05
14 IP                35▸LBL 02      56 ISG 07
15 RCL 03            36 ISG 02      57 GTO 01
16 IP                37 GTO 01      58 VIEW 00
17 +                 38 RCL 01      59 BEEP
18 RCL 06            39 STO 02      60 END
19 IP                40 ISG 03
20 +                 41 GTO 01    

---------------------------
Истина где-то рядом
www.litres.ru/vitaliy-samurov/dozvonitsya-do-devy/

Thomas, автор Free42, выложил пример графической программы для Free42/DM42:
Circle

На швейцарском форуме проскакивает инфа о том, что команда работает над поддержкой всего разрешения экрана. Жду с нетерпением.

Исходный текст программы:

00 { 103-Byte Prgm }
01▸LBL "CIRCLE"
02 "CIRCLE[LF]  CIRCLE"
03 AVIEW
04 DEG
05 0.36
06 STO 00
07▸LBL 00
08 RCL 00
09 IP
10 7.5
11 →REC
12 8
13 +
14 X<>Y
15 48
16 +
17 PIXEL
18 ISG 00
19 GTO 00
20 SF 34
21 SF 35
22 44
23 255
24▸LBL 01
25 XTOA
26 DSE ST Y
27 GTO 01
28 1.00908
29▸LBL 02
30 1.13144
31▸LBL 03
32 AGRAPH
33 ISG ST X
34 GTO 03
35 R↓
36 ISG ST X
37 GTO 02
38 END

---------------------------
Истина где-то рядом
www.litres.ru/vitaliy-samurov/dozvonitsya-do-devy/