43S News

General discussion about calculators, SwissMicros or otherwise
User avatar
PierreMengisen
Posts: 252
Joined: Wed Nov 29, 2017 1:38 pm
Location: Neuchâtel CH

Re: 43S News

Post by PierreMengisen »

Walter wrote:
Fri Jan 14, 2022 5:32 pm
fundamental law #1 of computing
Where did you find this list of laws? Please cite your sources :x
Pierre
[TI59 with PC100C; TI-84 Plus CE-T; HP41CV with HP IL loop & 2*82161A DCD & 82162 TP; HP15C; HP28S; DM41; DM41L; DM42; DM41X]
User avatar
tuxfish
Posts: 41
Joined: Thu Sep 14, 2017 12:17 pm

Re: 43S News

Post by tuxfish »

Hi, maybe this works (?): could the default code page be different between Win10 & Win11 ?
Entering CHCP without parameters in the cmd.exe window shows the active code page.
Changing the code page or the system locale to e.g. UTF-8 before starting the WP43s might do the trick.
CHCP 65001
or
CHCP 1252
or
CHCP 850

Good luck 🤞

P.S.: "How to change system locale in Windows 11" https://websiteforstudents.com/how-to-c ... ws-11/amp/ might be worth to look at, since Win11 handles quite a few topics differently than previous versions ;-)
Last edited by tuxfish on Fri Jan 14, 2022 11:29 pm, edited 1 time in total.
FX-602P, HP-12c, 17B, 32E, 38C, 39gs, 35, 41C, 48 SX/G, 50g, DM 10L, 11L, 15L, 42 …
User avatar
Walter
Posts: 2132
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter »

I'd recommend 65001.
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S; WP 34S & WP 31S for obvious reasons; DM16L
toml_12953
Posts: 743
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: 43S News

Post by toml_12953 »

tuxfish wrote:
Fri Jan 14, 2022 9:32 pm
Hi, maybe this works (?): could the default code page be different between Win10 & Win11 ?
Entering CHCP without parameters in the cmd.exe window shows the active code page.
Changing the code page or the system locale to e.g. UTF-8 before starting the WP43s might do the trick.
CHCP 65001
or
CHCP 1252
or
CHCP 850

Good luck 🤞

P.S.: "How to change system locale in Windows 11" https://websiteforstudents.com/how-to-c ... ws-11/amp/ might be worth to look at, since Win11 handles quite a few topics differently than previous versions ;-)
Thanks for the reply! My default CP was 437 so I changed it to 65001, then 1252, then 850. The problem turned out to be backup.bin. When I deleted it and reran the program, it worked. If this has been mentioned before, I apologize for my ignorance!
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
toml_12953
Posts: 743
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: 43S News

Post by toml_12953 »

toml_12953 wrote:
Sat Jan 15, 2022 2:47 am
tuxfish wrote:
Fri Jan 14, 2022 9:32 pm
Hi, maybe this works (?): could the default code page be different between Win10 & Win11 ?
Entering CHCP without parameters in the cmd.exe window shows the active code page.
Changing the code page or the system locale to e.g. UTF-8 before starting the WP43s might do the trick.
CHCP 65001
or
CHCP 1252
or
CHCP 850

Good luck 🤞

P.S.: "How to change system locale in Windows 11" https://websiteforstudents.com/how-to-c ... ws-11/amp/ might be worth to look at, since Win11 handles quite a few topics differently than previous versions ;-)
Thanks for the reply! My default CP was 437 so I changed it to 65001, then 1252, then 850. The problem turned out to be backup.bin. When I deleted it and reran the program, it worked. If this has been mentioned before, I apologize for my ignorance! Hey, it's right in the README! Mea culpa.
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
dlachieze
Posts: 384
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

Walter wrote:
Fri Jan 14, 2022 3:19 pm
(you may need an account, don't you?).
If you think so. I’m just testing on the 43S some programs I wrote for the 34S. They are using a small subset of the 43S instructions and once they’ll work don’t expect as many bug reports from me.
DM42: 00425 - DM41X: β00066
User avatar
Walter
Posts: 2132
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter »

Sometimes my posts may need a ;) . I tend to forget it so here are some belated ;) ;) ;) ;) ;) and some in advance ;) ;) ;) ;) ;) . Please continue your good work.
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S; WP 34S & WP 31S for obvious reasons; DM16L
dlachieze
Posts: 384
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

