Post Reply 
Plus42 Equations, Preview Release
04-19-2022, 05:22 PM
Post: #521
RE: Plus42 Equations, Preview Release
Initializing using AGRAPH instead of PIXEL:

Code:
00 { 120-Byte Prgm }
01▸LBL "VITA"
02 CLLCD
03 -1ᴇ-6
04 STO 00
05 -5ᴇ-5
06 STO 01
07 HEIGHT
08 1ᴇ3
09 ÷
10 1.00008
11 +
12▸LBL 00
13 WIDTH
14 1ᴇ3
15 ÷
16 1.00044
17 +
18▸LBL 01
19 CLA
20 44
21 STO 02
22▸LBL 04
23 CLX
24 RAN
25 256
26 ×
27 XTOA
28 DSE 02
29 GTO 04
30 R↓
31 AGRAPH
32 ISG ST X
33 GTO 01
34 R↓
35 ISG ST X
36 GTO 00
37 TIME
38 STO ST L
39▸LBL 02
40 LIFE
41▸LBL 03
42 LASTX
43 TIME
44 HMS-
45 X>? 00
46 GTO 03
47 X>? 01
48 GTO 02
49 GTO "VITA"
50 END
Visit this user's website Find all posts by this user
Quote this message in a reply
04-19-2022, 08:36 PM
Post: #522
RE: Plus42 Equations, Preview Release
This new version runs indeed much faster on desktop.
Find all posts by this user
Quote this message in a reply
04-19-2022, 11:33 PM
Post: #523
RE: Plus42 Equations, Preview Release
New update:

1. Added XVIEW function. This works just like AVIEW, except it takes the text from the X register rather than the ALPHA register, so it doesn't have the 44-character length restriction of AVIEW.
Note that XVIEW requires the X register to contain a string. This is not intended a replacement for VIEW ST X; it's meant to make it possible to display longer messages than what AVIEW can handle.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-20-2022, 09:51 AM
Post: #524
RE: Plus42 Equations, Preview Release
(04-19-2022 03:03 PM)johanw Wrote:  It tends to run faster on my phone too but that difference is not as much.

The laptop is a modern i7, the phone runs a 2019 Exynos CPU so the laptop should have much more raw power.

Some of that is probably due to the Windows version still being 32-bit. The Linux and MacOS versions are 64-bit, and the Android and iOS versions are 32/64-bit fat binaries, which means you'll be running 64-bit code on almost everything nowadays.
Is it time to switch the Windows version to 64-bit?
Visit this user's website Find all posts by this user
Quote this message in a reply
04-20-2022, 10:06 AM (This post was last modified: 04-20-2022 10:16 AM by ggauny@live.fr.)
Post: #525
RE: Plus42 Equations, Preview Release
yes, I think so.
Window version on 64 bits.
I also asking if the HP50g ORDER is in your mind, this was very useful and I often use it in 50g.

Gérard.
Find all posts by this user
Quote this message in a reply
04-20-2022, 10:33 AM
Post: #526
RE: Plus42 Equations, Preview Release
(04-20-2022 10:06 AM)ggauny@live.fr Wrote:  I also asking if the HP50g ORDER is in your mind, this was very useful and I often use it in 50g.

See https://thomasokken.com/plus42/#directories
Scroll down to "Directory, program, and variable management"

Using REFMOVE is rather different from using ORDER, and probably not very intuitive, but it is very flexible, letting you move things between directories, reordering programs, etc.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-20-2022, 12:11 PM
Post: #527
RE: Plus42 Equations, Preview Release
(04-20-2022 09:51 AM)Thomas Okken Wrote:  Is it time to switch the Windows version to 64-bit?

Definitely. I touch 10+ PCs every week, and I have not seen a 32-bit machine in years.

