That's brilliant! Thank you very much.
Search found 41 matches
- Tue May 28, 2019 6:56 pm
- Forum: Bug reports
- Topic: [DM15L M1B V28] Using R/S in a subroutine reached by line number wipes the call stack
- Replies: 11
- Views: 15900
- Tue May 28, 2019 5:28 pm
- Forum: Bug reports
- Topic: [DM15L M1B V28] Using R/S in a subroutine reached by line number wipes the call stack
- Replies: 11
- Views: 15900
Re: [DM15L M1B V28] Using R/S in a subroutine reached by line number wipes the call stack
How would you go about writing your own gosub stack? Do you mean use GTO I with flags and such to simulate a GSB/RTN ? Not sure, one way would be to put the stack pointer in register 0, having it contain the register number that contains the line number to jump to on return. GOSUB could then look l...
- Tue May 28, 2019 8:19 am
- Forum: Bug reports
- Topic: [DM15L M1B V28] Using R/S in a subroutine reached by line number wipes the call stack
- Replies: 11
- Views: 15900
Re: [DM15L M1B V28] Using R/S in a subroutine reached by line number wipes the call stack
but a Gosub to an arbitrary line number is poor programming so they probably prevented it. Not if you only use this to jump to specific line numbers because you ran out of labels. In any case though the DM15 should clearly behave the same as genuine HP-15Cs. Personally, I think it should behave lik...
- Mon May 27, 2019 9:31 pm
- Forum: Bug reports
- Topic: [DM15L M1B V28] Using R/S in a subroutine reached by line number wipes the call stack
- Replies: 11
- Views: 15900
[DM15L M1B V28] Using R/S in a subroutine reached by line number wipes the call stack
If you continue a subroutine that was stopped with R/S, the next RTN will only work if the subroutine was called by label (Either directly or by a positive number in the I register), not if it was called by line number (negative number in I). To be precise: - GTO works always - GSB A works - GSB A w...
- Fri May 24, 2019 11:44 am
- Forum: DM1x/DM41
- Topic: DM15L programming
- Replies: 18
- Views: 16590
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.
Probably not worth it, though, given that people who want readable calculator code can just buy a better calculator instead.
- Thu May 23, 2019 9:14 pm
- Forum: Bug reports
- Topic: [DM15L M1B V28] Can't jump past line 448
- Replies: 11
- Views: 16106
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...
- Wed May 22, 2019 10:38 am
- Forum: Bug reports
- Topic: [DM15L M1B V28] Can't jump past line 448
- Replies: 11
- Views: 16106
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...
- Tue May 21, 2019 9:50 pm
- Forum: Bug reports
- Topic: [DM15L M1B V28] Can't jump past line 448
- Replies: 11
- Views: 16106
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...
- Tue May 21, 2019 6:32 pm
- Forum: Bug reports
- Topic: [DM15L M1B V28] Can't jump past line 448
- Replies: 11
- Views: 16106
- Mon May 20, 2019 4:21 pm
- Forum: DM1x/DM41
- Topic: [POLL] Compiler for DM15L ?
- Replies: 15
- Views: 16081
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.
I'll see if I can clean up the code and release it in the next days/weeks/when I have time.