Search found 17 matches

by michaelzinn
Fri May 24, 2019 9:44 am
Forum: DM1x/DM41
Topic: DM15L programming
Replies: 18
Views: 1231

Re: DM15L programming

Personally, I don't need this, but you could detect program mode by checking that the display shows three digits followed by a hyphen.
Probably not worth it, though, given that people who want readable calculator code can just buy a better calculator instead.
by michaelzinn
Thu May 23, 2019 7:14 pm
Forum: Bug reports
Topic: [DM15L M1B V28] Can't jump past line 448
Replies: 10
Views: 383

Re: [DM15L M1B V28] Can't jump past line 448

P.S.: This also means that you can't jump to line numbers for editing purpose, i.e. GTO CHS 449, neither in program mode nor in run mode, so you'll have to navigate your code with SST and BST instead. This is already on David's radar. I drew his attention to it yesterday :) Great! Let's hope he'll f...
by michaelzinn
Wed May 22, 2019 8:38 am
Forum: Bug reports
Topic: [DM15L M1B V28] Can't jump past line 448
Replies: 10
Views: 383

Re: [DM15L M1B V28] Can't jump past line 448

[...]A good question to ask though is how important is this really? DM15's (both cc and L flavors) have been sold for 5+ years, and this is the first time this has even come up. To see it from SM's viewpoint, how many more will be sold if the work is even feasible? I'm certain that if justified, it...
by michaelzinn
Tue May 21, 2019 7:50 pm
Forum: Bug reports
Topic: [DM15L M1B V28] Can't jump past line 448
Replies: 10
Views: 383

Re: [DM15L M1B V25] Can't jump past line 448

Thanks for the hint, I updated to DM15 M1B V28 and still get the same error (Can't jump to line numbers above 448, neither with GTO nor with GSB) [...] I'm sure the Matrix and Program Execution code is far too intricate (and no doubt optimized as well) to try to reverse engineer. I suspect that you...
by michaelzinn
Tue May 21, 2019 4:32 pm
Forum: Bug reports
Topic: [DM15L M1B V28] Can't jump past line 448
Replies: 10
Views: 383

Re: [DM15L M1B V25] Can't jump past line 448

rprosperi wrote:
Tue May 21, 2019 1:13 am
[...] why not check it out with V28?
Thanks for the hint, I updated to DM15 M1B V28 and still get the same error (Can't jump to line numbers above 448, neither with GTO nor with GSB)
by michaelzinn
Mon May 20, 2019 2:21 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 14
Views: 991

Re: [POLL] Compiler for DM15L ?

Compiling works now, but only for programs smaller than 448 lines because of viewtopic.php?f=11&t=2186.

I'll see if I can clean up the code and release it in the next days/weeks/when I have time.
by michaelzinn
Mon May 20, 2019 2:04 pm
Forum: Bug reports
Topic: [DM15L M1B V28] Can't jump past line 448
Replies: 10
Views: 383

[DM15L M1B V28] Can't jump past line 448

You can't jump past line 448 using the index register even if your program is large enough, e.g. over 800 lines of code. I guess this is because the original calculator could not have more than 448 lines of program memory, ever. You can test it with this program (Hammurabi BASIC game) either by runn...
by michaelzinn
Tue May 14, 2019 10:57 am
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 14
Views: 991

Re: [POLL] Compiler for DM15L ?

I decided to go with CommodoreBASIC (C64), for these reasons: - It is easier to compile than most other languages (only global variables, no stack frames etc.) - It is something that people who use HP calculators might know, because it is from the same time - You can compile old number based BASIC g...
by michaelzinn
Wed Apr 24, 2019 12:45 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 14
Views: 991

Re: [POLL] Compiler for DM15L ?

[...] JIT compilation is available for ARM CPUs [...] Interesting, thank you for pointing that out! But that's not the goal here: I'd like to compile to the language of the calculator (is it called RPN?), not create an alternative firmware where you can run Lua on the exposed ARM CPU. If you want s...
by michaelzinn
Sat Apr 13, 2019 10:37 am
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 14
Views: 991

Re: [POLL] Compiler for DM15L ?

There is already a Python to RPN converter for the 42S, do you plan to do the same for the 15C? Thank you for pointing that out, that's basically what I want to do. To be clear, I'm not yet 100% sure what exactly I want to do next, that's why I started the poll. ;) What I did last was writing an in...