A144 Subject: Re: What brands of SD cards are you using??? Another Costco here... Works great.> Same here, Costco de too.> Išm using the SanDisk 256M card, bought at a loc Costco. It seems to> work Ūne on both my origin and replacement 49G+.> I used the 49G+ to format the card before using.>> Lexar SD cards donšt seem to work with hp49g+šs>> They did not work with my Ūrst cc and sure donšt work in my> replacement>> with the redesigned keyboard.>Išve just had a Lexar card stop working with my hp49g+.>Išm going to buy a Kingston next time === Subject: Re: What brands of SD cards are you using???Just got a 64MB SanDisk card, and it works great.> Another Costco here... Works great.> Same here, Costco de too.> Išm using the SanDisk 256M card, bought at a loc Costco. It seems to> work Ūne on both my origin and replacement 49G+.> I used the 49G+ to format the card before using.>> Lexar SD cards donšt seem to work with hp49g+šs>> They did not work with my Ūrst cc and sure donšt work in my> replacement>> with the redesigned keyboard.>Išve just had a Lexar card stop working with my hp49g+.>Išm going to buy a Kingston next time === Subject: Re: 49G Libraries on the 49G+?> organizer 1.1 and scribe 1.1, and attempted to instl them on ports> 0, 1, and 2 (I would prefer 2). There were no errors when I ran STO> on the libra. However, there were no LIB menus created for them> either. Are these libraries compatible with the 49G+? If they are, I> suspect that I have an understanding fault.98% of the 49G libraries should work on the 49g+ if they donšt do funnytngs with the screen such as greysce and contrast changes.I have instled the libs mentioned above and [RS] LIB and a few [NXT] makešOrganš and ŒScribš labels appear and yhe libs work great. === Subject: Re: 49G Libraries on the 49G+?Did you shut the cculator off or warm start it (ON + C) so thecculator could initiize the libras?CD> I have just been browsing the libraries on hpcc.org for my newly> acquired 49G+. I presently see ve few libraries listed there that> explicitly support the 49G+. I have downloaded a couple of libraries,> organizer 1.1 and scribe 1.1, and attempted to instl them on ports> 0, 1, and 2 (I would prefer 2). There were no errors when I ran STO> on the libra. However, there were no LIB menus created for them> either. Are these libraries compatible with the 49G+? If they are, I> suspect that I have an understanding fault.> === Subject: Re: 49G Libraries on the 49G+?> Did you shut the cculator off or warm start it (ON + C) so the> cculator could initiize the libras?I shut the cculator off as I was not aware of the warm startfeature.I have seen reassurances that the speciŪc programs that I mentionedare expected to work. Based upon that, I will t the process againand will so t the warm instead of cold start. === Subject: Re: 49G Libraries on the 49G+?> I have seen reassurances that the speciŪc programs that I mentioned> are expected to work. Based upon that, I will t the process again> and will so t the warm instead of cold start.Note that the off-on cycle is actuly warmer in terms of what isinitiized again. If you just turn it off and on again, it will onlyshut down its processor; a warmstart with ON-C clears a lot oŪnstled libraries are entered into it). For an even colder startyou have to press ON-A-F to cause the so-cled TTRM message toappear, and answer that with NO, wch WILL DELETE L YOUR DATA IN-- === Subject: Re: some questions about hp49g+>>the command S~N looks less dangerous that your SYSEV.> Bc S~N checks the argument ? In ts case, yes.Itšs so because S~N is easier to remember than uh... what was your hexa number ? ;o) === Subject: Re: some questions about hp49g+> Itšs so because S~N is easier to remember than uh... what was your> hexa number ? ;o)Well, i learnt #5B15h before buying a 49, so i remember it more easily... === Subject: Re: New HP 49G+ STILL not registering keystrokes!X> tnk they should just go l the way and completely Ūx the keyboards tobe> like the 48šs. Like you said, if they did that, it would be anoverwhelming> success.no, No, NO !!!Like the 41 - rather... === Subject: Does HP change the badkeyboard 49G+?,I am an non-regular reader of ts group, so I am not fully familiar with the situation.I have one of the Ūrst HP49G+ and well, the keyboard is a complete mess. Whether you rely pushed the key or not you can only notice by looking at the display, from time to time one has to push ice or even three times.When I remember my 48GX.. wow, these were the days my friends...During the sporadic reading I noticed I am not the only one having ts problem, now my question: Does HP change the Ūrst series with these faulty keyboards? Who would I have to ask to replace it?-- === Subject: Re: Does HP change the badkeyboard 49G+? > I am an non-regular reader of ts group, so I am not fully familiar > with the situation.Become a regular reader (and contributor); therešs a lot of goodinformation here.so note that you can search the newsgroup arcve fromhttp://groups.google.com/advanced_group_search?group= comp.sys.hp48or just browse it fromhttp://groups.google.com/groups?q=comp.sys.hp48.It currently has about 113,000 threads, starting from 1991-07-24.Therešs a reasonable chance that any question you may have has readybeen asked and answered (but how many of the answers are actulycorrect may be another sto).But note that the Google arcve is updated only a few times a day, soto be rely up-to-the-minute and for active participation, Google isnštthe best ternative. > I have one of the Ūrst HP49G+ and well, the keyboard is a complete > mess. Whether you rely pushed the key or not you can only notice by > looking at the display, from time to time one has to push ice or even > three times.You can turn on the keyclick (check the option in MODE); it may help younotice whether a key has registered, though thatšs still far from relysolving the problem. > When I remember my 48GX.. wow, these were the days my friends...For some of us, they still are. > During the sporadic reading I noticed I am not the only one having ts > problem, now my question: Does HP change the Ūrst series with these > faulty keyboards? Who would I have to ask to replace it?Many customers have gotten a warranty replacement for cculators withthe defective keyboards, and most seem to be satisŪed with thereplacement, but some say that itšs still defective. I suppose that thereplacement policy might differ depending on your count though.Assuming that the Berlin that you live in is in Germany, the number tocl should be +49-69-95307103. A list of telephone numbers to use forvarious countries is near the back of the useršs manu.-- === Subject: Quick write-up on ARM code under HP49G+ I have made a sml write-up on ARM programming on the HP49G+ available at http://page.ath.cx/hptute/arm.htm . To give credit, I have made great use of Robert ldingeršs ingenious ARM guide and other posts in ts group.It is still heavily under construction, but it hope it will eventuly be useful to people - espicly Saturn ASM newbies like myself.Finly, to Saturn Assembly experts: I do not know saturn assembly. I have tried to make a generic ŒARM codeš template, but I canšt test it until I get my cc back from HP (The LCD died). Išm sure there are mistakes... can you please let me know how to Ūx them?Išd so like to know how to put a label at a predeŪned address, if possible. Not l ARM programs will be exactly 112 bytes long , === Subject: Re: Quick write-up on ARM code under HP49G+ ,Nibble swapping scripts in perl since you didnšt have a script yet on your page.Herešs 2 scripts to swap nibbles, use the Ūrst if you have it in ASCII format. Use the second if you have it in bina. You can modify as needed.# ASCII version$Ūle = Œarmcode.txtš;open (FILE, $Ūle) or die cannot open Ūle: $!;wle (){ $_=~s/(.)(.)/$2$1/; print $_;}# Bina version$Ūle = Œa.outš;open (FILE, $Ūle) or die cannot open Ūle: $!;wle(sysread(FILE,$char,1)){ $char=pack( ŒH2š, unpack( Œh2š, $char ) ); print $char;}> I have made a sml write-up on ARM programming on the HP49G+ available > at http://page.ath.cx/hptute/arm.htm . To give credit, I have made > great use of Robert ldingeršs ingenious ARM guide and other posts in > ts group.> It is still heavily under construction, but it hope it will eventuly > be useful to people - espicly Saturn ASM newbies like myself.> Finly, to Saturn Assembly experts: I do not know saturn assembly. I > have tried to make a generic ŒARM codeš template, but I canšt test it > until I get my cc back from HP (The LCD died). Išm sure there are > mistakes... can you please let me know how to Ūx them?> Išd so like to know how to put a label at a predeŪned address, if > possible. Not l ARM programs will be exactly 112 bytes long === Subject: Re: Quick write-up on ARM code under HP49G+> $_=~s/(.)(.)/$2$1/;Ts doesnšt work; it will just swap the Ūrst o characters on theline!# ASCII versionwle (<>) { s/(.)(.)/$2$1/g; print;}instead. Ts will still fail if a line contains an odd number oŪnput nibbles though. Note that <> will read lines from the Ūlesgiven as arguments, or (if there arenšt any) standard input. You canwrite ts asperl -pe Œs/(.)(.)/$2$1/gšin the shell if youšre in a hur.> wle(sysread(FILE,$char,1)){Why read one character at a time when you can have ts:# Bina versionwle (<>) { print pack (h*, unpack (H*, $_));}I resisted the temptation to put it l on one line for readabilityšssake -- === Subject: Re: Quick write-up on ARM code under HP49G+Oh yeah, my input Ūle was multiple lines with 2 ascii characters per line. Oops. I donšt know perl well enough to churn out one-liners at a momentšs notice. Just wanting to contribute sometng at l, even if it isnšt the most efŪcient.hew F. G.>> $_=~s/(.)(.)/$2$1/;> Ts doesnšt work; it will just swap the Ūrst o characters on the> line!> # ASCII version> wle (<>) {> s/(.)(.)/$2$1/g;> print;> }> instead. Ts will still fail if a line contains an odd number of> input nibbles though. Note that <> will read lines from the Ūles> given as arguments, or (if there arenšt any) standard input. You can> write ts as> perl -pe Œs/(.)(.)/$2$1/gš> in the shell if youšre in a hur.> # Bina version> wle (<>) {> print pack (h*, unpack (H*, $_));> } === Subject: Re: Quick write-up on ARM code under HP49G+> I donšt know perl well enough to churn out one-liners at> a momentšs notice. Just wanting to contribute sometng at l, even> if it isnšt the most efŪcient.No problem! I thought wle I was at it with the Ūrst program, Imight as well tell you about the second... Donšt tnk I knew Perl(or Saturn ML for that er) that well right from the beginning And after l you had the most important tng: the idea to write it.-- === Subject: Re: Quick write-up on ARM code under HP49G+I have modiŪed these to take the Ūlename on the command line; output is still printed on STDOUT.Here they are:# ASCII version$Ūle = sft;open (FILE, $Ūle) or die cannot open Ūle: $!;wle (){ $_=~s/(.)(.)/$2$1/; print $_;}# Bina version$Ūle = sft;open (FILE, $Ūle) or die cannot open Ūle: $!;wle(sysread(FILE,$char,1)){ $char=pack( ŒH2š, unpack( Œh2š, $char ) ); print $char;}> ,> Nibble swapping scripts in perl since you didnšt have a script yet on > your page.> Herešs 2 scripts to swap nibbles, use the Ūrst if you have it in ASCII > format. Use the second if you have it in bina. You can modify as needed.> # ASCII version> $Ūle = Œarmcode.txtš;> open (FILE, $Ūle) or die cannot open Ūle: $!;> wle ()> {> $_=~s/(.)(.)/$2$1/;> print $_;> }> # Bina version> $Ūle = Œa.outš;> open (FILE, $Ūle) or die cannot open Ūle: $!;> wle(sysread(FILE,$char,1)){> $char=pack( ŒH2š, unpack( Œh2š, $char ) );> print $char;> } === Subject: Œs ARM Mandelbrot code disassembledIšve succeeded in disassembling Œs ARM code that he provided the newsgroup since I didnšt see anyone else t to disassemble it or provide the output if they did. I was confused for a bit about the endian-ness of the code though. Each instruction is 32 bits and the Ūrst instruction in the code is ts: 0F14D29ETo run it through the disassembler (i used gcc binutils 2.8.1 for ms-dos (objdump --disassemble <Ūle>)), I had to change it to F0412DE9 -- why is the cculator code nibble swapped? The disassembler then gave me E92D41F0, wch translates tostmdb sp!, {r4, r5, r6, r7, r8, lr}I donšt know enough ARM assembly yet, so I donšt rely know what that does. (I tnk it saves the stack or sometng, Išll Ūnd out soon enough). Herešs the full disassembly output. 0: e92d41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} 4: e5912914 ldr r2, [r1, #2324] 8: e5913924 ldr r3, [r1, #2340] c: e1a07002 mov r7, r2 10: e1a08003 mov r8, r3 14: e3a06c01 mov r6, #256 18: e0040292 mul r4, r2, r2 1c: e1a04644 mov r4, r4, asr #12 20: e0050393 mul r5, r3, r3 24: e1a05645 mov r5, r5, asr #12 28: e084e005 add lr, r4, r5 2c: e35e0901 cmp lr, #16384 30: ca00000a bgt 0x60 34: e0444005 sub r4, r4, r5 38: e0030392 mul r3, r2, r3 40: e1a035c3 mov r3, r3, asr #11 44: e0883003 add r3, r8, r3 48: e2566001 subs r6, r6, #1 4c: 1afffff1 bne 0x18 50: e5d16968 ldrb r6, [r1, #2408] 54: e3c66001 bic r6, r6, #1 58: e5c16968 strb r6, [r1, #2408] 5c: e8bd81f0 ldmia sp!, {r4, r5, r6, r7, r8, pc} 60: e5d16968 ldrb r6, [r1, #2408] 64: e3866001 orr r6, r6, #1 68: e5c16968 strb r6, [r1, #2408] 6c: e8bd81f0 ldmia sp!, {r4, r5, r6, r7, r8, pc}Hope ts is interesting to you. === Subject: Re: Œs ARM Mandelbrot code disassembled> Išve succeeded in disassembling Œs ARM code that he provided the > newsgroup since I didnšt see anyone else t to disassemble it or > provide the output if they did. I was confused for a bit about the > endian-ness of the code though. Each instruction is 32 bits and the > Ūrst instruction in the code is ts: 0F14D29E> To run it through the disassembler (i used gcc binutils 2.8.1 for ms-dos > (objdump --disassemble <Ūle>)), I had to change it to F0412DE9 -- why > is the cculator code nibble swapped? The disassembler then gave me > E92D41F0, wch translates to> stmdb sp!, {r4, r5, r6, r7, r8, lr}> I donšt know enough ARM assembly yet, so I donšt rely know what that > does. (I tnk it saves the stack or sometng, Išll Ūnd out soon > enough). Herešs the full disassembly output. Hope ts is interesting to you.How, just how, did you get objdump to dissassemble a hex/bina Ūle? Mine keeps wanting to disassemble sections, wch, of course, donšt exist in a ūat hex Ūle. === Subject: Re: Œs ARM Mandelbrot code disassembled> Never mind, Išm a dummy, I didnšt read your page thoroughly, . Or did > you just recently update it?šs code was disassembled ve quickly by members of ts group, and I put it up on my page right away =)But I have updated it since, to include more examples and info. >stmdb sp!, {r4, r5, r6, r7, r8, lr} >I donšt know enough ARM assembly yet, so I donšt rely know what that >does. (I tnk it saves the stack or sometng, Išll Ūnd out soon >enough). Herešs the full disassembly output.from my sketchy memo STMDB meansSTore Multiple registers in memo, Decrement the stack pointer Before each word is written.The SP means the Stack Pointer is the register being decrements and used as a pointer (it could be any register). The exclaimation mark means Œsave changes to the Stack Pointerš so it stays decremented after the instruction. And of course, {r4, r5, r6, r7, r8, lr} is a list of registers to push on the stack.http://www.ee.ic.ac.uk/pcheung/teacng/ee2_computing/ is a good place to learn more. for the Perl Script b, Išll t it later. === Subject: Re: Quick write-up on ARM code under HP49G+Išm not sure, but I tnk you may have an outdated guide to Saturn Assembly.However, ts is a great help to those new to assembly programming on these cculators. I have a bit of Motora 6811 and x86 assembly in the back of my head, so assembly language isnšt completely foreign to me. Learning new instruction sets is hard. Keep up the work and Išll see what I can do to help!hew F. G.> I have made a sml write-up on ARM programming on the HP49G+ available > at http://page.ath.cx/hptute/arm.htm . To give credit, I have made > great use of Robert ldingeršs ingenious ARM guide and other posts in > ts group.> It is still heavily under construction, but it hope it will eventuly > be useful to people - espicly Saturn ASM newbies like myself.> Finly, to Saturn Assembly experts: I do not know saturn assembly. I > have tried to make a generic ŒARM codeš template, but I canšt test it > until I get my cc back from HP (The LCD died). Išm sure there are > mistakes... can you please let me know how to Ūx them? === Subject: Re: Quick write-up on ARM code under HP49G+> I have made a sml write-up on ARM programming on the HP49G+> available at http://page.ath.cx/hptute/arm.htmused (according to some old docs, wch made their way into Carstenšs The 49G(+) ROM does not use ts at l since there is noarea or, in the case of FLASHPTcled directly by bankswitcng inthe #40000-#7FFFF area. bytes for ARM code starting at #80100. If you need more, you canlocate a tempora memo zone, as Robert ldinger has pointed outbefore.> Išd so like to know how to put a label at a predeŪned address, if> possible. Not l ARM programs will be exactly 112 bytes long You will probably want to use computed offsets instead. In MASDsyntax:CODEGOSBVL SAVPTRINTOFFGOSUB end*begin% ... ARM code goes here% to include nibbles use the following syntax% $ 0123456789ABCDEF% the nibbles will be stored in exactly ts order in memo*endC=RSTK D0=C D1= 80100LC(5) (end)-(begin)$80B60 % BUSCC 60; BUSCC is not a vid instruction in MASD% ...LC 80100$80BFF % BUSCC FFINTONGOVLNG GETPTRLOOPENDCODEDisclaimer: Use at your own risk. I cannot test ts since I do nothave a 49G+ either. Never forget to check if your ARM code is longerthan 263 bytes.If MASD complains that the GOSUB jump is too short, do not replace itAnybody want to write a libra that assembles ARM code inside MASDsyntax assembly and replaces it by the raw $ codes? === Subject: Re: Quick write-up on ARM code under HP49G+> for that, thats exactly the info I was looking for. Išll update> the page later.Youšre welcome. as well, Išm glad to see you take the effortto collect information on ts!-- === Subject: Re: Quick write-up on ARM code under HP49G+Thomas,I donšt know if youšre interested, but Išve been tnking about sending youmy now spare 49G+. I got a replacement from HP a couple weeks ago and Ididnšt have to send my old one back so itšs just sitting here. Reizingyou donšt have a 49G+, I was wondering if you wanted to use it so that youcould then start hacking away at it and hopefully start inform us on yournew discoveries with ARM, etc... :)Aside from the stiff, sometimes non-registering keys, its fully function.If youšre interested, please let me know, Išd be more than happy to give itoff to a new owner. Youšve done a lot for ts group and I love your HP-42Xemulator, so hopefully ts will spark some new interest for you that willbeneŪt us l.> for that, thats exactly the info I was looking for. Išll update> the page later.> Youšre welcome. as well, Išm glad to see you take the effort> to collect information on ts!> If you want to reply by mail, substitute my Ūrst and last name for> Œfooš and Œbarš, respectively === Subject: Re: Quick write-up on ARM code under HP49G+> Thomas,> I donšt know if youšre interested, but Išve been tnking about sendingyou> my now spare 49G+. I got a replacement from HP a couple weeks ago and I> didnšt have to send my old one back so itšs just sitting here. Reizing> you donšt have a 49G+, I was wondering if you wanted to use it so that you> could then start hacking away at it and hopefully start inform us on your> new discoveries with ARM, etc... :) is my hero!I hope wešll soon get more info about ARM9@49g+ from Thomas! === Subject: Re: Quick write-up on ARM code under HP49G+> I donšt know if youšre interested, but Išve been tnking about> sending you my now spare 49G+.> I hope wešll soon get more info about ARM9@49g+ from Thomas!emulators. The 49G+ will go to Hrastprogrammer instead.Congratulations Hrastprogrammer!I might buy a 49G+ anyway since the ARM stuff got me interested, too,so VPN stay tuned -- === Subject: Re: HP49G HP49G+ saturn & C++> Does anyone know if a tool exist to write program in C++ for our powerfull> HP49G and HP49G+ ?For the 49G: no.for the 49G+: maybe one day... === Subject: Re: HP49G HP49G+ saturn & C++C++ produces bloated code... However, embedded C subroutines might bepossible using the gcc arm cross-compiler to a guy named ...therešs a ton of work ahead thou.> evebody,> Does anyone know if a tool exist to write program in C++ for our powerfull> HP49G and HP49G+ ?> === Subject: Re: HP49G HP49G+ saturn & C++> C++ produces bloated code... However, embedded C subroutines might be> possible using the gcc arm cross-compiler to a guy named ...> therešs a ton of work ahead thou.Ts might not be as efŪcient as when we fully understand how to access theARM, but for the moment that should still be working (though I never triedmyself).http://www.hpcc.org/search.php?que=gcc === Subject: Re: 49g+: freezes, random power-offs, earthquakes for l the help, I upgraded the ROM. (It was build 19 of course)B, I have been using the cculator for less than 2 weeks with the originbatteries, and yesterday I got a Low batte message wle ting to move aŪle to Port 2. Now either the batteries were depleted as they came or thebuggy ROM I used was draining them fast.An addition question: Is it norm that the seri number displayed on theupdate screen differs form the one at the back of the unit? === Subject: Re: 49g+: freezes, random power-offs, earthquakesX> Ūle to Port 2. Now either the batteries were depleted as they came or the> buggy ROM I used was draining them fast.Maybe both> An addition question: Is it norm that the seri number displayed onthe> update screen differs form the one at the back of the unit?Yes.They should differ.If they are the same, youšve got a collectors goldso note that you can search the newsgroup arcve fromhttp://groups.google.com/advanced_group_search?group= comp.sys.hp48or just browse it fromhttp://groups.google.com/groups?q=comp.sys.hp48. === Subject: Re: 49g+: freezes, random power-offs, earthquakes > Strangely enough, my niecešs geneogy report indicates that I have a> certain Bondy (so known as Douaire), born 21 Feb 1659 or> 1660 in Qu.8ebec (I suppose the city), for an eighth great-grandfather> (and hešs so the husband of my Ūrst cousin ten times removed). You> donšt suppose....So, you could change your name, then! saying to Douaire, the French 007 === Subject: Re: 49g+: freezes, random power-offs, earthquakes> FYI, on my 49g+ when I still had ROM 1.22, I was so experiencing> frequent crashes, freezes and random power-offs. I had transferred> l of my programs and libraries from my old 49G (many of wch were> originly from my 48SX) into the new 49g+. I eventuly discovered> that I had a corrupt program object in memo. I actuly emailed> ts to VPN at s request and wonder if he ever played with it? It> would produce some ve interesting crashes when one tried to run> it... XYes, thank you, it wiped my memo, no, no,. the 49g+ memoThe (ien) object has been destroyed. === Subject: Re: 49g+: freezes, random power-offs, earthquakesSo, did it produce any wild patterns on the LCD or did it simply wipethe hpšs memo? I did warn you about backing up! I trust you didnšt lose anytng important...> FYI, on my 49g+ when I still had ROM 1.22, I was so experiencing> frequent crashes, freezes and random power-offs. I had transferred> l of my programs and libraries from my old 49G (many of wch were> originly from my 48SX) into the new 49g+. I eventuly discovered> that I had a corrupt program object in memo. I actuly emailed> ts to VPN at s request and wonder if he ever played with it? It> would produce some ve interesting crashes when one tried to run> it... > X> Yes, thank you, it wiped my memo, no, no,. the 49g+ memo> The (ien) object has been destroyed.> === Subject: [HP49g+] SysRpl problem l,I have a HP49g+, and I tried to begin with the SysRpl.I have extable and the ROM 1.22So I download Programming in SysRpl, I read it (only a part) and Itried ts codeBEGINBINT1REPKEY?UNTILI wanted just a programme that waits for pressing the F1 key.But unfortunatly it doesnšt work :(Then, I ask Yoann to help me and he told me to do the same but withextable2 (you can get it here:http://zon.wins.uva.nl/~dominik/hpcc/emacs/ )I tried and it worked perfectly. :)Since I upload the lastest ROM 1.23 because of the freezes, turn offetc....(in a previous subject)And Ūnly that litle programme doesnšt work any more! :(What can I do?Where do my problem come ? a lot and sor for my english (Išm french)===I need to code a Ūeld as combo Ūeld; that is, able to select from a list and able to accept new entries as well. The documentation states that BINT2 is the vue for the Ūeld-type parameter. Išve tried to make it work using sever other vues in the other parametebut it doesnšt work. I have not seen a single example of a form made with ^IfMain that uses a combo Ūeld. Any help? === Subject: Using MTRW or NUM.SLV in UserRPLFor sever programs I intend to use the keyboard functions MTRW (matrix writer)or NUM.SLV. If you cl MTRW witn a program, you do not launch the matrix writer, but you Ūnd the string ŒMTRWš on your stack.Any idea to launch MTRW witn a program? === Subject: Re: Using MTRW or NUM.SLV in UserRPL> For sever programs I intend to use the keyboard functions MTRW (matrixwriter)> or NUM.SLV. If you cl MTRW witn a program, you do not launch thematrix> writer, but you Ūnd the string ŒMTRWš on your stack.> Any idea to launch MTRW witn a program?<< -43.2 KEYEV >> === Subject: Re: Using MTRW or NUM.SLV in UserRPL> Any idea to launch MTRW witn a program?> << -43.2 KEYEV >>A good example to illustrate the redundancy of UsrRPL. With extable, thesame can be programmed as :: DoNewMatrix ; Ts program has 7.5 bytesonly compared to the 28.5 bytes of VPNšs. 3 times as much! And myprogram is many times as fast === Subject: Re: Using MTRW or NUM.SLV in UserRPL> Any idea to launch MTRW witn a program?> << -43.2 KEYEV > A good example to illustrate the redundancy of UsrRPL. With extable, the> same can be programmed as :: DoNewMatrix ; Ts program has 7.5 bytes> only compared to the 28.5 bytes of VPNšs. 3 times as much! And my> program is many times as fast Wolfgang - how many bytes is extable? - mine is smler! === Subject: Re: Using MTRW or NUM.SLV in UserRPL> Wolfgang - how many bytes is extable?2134.5 bytes.It does only, however, contain o entries in that case, wch is thesmlest extable you can create with the Extable Tools libra.-- === Subject: Re: UTPN inverse in SysRPL?Unfortunatelly I canšt answer the origin question of an inverse forUTPN by means of SysRPL. But perhaps the following idea is helpfull for you by using NUM.SLV:NUM.SLV does not accept UTPN as a function, but it accepts a littleprogram like << -> X << 0 1 X UTPN >>wch can be stored by ŒNDš STO->So you can use the equation Y = ND(X) in NUM.SLVand you get the inverse of UTPN by means of a numeric solution. === Subject: Re: UTPN inverse in SysRPL?> Any bady knwo how to make a inverse UTPN (UTPC,UTPF,UTPT) function onSysRPL?XIf there is no inverse you could SOLVE it (or use ROOT) === Subject: Re: UTPN inverse in SysRPL?> Any bady knwo how to make a inverse UTPN (UTPC,UTPF,UTPT) function on> SysRPL?> X> If there is no inverse you could SOLVE it (or use ROOT)> Yes, but how make it on SysRPL? === Subject: HP49G User RPL Programming HelpI have a problem on the HP49G adding combinations of strings withnumbers. How do I get rid of the full stop after each number?i.e. BRG: 5. + returns BRG:5. I would like to see BRG:5On the HP48 ts was solved by changing the Ūx to STD.Any help would be appreciated. === Subject: Re: HP49G User RPL Programming HelpIPR->ISolved it for me - didnšt have to change anytng else> I have a problem on the HP49G adding combinations of strings with> numbers. How do I get rid of the full stop after each number?> i.e. BRG: 5. + returns BRG:5.> I would like to see BRG:5> On the HP48 ts was solved by changing the Ūx to STD.> Any help would be appreciated. === Subject: Re: HP49G User RPL Programming Help> I have a problem on the HP49G adding combinations of strings with> numbers. How do I get rid of the full stop after each number?> i.e. BRG: 5. + returns BRG:5.> I would like to see BRG:5- use R->I Ūrst- avoid res with dot & use Exact mode only- the radix off by string manipulation === Subject: Re: HP49G User RPL Programming Help> I have a problem on the HP49G adding combinations of strings with> numbers. How do I get rid of the full stop after each number?> i.e. BRG: 5. + returns BRG:5.> I would like to see BRG:5> - use R->I Ūrst> - avoid res with dot & use Exact mode only> - the radix off by string manipulation> exact mode Ūxed the problem. === Subject: DocŪler revised,The mini-tool DocŪler for reading books or technic documents on theSD-card or elsewhere on the 49+ has been updated. Text scrolling is nowmuch faster as in Headman, some people may say itšs too fast Maybe Jorge is so kind to use ts method so in Headman, I have notime at present. As a er of fact, on the 49+ routines areprogrammable in SysRPL wch are hopelessly slow on the 48/49. http://page.mi.fu-berlin.de/~raut/WR49/index.htm#Misc === Subject: Re: USAG program (version 49G) > , at my web Details: use FONT8 and ūag -72 is cleared. (then restore it).> USAG 49 is based in the program USAG for HP 48 by Hewlett Packard, but> the conversion is only by GaaK.> Indeed, a ve useful tool, IMHO. !.Problems with: MERGE, FREE, ROOT, GOR, GXOR... ?New version available soon. Bugs Ūxed... optimized...Report others suggestions or bugs please. === Subject: Re: Dare I mention the 49g+ Keyboard?36200 series.> What seri number Robert?> I just recieved my replacement and it still has the keyboard problem.> some questions :> 1. did your old 49g+ passed the keyboard test or it passed only> after pressing hard enough ?> 2. Do you Ūnd the new keyboard quieter ? or the same hollow,springy> noise ?> I just received my replacement -- ironicly the door bell rang atthe> exact moment I was reading an Weissšs 2/26 posting in New HP 49G+> still> not registering keystrokes! so I was ve anxious to test my new> replacement. The new cculator I got has seri number CN402....Rom> 1.23> build 31.> (1) My origin 49g+ (CN331) wch had the keypress recognitionproblem> ways passed the keyboard test. Others have posted and I agree that> ts> test is not a good indicator for the keypress recognition problem.> (2) The new keyboard is GREAT. Išve owned a 48gx and the 49g+keyboard> strikes me as ve similar. Compared to the old keyboard, the new one> is> quieter, softer, and no longer has that hollow sound. Išm sor about> anšs experience, but for me ts has made l the difference...I now> have> a truly great cculator.> === Subject: Re: Dare I mention the 49g+ Keyboard?I mean 35200 series.> 36200 series.> What seri number Robert?> I just recieved my replacement and it still has the keyboard problem.> some questions :> 1. did your old 49g+ passed the keyboard test or it passed only> after pressing hard enough ?> 2. Do you Ūnd the new keyboard quieter ? or the same hollow,> springy> noise ?> I just received my replacement -- ironicly the door bell rang at> the> exact moment I was reading an Weissšs 2/26 posting in New HP 49G+> still> not registering keystrokes! so I was ve anxious to test my new> replacement. The new cculator I got has seri number CN402....> Rom> 1.23> build 31.> (1) My origin 49g+ (CN331) wch had the keypress recognition> problem> ways passed the keyboard test. Others have posted and I agreethat> ts> test is not a good indicator for the keypress recognition problem.> (2) The new keyboard is GREAT. Išve owned a 48gx and the 49g+> keyboard> strikes me as ve similar. Compared to the old keyboard, the newone> is> quieter, softer, and no longer has that hollow sound. Išm sorabout> anšs experience, but for me ts has made l the difference...Inow> have> a truly great cculator.> === Subject: Re: Dare I mention the 49g+ Keyboard?>< > I so own a 48SX and a 41CX. IMHO, even the new keyboard on my 49g+> is still a little too stiff and not quite as nice feeling as my 48SX -> though it now seems just as reliable. Maybe it will soften up a> little with use and more resemble the 48SX? However, my 41CX still> has an awesome keyboard that has, IMO, a perfect feel with just the> right pressure and click. The 49g+ doesnšt come close - but then,> neither does my 48SX...> I do not mind the sound nor the overl tactile click of the newer> 49g+ keys but they still do require a little too much pressure to be> truly comfortable when compared to most of the older style of HP> keyboards that Išve had experience with. I hope that my new 49g+ keys> soften up with use since I might rely get to liking their feel then.> My Ūrst 49g+ did seem to get smoother with age...> I got my new 49g+ Friday, complete with a new keyboard. I was surprised when I opened the box and there was a whole new bubble pack. Itšs a CN402 seri number.Personly, I donšt mind the pressure. I came from TI cculators (I donšt mean to start a ūame war here), wch have the softest keybaords Išve ever seen. Išm perfectly content with the pressure requirement AS LONG AS the click means the keypress is recognized (not so on the earlier models, as we l know ). The new keyboard does satisfy ts constraint. I can now say that I love my 49g+.My new 49g+šs keyboard is great! It has only missed one or o keys in the life of the unit (o days). === Subject: Re: Dare I mention the 49g+ Keyboard?Thatšs too much.> I do not mind the sound nor the overl tactile click of the newer> 49g+ keys but they still do require a little too much pressure to be> truly comfortable when compared to most of the older style of HP> keyboards that Išve had experience with. I hope that my new 49g+ keys> soften up with use since I might rely get to liking their feel then.> My Ūrst 49g+ did seem to get smoother with age...I got my new 49g+ Friday, complete with a new keyboard. I was surprised> when I opened the box and there was a whole new bubble pack. Itšs a> CN402 seri number.> Personly, I donšt mind the pressure. I came from TI cculators (I> donšt mean to start a ūame war here), wch have the softest keybaords> Išve ever seen. Išm perfectly content with the pressure requirement AS> LONG AS the click means the keypress is recognized (not so on the> earlier models, as we l know ). The new keyboard does satisfy> ts constraint. I can now say that I love my 49g+.> My new 49g+šs keyboard is great! It has only missed one or o keys in> the life of the unit (o days).> === Subject: Re: important problem with purchase of g49+> someone knows if is possible to know if a g49+ is the old versione (with old> keyboard) or the new version without open the packaging.> The serial number isnšt visible from outer packaging?they replyed: Unfortunately I do not have any information concerningthe issue you mentioned. l cculatowch come to the customer,should work without any problem., might tnk l the cculators inthe market at these days are the new version ones, but I want be sure,and the only tnk i know is that the seri number must begin with352, but still waiting someone to tell how to identify the defectiveccs without unpacking... === Subject: HELP! I tnk I fried my cculator!These are the premises to the apparent mfunction:As I was reading an ebook on my 49g+, the macne suddenly switched off, andwhen I pressed ON, a message box came up: Warning: LowBat(S).The same kept coming up after resetting.I tried the hf-depleted sets that were on my table (around 1.2 V), but thecculator didnšt come to life.(There were some lines ūasng on the lcd, butnotng else.)Then I extracted the set of rechargeable batteries from my ti-89 and put themin the 49g+. They still had some 1.35 V.After ts, the cculator displayed the logo, the usu screen came up, butafter 1 second or so the stack display area Ūlled with garbage. The header and the menu at the bottom remained, with the clock blinking.However, no reaction to keypresses, except that the RS and LS signs ūashed upif I pressed them.I thought ts is because of the low power of the batteries, so I looked for anew set, Ūnally I found one. Instling them did not change the situation:garbage Ūlls the middle of the screen.THen I tried removing l batteries (including the backup battery), then putting them back: the same result.Now I thought that the system got corrupted somehow, and tried to reloadROM 1.23. Reset+(+)+(-) brought up the update screen, I pressed 2 to get to theI didnšt t the rest.After ts I tried to upload the ROM. (At Ūrst the Win xp device manager didnštrecognize the USB device correctly.) Then I was able to upload the ROM, itŪnished successfully. But after the reset, the situation did not change:screen Ūlling with garbage 1 second after boot.I tried uploading a different version of ROM, with the same result.Finly I removed l batteries and let it be, and came here to c for help.Now the following questions arise:-Can I save my cculator (How?), or is it irreparably dead?-In the second case, where can I ask for a warranty replacement?I bought it via hpcc.org.(Dying from changing the batteries means defect inworkmansp, IMO.) === Subject: Re: HELP! I tnk I fried my cculator!T removing the button battery as well and wait a few hours. === Subject: Re: HELP! I tnk I fried my cculator!> Try removing the button batte as well and wait a few hours.> so: t keeping the backspace key pressed during boot prevents external libraries from being loadedjust in case on of them got mangled... === Subject: A Pacman for HP49G+ evebody,One more game available for HP49G+, its Pacman is based on the orgin game from DJLudo made with HPPasc, with levels. Play with the arrow, press enter to start. Press Backspace to quit.Enjoy the game. You can Ūnd it here : http://sebastien.devroe.free.fr===: >Unless you are ordering outside the US, it is hardly bogus - it is USlaw that they charge tax in any state where they have a physicpresence. Know of a state without a W-mart you can order from?: === Subject: Anyone using Power48 on Pm?Content-transfer-encoding: 8bitSeems like a great way to run HP49 stuff without caring around thebig cc l the time.Is it stable/reliable? Good emulation? === Subject: Re: Anyone using Power48 on Pm?> Seems like a great way to run HP49 stuff without caring around the> big cc l the time.> Is it stable/reliable? Good emulation?I use Power48 l the time. Version 1.0 is ve stable and reliable. The current Version 1.4 beta is not ve stable, but it is the one Iuse. I have Ūgured out what causes crashes, and I avoid them. IMHO,it is an excellent emulation. I use a Sony Clie NX70V. If you havean OS4 rather than an OS5 macne, you might be disappointed with thespeed. As a plus, it so has 48GX and the 48SX emulation so. Vegood emulation, and glitch free. If you go to the website,power48.mobilevoodoo.com, you can get a good idea of what the grapcsare like.The only problem I have noticed is that if you want to press o keysat once (not including the on key) you cannot. I guess the 49G serieswouldnšt be complete without keyboard problems ;)Oh, and so sometimes I would press a key and it would registerice, but that doesnšt happen any more. I donšt know what I did.Many to Robert ldinger (AKA Slinger) for writing such a greatprogram. === Subject: Re: Anyone using Power48 on Pm?I use Power48 on my Sony Clie and my Tungsten E without any problems. Infact it can run a HP41CV emulator (from the SX plug in card) without anyproblems. I liked the sofare so much I sent in a donation to thedeveloper. It is an excellent bit of sofare.De Richmond> Seems like a great way to run HP49 stuff without caring around the> big cc l the time.> Is it stable/reliable? Good emulation? === Subject: Re: Anyone using Power48 on Pm?I will not say that EMU48 on Pm or on Pocket PC is reliable. In Fact, Ihave face a lot of freezing win EMU48 on Pocket PC. And a lot of Reset ofthe Emulator leading to the lost of the usefull librairies.Ts is my experience either with HP48 or HP49 ROM.I was obliged to car evewhere my cculator, and in fact I prefer tocar my cculator than my PDA.clone a .8ecrit dans le message de> Seems like a great way to run HP49 stuff without caring around the> big cc l the time.> Is it stable/reliable? Good emulation? === Subject: Directions for Using GNU Binutils for ARM9 Programming for 49g+ in LinuxGood news for you people ting to use ARM assemblers on Linux!I have Ūnly Ūgured out how to get GNU Binutils (speciŪcly as) to compile ARM9 code. The directions following are for Linux. Example source code (both ARM and Saturn portions) and notes will follow the directions.First, you need to get the Binutils source code from http://ftp.gnu.org/gnu/binutils/ ; the latest version is 2.14. There is no reason to compile GCC.Unpack it, go to the directo where you unpacked it. Do:./conŪgure --target=arm-wince-peYes, I know thatšs WinCEšs PE output. Wešll end up stripping the header off later, so you can use anytng with arm- ... I just used arm-wince-pe since I have a PocketPC-based PDA around.Run Œmakeš and Œmake instlš like a norm instlation. It shouldnšt take long.arm-wince-pe-as -marm9 -EL -o arm-wince-pe-ld -o arm-wince-pe-objcopy -O bina is the source code Ūle, customarily *.S is an object-code Ūle, customarily *.o is a PE executable, customarily *.exe (Windows) or no extension (*nix) is a bina Ūle: no executable header or anytng. Cl it what you like :)Now that you have a Ūle with no executable header, you can use a hex editor and copy it into a Saturn prog (hex, of course). Donšt forget to reverse the nibbles! The code ends before the Ūrst 0xFFFFFFFF (Yes, there are plenty of 00šs to follow.)Example source:ARM9: STMFD SP!, {R4-R8,LR} @ save R4-R8 and return pointer MOV R2, #0x00001200 @ make R2 = 0x00001200 ADD R2, R2, #0x00000034 @ add 0x00000034 to R2, making it 0x00001234 STR R2, [R1, #0x90C] @ store R2 into Saturn register A LDMFD SP!, {R4-R8,PC} @ restore ARM registers and return to SaturnSaturn: CODE GOSBVL SAVPTR @ Save pointer to RPL INTOFF @ Disable Interrupts GOSUB end @ Goto *end, pusng the codešs address to RSTK *begin $0F14D29E10420A3E3282282E54C2282E7602282EC092185E0F18DB8E @ ts corresponds to ARM9 program above *end C=RSTK D0=C D1=80100 @ Get the codešs address off of RSTK @ so, get ready for MOVEDOWN LC(5) (end)-(begin) @ Load C with length of ARM9 code $80B60 @ BUSCC 60 (MOVEDOWN) LC 80100 @ load C with 80100, where we moved code to $80BFF @ BUSCC FF (ARMSAT) INTON @ Enable interrupts GOVLNG PUSH#OOP @ push A (A) onto the stack and return to RPL ENDCODE @Notes on code:ARM: The ADD is because of the way ARM stores immediate (constant) operands. There can only be 8-bits (consecutive) that are non-zero in any constant.Saturn: Donšt forget to reverse the nibbles in the ARM code. so, therešs a limit to the length of the ARM code, wch I donšt remember right now. === Subject: HP49G+ Conectivity problem, plz help!Išve instled the Conn4x and the USB drivers to connect my 49g+ to mycomputer. However, when I t the Quick Connect button, the programruturns a error message saying that The connectivity kit is unable toopen communication to: HPx9G+ .What can I do to resolve it? Have somebody ever had ts problem too?PS: Išm using WinXP .=== Subject: Re: HP49G+ Conectivity problem, plz help!Yes it happened to me with the Ūrst release of Conn4x :http://h20015.www2.hp.com/en/sofareList.jhtml?reg=&cc=us& prodId=hp49ggraph351775&lc=en&plc=&softitem=Microsoft% 20Windows%20XP&sw_lang=en&pagetype=sofareFirst, go on HP site to download the latest connection Kit and USB driverfor HP49G+Second verify when you plug HP49G+ that it appears in the periphers(system panel)Lucas DB a .8ecrit dans le message de> Išve instled the Conn4x and the USB drivers to connect my 49g+ to my> computer. However, when I t the Quick Connect button, the program> ruturns a error message saying that The connectivity kit is unable to> open communication to: HPx9G+ .> What can I do to resolve it? Have somebody ever had ts problem too?> PS: Išm using WinXP. === Subject: Canšt Ūnd latest conn4xI have looked l over the HP site for the latest HP49g+ sofareupdates (Conn4x, ROM, docs) and canšt Ūnd anytng.Found a link in ts newsgroup to Conn4x and it too gets me nowhereIšve looked l over the manus on instructions on how to upgrade theROM and so no luck.Anyone knows what is going on? === Subject: Re: Canšt Ūnd latest conn4xNo problems here.http://h20000.www2.hp.com/bizsupport/TechSupport/ DriverDownload.jsp?pnameOID=351776&loce=en_US&taskId=135& prodSeriesId=33568&prodTypeId=215348&swEnvOID=20orhttp:// url.com/4stmConn4x and the latest Rom update are on there.Click ŒManusš on the left to get the manus.hew F. G.> I have looked l over the HP site for the latest HP49g+ sofare> updates (Conn4x, ROM, docs) and canšt Ūnd anytng.> Found a link in ts newsgroup to Conn4x and it too gets me nowhere> Išve looked l over the manus on instructions on how to upgrade the> ROM and so no luck.> Anyone knows what is going on?> === Subject: Re: Canšt Ūnd latest conn4xFollow ts link I have looked l over the HP site for the latest HP49g+ sofare> updates (Conn4x, ROM, docs) and canšt Ūnd anytng.> Found a link in ts newsgroup to Conn4x and it too gets me nowhere> Išve looked l over the manus on instructions on how to upgrade the> ROM and so no luck.> Anyone knows what is going on?> === Subject: I found it !!Well, I found Conn4x going through ts link: http://tinyurl.com/3cbptBut I certainly could not get to it going through the HP site.Can someone tell me where to Ūnd the docs describing the ROM upgrade procedure? again. === Subject: Re: I found it !!> Well, I found Conn4x going through ts link: http://tinyurl.com/3cbpt> But I certainly could not get to it going through the HP site.> Can someone tell me where to Ūnd the docs describing the ROM upgrade procedure?> again.> It should be in the readme.txt Ūle that comes in the rom update package which extracts to your conn4x directo by default. === Subject: Re: I found it !!> Can someone tell me where to Ūnd the docs describing the ROM upgrade procedure?> again.> Just plug in cc and select the ROM update from the ROM menu. You will be guided by on-screen prompts. Read them carefully.One important trick, when you hold the + and - key, release RESET pin in back, count to 4 then release + and - keys.-- - - - - - - === Subject: Dare I mention the 49g+ Keyboard?I likewise recently received a replacement 49g+, s.n. 402xxxxx. l the keys register well, with norm pressure. However, wle the toprow is quieter, I donšt notice any difference in the remaining keys. Cursorkeys are especily loud.The service provided by HP Support was great! I cled the support no.((800) 474-6836) at 1:00 PM Wednesday and received the replacement 49g+macne. I did have to give a credit card no. but was assured that therewould be no charge if the origin was returned witn 7 days === .Subject: Re: SD Card Problem Thank you l for your responses. As it turns out, my HP49G+ is serinumber CN33403544. Luckily one of the guys in my study group has an HP49G+wch had a s/n that started CN408***** and it was able to read my SD cardperfectly. So once we loaded the Stat49pr.lib Ūle into s cculator, wewere able to transfer it to mine using the infrared link (more than one wayto skin a cat). I was then Ūnly able to instl and use the program.Thatšll teach me to buy a low seri number macne (who knew?)...Best -JRB> I have started having a defective SD reader problems too. Ironicly,> it began the evening after I got an HP tech support person to sp my> new cculator for the keyboard > Yes, it is fored correctly. It works in my Windows and Linux> computeas well as my iPaq (wch only works with FAT16), so it is> deŪnitely the cculator.> Just wanted to let yšl know ts does not seem to be an isolatedproblem.I did, and I am waiting for a replacement. It seems some cculatorswith> bad keyboards (seri num. CN333*****) so have defective SD circuits,or> at least thatšs what the guy at HP told me. I suggest you get version2.2> build 2348 of the connectivity kit (itšs a zip Ūle, and works!!!) untilyou> cl tech support at 1-800-hp-invent.>>Has anyone had trouble recling a .lib Ūle from their SD card on the> 49G+?>>I copied the Ūle from my PC to the SD card using a SanDisk Cruzerdevice.>>For some reason, I canšt recl the Ūle from the SD card into the>>cculator to instl it.>>Išm ting to get the Stat49pro libra instled so I can use it in an>>upcoming statistics test.>>I followed the instructions in the User Guide for working with SD cards,> but>>notng I tried worked. The Ūle doesnšt even show up when I use theŪle>>manager to view the contents of the SD. I know the SD card is good.>>Ts is ve frustrating, as I canšt get the USB connection to workeither>>in order to download the .lib Ūle to the 49G+ in the quicker, more>>convention way. === Subject: eBay new in box 48GX with black on grey display,check:http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem& item=3080907080with a beautifull black on grey display.jbssm === Subject: GROB rotation for 49g+ ?Does anyone know if there is an assembly code program available, thatworks on the 49g+, wch will rotate a GROB (in 90 degree increments)that is sitting on the stack? I have tried the various ones that areon hpcc.org but none seem to work on my 49g+. === Subject: Re: HP 49G+ : Libra on SD-Card: Proof of Concept code [LONG]> Or you could write a program that makes wrapper libraries for eve> libra on the card, wch would reduce libra size in memo to> maybe 20-30 bytes per command. I tnk ts could be done without any> ARM programming.The code in ts post does exactly ts. Since I do not have a 49G+,I cannot say if itšs fast enough, but it integrates most librariesseamlessly, i.e. you can use their commands, messages etc. as usu.Unfortunately there are exceptions to ts: l libraries that switchbanks to access themselves, most notably extable.So before I start with the lenghty explanations, could someone withenough SysRPL knowledge please download the source directo (seebelow), substitute code to recl libraries from the SD card, thentest it? I marked o lines near the end of the post, they get theROMID in a BINT and need to change it into the (re) libra.Have fun... and please... t it ThomasHOW IT WORKS====* MKSTUB creates a stub libra that contains: A copy of the hash and message table, and for each command in the libra (named or unnamed) a command of the form CON(1) 8 CON(3) romid CON(3) command_number :: ROMPTR 555 1 ; where ROMPTR 555 1 is a cl to RUN, see below. Normly only a named command has the Ūelds before it, but putting them before eve command lows RUN to Ūnd out the ROMID and command number to execute. (I tnk there might be another, shorter way, but Išm not sure if itšll be GC-safe.)* You save the stub libra in port 0, and the origin libra in port 2. Ts would have to be changed to port 2 and 3 respectively in the Ūn libra, but I can only test on the 49G.* If you cl a command from the libra, it is trapped by the stub and RUN is cled, wch does the following: - Find out the ROM ID and command number, by going up a level in the RPL return stack and stepping back to the CON Ūelds. - See if ts libra is ready in the cache. Currently the variable STUBCACHE is used to store the cached libra. - If not, recl :2:ROMID (i.e. the origin libra) and save it in the cache for next time. - Look up the command from the libra and copy it to TEMPOB, in the same way that ROMPTR@ does, then COLA EV it.SIZE COMPARISONSSize comparisons of random libraries and their stubs: Name Libra Stub Rel. size -- -------- ------ --------- MAWK 10353.5 2615.5 25.3 % Nosy 4.0 6498.5 1253.0 19.3 % OT49 4927.0 776.0 15.7 % FEM48 3.2pro 28143.5 3305.5 11.7 % statpro 47211.5 4833.0 10.2 % UFL 3066.0 209.0 6.83% XEQLIB 62493.5 1799.0 2.88% Mendel v1.5 38084.5 1072.5 2.82% GrobEdit V2.6 27344.0 431.5 1.57% InFormBuilder 10022.0 140.5 1.40%The relative size essentily depends on the librašs size to numberof commands ratio. According to these numbers the stubs could free upquite a bit of intern memo.ISSUES======* MKSTUB needs proper argument checking.* The contents of STUBCACHE are not typechecked. The cache should be dden from the user anyway.* I only tested on a 49G non-plus with Mendel* Idely the cache could be set to a maximum size to wch the libra could Ūll it to its liking (except if a libra does not Ūt into it, in wch case it would probably have to be cached anyway).* The Ūrst code block in RUN is not GC-safe* It may be possible to generate smler stubs* ROMID #555h has ready been taken* If you store the stub in port 2, youšll get an endless loop* There are no re comments in the code. Išll add them but only if someone actuly reads ts stuffFILES=====Disclaimer: Ts code is *experiment* and as such not expected topreserve your data or sanity. Use at your own risk.Downloads:Libra: http://n.ethz.ch/student/trast/download/stubber.libDirecto: http://n.ethz.ch/student/trast/download/stubber.dir(If youšre reading ts in a year from when ts post was written, thelinks are most likely dead.)The libra is the result of CRLIB in the source directo. Both ofthem must be transferred in bina mode.Source code for your what-does-ts-register-contain-at-ts-pointguessing pleasure:----8<---- MKSTUB.S ----8<----:: CK1 GARBAGE CODEGOSBVL PopASavptr R1=A.WLC(5) DOLIB DAT1=C.A D1+10LC(5) 12+3+(4*5)D-C.A SKNC { GOVLNG GPMEMERR }$3B $403545552440 DAT1=C.12 D1+12A=R1.W D0=A D0+10 C=0.A C=DAT0.B?C=0.A { C+1.A } C+1.A C+C.AAD0EX A+C.A D0=AA=0.A A=DAT0.X R1=A.WDAT1=A.X D1+3CD1EX R4=C.W D1=C D1+20D0+23 A=DAT0.W LC 0C5D0?A=C.A -> { D-16.A SKNC { GOVLNG GPMEMERR } DAT1=A.W D1+16}D0-20GOSUB copytabGOSUB copytabAD1EX C=R4.W D1=CC=A-C.A DAT1=C.A D1+5AD1EX R2=A.WC=DAT0.A AD0EX A+C.A D0=A D0+5A=DAT0.A R3=A.WLC(5) 5+25+4 C+A.AD-C.A SKNC { GOVLNG GPMEMERR }LC(5) DOHXS DAT1=C.A D1+5DAT1=A.A D1+5B=A.A A+2.ALC(5) 7+(codeend)-(codebegin)-5B-10.A SKIPC { DAT1=A.A D1+5 A+C.A B-5.A UPNC}B=0.AA=R3.W A-10.A R3=A.WSKIPC { LC(5) 7+(codeend)-(codebegin) D-C.A SKNC { GOVLNG GPMEMERR } LC(1) 8 DAT1=C.P D1+1 C=R1.W DAT1=C.X D1+3 C=B.A DAT1=C.X D1+3 GOSUB codeend *codebegin !RPL :: ROMPTR 555 1 ; !ASM *codeend C=RSTK D0=C LC(5) (codeend)-(codebegin) GOSBVL MOVEDOWN B+1.A C=R3.W C-5.A R3=C.W UPNC}CD1EX D1=C A=R2.W D0=AC-A.A DAT0=C.A$39 $(5) DOCOL $(5) DOBINTDAT1=C.10 D1+10C=R1.W DAT1=C.A D1+5$39 $(5) TOSRRP $(5) SEMIDAT1=C.10 D1+14AD1EX D0=AGOSBVL Shrink$A=R0.W D0=A D0+5 A=DAT0.A A-4.AGOSBVL DoCRCDAT0=A.4GOVLNG GPPushR0Lp*copytabA=DAT0.A D0+5?A#0.A { C=R4.W CD0EX DAT0=A.A D0+5 CD0EX R4=C.W RTN}CD0EX RSTK=C C+A.A D0=CC=DAT0.A D0-5CD1EX B=C.A CD1EXC+5.A D-C.A SKNC { GOVLNG GPMEMERR }GOSBVL MOVEDOWNC=R4.W D0=CA=B.A A-C.A DAT0=A.AD0+5 C=RSTK CD0EX R4=C.WRTN ENDCODE;---->8---- END OF MKSTUB.S ---->8--------8<---- RUN.S ----8<----:: CODESAVEC=B.A D0=C D0-5 C=DAT0.AD0=C D0-19C=0.A C=DAT0.X R0=C.WD0-3 C=DAT0.X R1=C.WGOSBVL PUSH2#RPL ENDCODE ( #cmd #lib ) Œ ID STUBCACHE @ ITE :: LIB>#_ DROPOVER #= ; FSE ( #cmd #lib ūag ) ITE :: DROP Œ ID STUBCACHE @DROP_ ; :: UNCOERCE tok2_ >TAG (change these o lines to recl EvNoCK:_ xRCL from the SD card) DUP Œ ID STUBCACHE STO ; ( #cmd lib ) SWAP ERRSET CODEGOTO start ENDCODE ERRTRAP :: GARBAGE CODE*startSAVEGOSBVL POP# R1=A.W B=A.AA=DAT1.A D0=AD0+10 C=0.A C=DAT0.B?C=0.A { C+1.A }C+1.A C+C.A AD0EX A+C.A D0=AC=DAT0.X R2=C.WD0+13 C=DAT0.A AD0EX A+C.AA+B.A B+B.A B+B.A A+B.A D0=AD0+10 C=DAT0.A AD0EX C+A.A D0=CR3=C.W B=C.A GOSBVL SKIPOB CD0EXC-B.A RSTK=CC+11.A GOSBVL CREATETEMPSKNC { GOVLNG GPMEMERR }LC(5) DOROMP DAT0=C.A D0+5C=R2.W DAT0=C.X D0+3C=R1.W DAT0=C.X D0+3C=R3.W CD0EX R0=C.W D1=CC=RSTK GOSBVL MOVEDOWNGOSBVL GETPTRD1+5 D+1.A C=R0.W DAT1=C.ARPL ENDCODE ; ( ob ) COLA EV;---->8---- END OF RUN.S ---->8------ === Subject: Re: HP49G LGPL CAS releaseManel.I have instled the cygwin, but when I run make computer shows the follow:$ make->Dependence Vger7.n->Dependence Vger6.n->Dependence Vger4.n->Dependence Vger3.n->Dependence Vger2.n->Dependence Vger1.n->Dependence Vger0.n->Dependence System.n->Dependence FS.n->Compiling genūash.cInfo: resolving _optarg by linking to __imp__optarg (auto-import)Info: resolving _optind by linking to __imp__optind (auto-import)->getting ext CAS2/cas2user.srplcomp: not found->Copying CAS2/qpi.sext2 CAS2/qpi.ext2->Copying CAS2/qpi.sext CAS2/qpi.ext->Copying CAS2/zfact.sext2 CAS2/zfact.ext2->Copying CAS2/zfact.sext CAS2/zfact.ext->getting ext CAS2/ev.srplcomp: not found->getting ext CAS2/sing.srplcomp: not found->getting ext CAS2/ckconv.srplcomp: not found->getting ext CAS2/desolve.srplcomp: not found->getting ext CAS2/laplace.srplcomp: not found->getting ext CAS2/interf.srplcomp: not found->getting ext CAS2/trigint.srplcomp: not found->getting ext CAS2/signe.srplcomp: not found->getting ext CAS2/sum.srplcomp: not found->Copying CAS2/util.sext2 CAS2/util.ext2->Copying CAS2/util.sext CAS2/util.ext->getting ext CAS2/specutil.srplcomp: not found->Copying CAS2/sympsi.sext2 CAS2/sympsi.ext2->Copying CAS2/sympsi.sext CAS2/sympsi.ext->Copying CAS2/numpsi.sext2 CAS2/numpsi.ext2->Copying CAS2/numpsi.sext CAS2/numpsi.ext->Copying CAS2/asmpsi.sext2 CAS2/asmpsi.ext2->Copying CAS2/asmpsi.sext CAS2/asmpsi.ext->Copying CAS2/symgamma.sext2 CAS2/symgamma.ext2->Copying CAS2/symgamma.sext CAS2/symgamma.ext->Copying CAS2/numgamma.sext2 CAS2/numgamma.ext2->Copying CAS2/numgamma.sext CAS2/numgamma.ext->Copying CAS2/asmgamma.sext2 CAS2/asmgamma.ext2->Copying CAS2/asmgamma.sext CAS2/asmgamma.ext->getting ext CAS2/matrix.srplcomp: not found->getting ext CAS2/integr7.srplcomp: not found->getting ext CAS2/arit.srplcomp: not found->getting ext CAS2/sturm.srplcomp: not found->getting ext CAS2/help.srplcomp: not found->getting ext CAS2/bank64.srplcomp: not found->getting ext CAS2/cas2msg.srplcomp: not found->getting ext CAS2/cas2cfg.srplcomp: not foundmakerom: not found->change in CAS2 interfaceawk: equ.awk:2: fat: cannot open Ūlerecto)awk: cas2extdec.awk:2: fat: cannot opee or directo)awk: cas2ext.awk:2: fat: cannot open fr directo)awk: funclist.awk:2: fat: cannot openor directo)->Rpcompiling HeaderCAS2/header.srplcomp: not foundmake: *** [HeaderCAS2/header.o] Error 1It shows some error and doesnt make useful Ūles.How can I do it? === Subject: Re: HP49G LGPL CAS release Lilian, , l:YES! I second that, it would be a shame otherwise, a mulit-distribution model would deŪnitely not be the way to go, it would be a disaster IMHO.-Question: is Bernard willing to take on that role, or does ts release imply, as has asked, whether or not Bernard is cleaning s hands of the whole affair ??On another front, wouldnšt some form of cvs source control over a centr Ūle server, be a good way to keep tabs on development in progress; what are the possiblities here, and how would it be administered, and who would be willing and able to set that up ... therešs great scope in the release of ts code, but I tnk there is serious need for direction - ideas anyone ??Aside: In any case, ts development means a re-tnk on l the prelimina work Išve been doing with Hollandšs MATHLIB, and wle I havenšt seriously studied the Bernardšs CAS code, I am sure therešs plenty there on offer for code reuse. > But maybe, Bernard, you should keep the control over the next changes on the> source code... to avoid some problems like the Linux multi distribution> compatibilities :(> >> a lot. Does that mean you wonšt be working on it anymore.>>I havenšt looked at it yet but do we have a list of known bugs?>>Once again to l those who made ts possible and those who will> be>>working on it. === Subject: Re: HP49G LGPL CAS release> -Question: is Bernard willing to take on that role, or does ts > release imply, as has asked, whether or not Bernard is cleaning > s hands of the whole affair ??I donšt have enough free time to work on my giac/xcas project andto maintain the LGPL version of the CAS. l I can do is givesome expertise without any warranty of reply on the existing codeor on the gorithms.I donšt know if someone will rely modify the CAS, but even ifnobody does, there are some parts of the code that can be usedinside other CAS (well I used some gorithms that I developpedon the 49 for giac/xcas like matrix jordanization),so itšs worth to release it.