Search found 41 matches

by michaelzinn
Mon May 20, 2019 4:04 pm
Forum: Bug reports
Topic: [DM15L M1B V28] Can't jump past line 448
Replies: 11
Views: 15978

[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 12:57 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 15
Views: 15897

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 2:45 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 15
Views: 15897

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 12:37 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 15
Views: 15897

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 2:16 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 15
Views: 15897

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 langua...
by michaelzinn
Sun Apr 07, 2019 9:05 pm
Forum: DM1x/DM41
Topic: [POLL] Compiler for DM15L ?
Replies: 15
Views: 15897

[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 11:03 am
Forum: DM1x/DM41
Topic: DM15L USB connection touble?
Replies: 8
Views: 9597

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...
by michaelzinn
Thu Mar 28, 2019 11:22 pm
Forum: DM1x/DM41
Topic: DM15L USB connection touble?
Replies: 8
Views: 9597

Re: DM15L USB connection touble?

Okay, in order to get it to work with minicom I had to disable Hardware Flow in the serial port settings. Now I got a memory dump, but is there some documentation on where is what? DM15_M1B 04 99999999999000 00000000000008 0000000000000c 00000000000eae 08 00000000000000 3ebeffbefa2280 fbea82fbf8be8f...
by michaelzinn
Tue May 22, 2018 4:39 pm
Forum: DM1x/DM1xL
Topic: [DM15] [15C] Brainf█k Programming Language
Replies: 2
Views: 8389

[DM15] [15C] Brainf█k Programming Language

I wrote an interpreter that you can use to run Brainf█k programs directly on your calculator. For example, if you wanted to calculate Fibonacci numbers with the +>+[[->+>+<<]<[->>>+<<<]>>>.] program you could enter it like this: SF 0 3137741313 STO 3 2282741113 STO 4 2228111580 STO 5 ...and then run...
by michaelzinn
Wed Apr 11, 2018 7:48 pm
Forum: DM1x/DM41
Topic: DM15L USB connection touble?
Replies: 8
Views: 9597

Re: DM15L USB connection touble?

Okay, but how do I get a file out? Also, the calculator stops displaying "Serial Connection" after a couple seconds, does that matter?