I have just encoded a raft ( 23 ) of programs using the DM42 programming tool. Each is terminated by an END statement. On the DM42, a file like this could be loaded into calculator memory with all the programs being loaded at once. However, if seems the DM41X only loads the first program it finds in the raw file.
I could change the END statements to RTNs to work around this. But is there a better way?
Multiple programs in a RAW file?
Multiple programs in a RAW file?
Steve
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
Re: Multiple programs in a RAW file?
So ... replaced all my END statements with RTN statements. The DM42 programming tool automatically generated a final END for me.
Now when I try to load the raw file the DM41X says "TRY AGAIN". I can't find any reference to this message in the user manual. So I guess I'll have to load them one-at-a-time!?
Now when I try to load the raw file the DM41X says "TRY AGAIN". I can't find any reference to this message in the user manual. So I guess I'll have to load them one-at-a-time!?
Steve
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
Re: Multiple programs in a RAW file?
This is the regular way. The first mass storage device for the hp 41 was the magnetic card reader. RAW-File handling is very similar. If several small programs should be stored on one card, this was the only way to proceed because a new card was always expected after an END. You should avoid duplicate local labels and notice changes of registers.
Yes. As one program like this example (stored on one card - if the RTN are ENDs the 41 wants 5 cards to store them):
LBL "PRON"
SF 21
RTN
LBL "PROFF"
CF 21
RTN
LBL "MAN"
CF 15
CF 16
RTN
LBL "NORM"
CF 15
SF 16
RTN
LBL "TRACE"
CF 16
SF 15
END
My programmable calculators - former: CBM PR100, HP41CV, HP28S, HP11C - current: HP48G(+), HP35S, DM41X, DM42
Re: Multiple programs in a RAW file?
I cannot load any programs now! The TRY AGAIN error occurs every time.
Steve
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
Re: Multiple programs in a RAW file?
Okay - had to hit the RESET button on the back to clear that error.
All working now - yay!
All working now - yay!
Steve
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
Re: Multiple programs in a RAW file?
TRY AGAIN is not a DM41X error, it is an HP-41C error. See that manual for an explanation of its meaning.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973.
Re: Multiple programs in a RAW file?
Good idea!
TRY AGAIN means it has run out of program memory or you've tried to run SIZE with too large a value. Which is odd because there was no program in memory at the time. Perhaps my attempt to load multiple programs separated by END statements in one raw file did something odd to the memory configuration?
TRY AGAIN means it has run out of program memory or you've tried to run SIZE with too large a value. Which is odd because there was no program in memory at the time. Perhaps my attempt to load multiple programs separated by END statements in one raw file did something odd to the memory configuration?
Steve
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
Re: Multiple programs in a RAW file?
It means you have tried to load a program that is too large to fit into allocated memory. You said you had 23 programs all grouped into a single RAW file, and when you attempted to load that file it may have been too large to fit into memory. You may have to reduce the number of registers in order to free up sufficient memory for your programs. Out of the box, the DM41X has SIZE = 100, which is 100 registers.hsilop wrote: ↑Sun Oct 25, 2020 2:44 amGood idea!
TRY AGAIN means it has run out of program memory or you've tried to run SIZE with too large a value. Which is odd because there was no program in memory at the time. Perhaps my attempt to load multiple programs separated by END statements in one raw file did something odd to the memory configuration?
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973.
Re: Multiple programs in a RAW file?
I wasn't REALLY a size problem. I have now successfully loaded the 23 programs in one raw file by separating them by RTN statements instead of END statements. Same size.
When I feel brave enough I will try and reproduce the error. I'm still getting everything setup the way I like it.
When I feel brave enough I will try and reproduce the error. I'm still getting everything setup the way I like it.
Steve
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65
DM42 SN: 03223
DM41X SN: 00854
HP11C, HP12C, HP15C, HP16C, HP25, HP32S, HP33C, HP41CV, HP46, HP65