2025-10-14 00:59:03 KipIngram: does the dm42 have units or is that only a Plus42 thing? 2025-10-14 00:59:25 eg storing 100kg on the stack 2025-10-14 01:08:43 No, not natively. 2025-10-14 01:09:05 Though it's the sort of thing I might be wrong on because I'd be unlikely to use them even if they were there. 2025-10-14 01:09:30 My calculator "thought processes" were shaped before such things came around, and old habits die hard. 2025-10-14 01:24:35 hmmm 2025-10-14 01:25:40 i mean to recall that the hp42 has unit conversions (not storing them on stack, as you asked, but built-in means to convert between units) 2025-10-14 01:26:28 should have checked before talking, am apparently wrong 2025-10-14 02:16:03 I have an application (I didn't write it) installed on mine that is a library of useful constants. It's a hierarchical menu-driven thing, and when you get down to a final item it puts the number on the stack (no units there), but also puts the text name of the constant and its units in the alpha register. 2025-10-14 02:16:27 The calculator itself isn't "doing anything" with that text - it's more just a human convenience. 2025-10-14 02:17:08 I guess my feeling about it (having come from the hard old days) is that the programmer ought to know what his or her numbers mean. :-) 2025-10-14 02:17:41 I.e., what units his programs call for and how to change units as needed to get there. 2025-10-14 02:19:24 There are some special purpose conversions, like degrees / minutes / seconds to/from decimal degrees and so on. But I don't think there's a native general purpose well-populated conversion facility like there is on the 48G. 2025-10-14 02:19:40 I don't know a lot about the 48G; I never owned one. But my wife did so I picked up bits here and there. 2025-10-14 05:24:10 units are on the Plus42 which is an enhanced version of Free42 which is the firmware in DM42 2025-10-14 05:24:54 and you can do stuff like push 10km, divide by 2h to get 5km/h 2025-10-14 05:26:21 then add 0mph to force a conversion to mph 2025-10-14 05:26:34 seems really practical 2025-10-14 05:27:17 but apparently plus42 is emulator-only, doesn't fit in dm42 memory 2025-10-14 13:08:46 Yeah. I expect this Forth I'm just getting started on to be very compact; it uses a byte coded vm and I've got things in there to keep it compact, like a mechanism that will let me call "recently defined" words (within a certain distance in RAM) with one byte calls. I write a lot of short "helper" definitions that are usually nearby, so I expect to exploit that a lot. 2025-10-14 13:09:13 And it's also going to be quite portable, due to the vm nature - one of the things I've thought I might like to try to do with it is put it on my DM42. 2025-10-14 13:09:27 I'm hoping it will let me pack in more functionality. 2025-10-14 13:10:45 Regarding the units, I can just never get past the performance impact those extra features are going to have. I know how to convert km/s to mph, so I usually don't have an interest in slowing everything down so my calculator can do that for me. 2025-10-14 13:12:35 If I am able to save space and get more in, I want things like support for geometric algebra multivectors and things like that. Actual enhancements to the number-crunching. 2025-10-14 13:16:38 I really like it that the DM42 is overtly "open firmware," so putting new systems on it is a supported thing instead a hacky hoop jump. 2025-10-14 13:16:46 instead "of" 2025-10-14 14:22:54 I'm curious about reprogramming the DM42 also. I know someone put mecrisp on it but it eats the battery since it doesn't do any sleeping 2025-10-14 14:23:22 it would be nice if they let you interface to the little OS they built to run on it 2025-10-14 14:26:56 so you don't have to do all the hardware from scratch 2025-10-14 14:40:11 I feel like tpbsd may know about how easy it is to add sleeping to mecrisp on the DM42 2025-10-14 16:29:21 Sure, you just have to figure out how the chip works and what its sleep modes are 2025-10-14 16:30:15 It's doable but would be nice to go with what they've already perfected 2025-10-14 16:31:46 A lot of these 'open' chips I've noticed have sort of partial docs on the firmware and the libraries they ship, and then basically zero info on the bare metal details 2025-10-14 16:32:07 Does RISC-V have something like CMSIS because that at least makes it a bit easier to figure stuff out? 2025-10-14 19:52:26 veltas, the only riscv chip I've seen with a cmsis-svd file is the GC32VF103 and the doc is full of errors, I doubt the SVD file is accurate