Search found 14 matches

by michaelzinn
Tue May 21, 2019 7:50 pm
Forum: Bug reports
Topic: [DM15L M1B V28] Can't jump past line 448
Replies: 6
Views: 137

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: 6
Views: 137

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: 869

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: 6
Views: 137

[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: 869

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: 869

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: 869

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...
by michaelzinn
Fri Apr 12, 2019 12:16 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 14
Views: 869

Re: [POLL] Compiler for DM15L ?

Python makes sense. The language has a large user base and is growing in popularity. I'd want a FULL Python, though. Not one of these "MicroPython" implementations. How would a full Python with Strings and all be usable on the DM15L? I'd probably not do an exact implementation of a language anyway,...
by michaelzinn
Sun Apr 07, 2019 7:05 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 14
Views: 869

[POLL] Compiler for DM15L ?

I noticed that the DM15L has so much memory that you can have 100 registers and still over 700 lines of program code. This means it might be feasible to write a compiler that compiles to memory images which you could then send to the calculator over USB. If you could compile programs for your calcul...
by michaelzinn
Fri Mar 29, 2019 10:03 am
Forum: DM1x/DM41
Topic: DM15L USB connection touble?
Replies: 8
Views: 1415

Re: DM15L USB connection touble?

Thanks, the decoder works fine, but I'm asking about the format of the dump. I know that I can see the program code using the decoder, but I'd like to know what everything in the dump means so that I can write my own decoder/encoder. Is there a spec somewhere? Given that the decoder is hosted by swi...