Of course, there are many users of old PCs among this crowd (aka ingeniously cheap individuals) which are indeed often 32-bit and they may not find this as beneficial, but as most applications have abandoned 32-bit binaries at this stage, you will be in the forward-looking majority rather than dragging your feet a bit.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
04-20-2022, 02:49 PM
Post: #528
RE: Plus42 Equations, Preview Release
I see no reason not to do both. The Android abi code can apparently seamlessly build for 32 and 64 bit (Google won't let you in Google Play if you only deliver a 32 bit version so it will have to do that), I see no reason why we can't have a Plus42 (and Free42) 64 and 32 version. Maybe it will be easier for the decimal version, I'm not sure, but is the decimal version used that often anyway?
Find all posts by this user
Quote this message in a reply
04-20-2022, 03:12 PM
Post: #529
RE: Plus42 Equations, Preview Release
I would also vote for the windows version being 64 bit. I only have one 32-bit Windows computer, used for running old software that won't run on newer Windows versions.
Find all posts by this user
Quote this message in a reply
04-20-2022, 03:16 PM
Post: #530
RE: Plus42 Equations, Preview Release
(04-20-2022 02:49 PM)johanw Wrote:  I see no reason not to do both.

There is one: it's a hassle for me.

With MacOS, iOS, and Android, you can set up your project so that it builds the machine code for multiple CPU architectures, and bundles them all into one final executable. It takes a bit longer to compile and the final executable is larger, but the hassle for the developer is zero. But Microsoft, in their infinite wisdom, don't support this.

(Linux doesn't support fat binaries either, but all the major Linux distros have long since killed off 32-bit support, something Microsoft is dragging their feet with. They are still selling 32-bit Windows to consumers even today!)
Visit this user's website Find all posts by this user
Quote this message in a reply
04-20-2022, 03:16 PM
Post: #531
RE: Plus42 Equations, Preview Release
(04-20-2022 12:11 PM)rprosperi Wrote:  
(04-20-2022 09:51 AM)Thomas Okken Wrote:  Is it time to switch the Windows version to 64-bit?

Definitely. I touch 10+ PCs every week, and I have not seen a 32-bit machine in years.

Of course, there are many users of old PCs among this crowd (aka ingeniously cheap individuals) which are indeed often 32-bit and they may not find this as beneficial, but as most applications have abandoned 32-bit binaries at this stage, you will be in the forward-looking majority rather than dragging your feet a bit.

I'm one of those "cheap" individuals with a lot of older PCs using a 32-bit OS that would like to continue using these emulators on them. Specifically, my only laptop is running 32-bit Windows Vista, and it's too old to update to a newer 64-bit OS. I've already had to deal with the abandonment of Windows XP support by Free42, so please don't take away my ability to run Plus42 on my Vista machine.
Find all posts by this user
Quote this message in a reply
04-20-2022, 06:24 PM
Post: #532
RE: Plus42 Equations, Preview Release
(04-20-2022 03:16 PM)Thomas Okken Wrote:  
(04-20-2022 02:49 PM)johanw Wrote:  I see no reason not to do both.

There is one: it's a hassle for me.

On second thought, maybe it doesn't have to be. The Windows build is automated to the point where going from source code to having the Free42Windows.zip file (or Plus42Windows.zip) only requires running one script. If I can create a 64-bit patch for the Intel library and 64-bit versions of the VS projects, I should be able to build 32- and 64-bit executables in one go.
It would mean uploading two zip files for Windows for each release, or one containing both versions, but that's not a problem.

I will look into it...
Visit this user's website Find all posts by this user
Quote this message in a reply
04-20-2022, 10:52 PM (This post was last modified: 04-21-2022 10:26 AM by Thomas Okken.)
Post: #533
RE: Plus42 Equations, Preview Release
Experimental: Plus42Windows-64.zip Plus42Windows.zip

(UPDATE: The 32-bit version is now Plus42Windows-32bit.zip)
Visit this user's website Find all posts by this user
Quote this message in a reply
04-21-2022, 02:30 AM
Post: #534
RE: Plus42 Equations, Preview Release
(04-20-2022 10:52 PM)Thomas Okken Wrote:  Experimental: Plus42Windows-64.zip

Just tried the decimal version on my 64-bit Win 10 machine, and it seems to work fine.
Find all posts by this user
Quote this message in a reply
04-21-2022, 07:21 AM (This post was last modified: 04-21-2022 07:23 AM by ggauny@live.fr.)
Post: #535
RE: Plus42 Equations, Preview Release
Here too, work fine.

Win10 pro 64 bits, version decimal Plus42.

Gérard.
Find all posts by this user
Quote this message in a reply
04-21-2022, 10:27 AM
Post: #536
RE: Plus42 Equations, Preview Release
Awesome! OK, I'll build both from now on, then.
Now to make the same changes in Free42...
Visit this user's website Find all posts by this user
Quote this message in a reply
04-21-2022, 08:52 PM
Post: #537
RE: Plus42 Equations, Preview Release
Plus42 sounds really exciting! I use Free42 and my DM42 almost everyday.

Two quick questions:
- is there a beta I could try for iOS yet?
- any chance of this ever making it to a Swiss micros hardware unit?
Find all posts by this user
Quote this message in a reply
04-21-2022, 10:50 PM
Post: #538
RE: Plus42 Equations, Preview Release
(04-21-2022 08:52 PM)tgray Wrote:  - is there a beta I could try for iOS yet?

If you send me an email with your phone's UDID, I'll add you to the ad hoc profile so you can install the betas. (You can use https://udid.tech/ to get the UDID without connecting the phone to a computer.)

(04-21-2022 08:52 PM)tgray Wrote:  - any chance of this ever making it to a Swiss micros hardware unit?

I'm not aware of any such plans.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-22-2022, 12:15 AM
Post: #539
RE: Plus42 Equations, Preview Release
(04-21-2022 08:52 PM)tgray Wrote:  Plus42 sounds really exciting!...any chance of this ever making it to a Swiss micros hardware unit?

This would require a completely new hardware platform with an additional row of keys. Either that, or share the top row of keys with the softkeys, a la HP 42S with a TOP.FCN toggle. Anyways, this is a question you should ask of SwissMicros (Michael Steinmann), not Thomas Okken.
Find all posts by this user
Quote this message in a reply
04-22-2022, 08:49 AM
Post: #540
RE: Plus42 Equations, Preview Release
Really minor update:

1. Fixed MEM so it can handle ≥ 4294967296 bytes
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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