As someone said on this forum : I can only read what you wrote ;)
Thanks for the smileys I’ll try to use them wisely where needed. 8-)
DM42: 00425 - DM41X: β00066
User avatar
Walter
Posts: 2132
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: 43S News

Post by Walter »

I think I know that person well - AFAIK he uses that sentence when even irony doesn't suffice for understanding (especially reading English as a third language). 8-) 8-)
DM42 SN: 00041 β
WP 43S running on this device

HP-35, HP-45, ..., HP-35S; WP 34S & WP 31S for obvious reasons; DM16L
dlachieze
Posts: 384
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

Two issues with V0.21.8:

1] If you want to insert a number followed by an instruction with a parameter in a program, the instruction is not inserted just after the number, but one step further. For example if you have:

Code: Select all

004 SIN
005 +
and you want to insert 0 STO 00 between steps 004 and 005, then you get:

Code: Select all

004 SIN
005 0
006 +
007 STO 00
instead of:

Code: Select all

004 SIN
005 0
006 STO 00
007 +


2] There seems to be some memory management issues. The following program which runs in 5" on my physical 34S takes ages to complete on the 43S Windows simulator (around 10').
While running it keeps printing the following in the black window on the side of the emulator:

Code: Select all

*** Free memory regions overlap!
*** This suggests there was double-free!
Free blocks (25):
   0 starting at   290:     1 blocks =      4 bytes
   1 starting at   458:     1 blocks =      4 bytes
   2 starting at   496:     1 blocks =      4 bytes
   3 starting at   505:     3 blocks =     12 bytes
   4 starting at   511:     1 blocks =      4 bytes
   5 starting at   535:     1 blocks =      4 bytes
   6 starting at   543:     1 blocks =      4 bytes
   7 starting at   540:     1 blocks =      4 bytes
   8 starting at   540: 49156 blocks = 196624 bytes
   9 starting at   551:     4 blocks =     16 bytes
  10 starting at   554: 49153 blocks = 196612 bytes
  11 starting at   557:     1 blocks =      4 bytes
  12 starting at   570:     1 blocks =      4 bytes
  13 starting at   540:     1 blocks =      4 bytes
  14 starting at   540:     1 blocks =      4 bytes
  15 starting at   540:     1 blocks =      4 bytes
  16 starting at   550:     1 blocks =      4 bytes
  17 starting at   562:     1 blocks =      4 bytes
  18 starting at   570:     1 blocks =      4 bytes
  19 starting at  1259:   295 blocks =   1180 bytes
  20 starting at  1558:     1 blocks =      4 bytes
  21 starting at  1574:   270 blocks =   1080 bytes
  22 starting at  1844:   578 blocks =   2312 bytes
  23 starting at  2422:   289 blocks =   1156 bytes
  24 starting at  2711: 11034 blocks =  44136 bytes
Here is the program, launch it with XEQ 'AMI' and it should return 220 in X and 284 in Y:

Code: Select all

01 *LBL 'AMI'
02  0
03  STO 00
04 *INC 00     
05  RCL 00
06  XEQ D      
07  x<=? Y
08  BACK 004
09  XEQ D
10  x=? 00
11  STOP
12  BACK 008
                      X     Y     Z     T     L
13 *LBL D             n    
14  1                 1     n
15  <>XYXX            1     n     1     1
16 *INC T             -     n     s     d
17  <>YYZT            n     n     s     d
18  RCL/ T            n/d   n     s     d        
19  x<? T
20  SKIP 006
21  FP?               n/d   n     s     d    
22  BACK 006
23  X#? T             n/d   n     s     d    
24  RCL+ T     
25  STO+ Z
26  BACK 010
27 *x<> Z             s     n     n/d   d
28  END
DM42: 00425 - DM41X: β00066
Post Reply