A138 ==== > The question is: > Can i program in c++ language for my hp 49? > there's any program that translate c++ in sysrpl? As far as I know, there exists C cross compiler for HP48 series, mantained by Alex Ramos. Check the http://hp48xgcc.sourceforge.net/ . It does contain few library functions. I do not know if similar project is going on for HP49 of for C++. ==== Most HP49G clocks are not very accurate. One second a day may not seem to be much, but will sum up to a minute in two months. Additionally, the temperature of the HP49G, and therefore the usage of the calculator, influences the clock speed. ClckAdjst is a library, which provides tools for automatic clock adjustments and much more. ClckAdjst provides fast and easy setting and adjustment of the system clock. It handles changes of the time zone and automatic daylight saving time changes for USA and Europe. It provides an accurate automatic clock adjustment and shows the daily deviation of your HP49G clock. Next Sunday we will switch to daylight saving time in Europe. In the US the switch will be done one week later. Download of the Lib is available on: http://users.belgacom.net/EAA/Heiko/HP49/download.htm . I checked the package and saw that basically it works by correcting time with alarm routine. Altought it is little more sophisticated. I am using the kinda similar method currently, but was thinking of somewhat different approach for this task. Wouldn't it be possible to incorporate the time correction routine into System Outer Loop? It would be easy to implement in Java Stack Replacement program, or in MetaKernal. Easier in the first one, because sources are freely availailable. How come there are no sutch solutions yet? ==== thanks for testing and your comments. > I checked the package and saw that basically it works by correcting time > with alarm routine. The basic idea behind the package is, *not using an alarmroutine. It can be done by those who prefer... The clock need to be adjusted only, when the accurate time is required! The corrective action can be done whenever you want, e.g. directly before showing the time or calculating something with the system time. Say, you travel to NewYork, make the change for the TimeZone, and run the corrective action (AutoADjust AAD it ist called in the package). This will check, if their is daylight saving time in NewYork and makes the setting of the clock, taking into account that some inaccuracy has been counted up, since the last adjustment). > Wouldn't it be possible to incorporate > the time correction routine into System Outer Loop? It would be easy to > implement in Java Stack Replacement program, or in MetaKernal. Easier in > the first one, because sources are freely availailable. How come there > are no sutch solutions yet? This is not my world:-( It would be nice to make AAD a little faster, by using sysRPL or ML. But I am not familar enough, with. Than AAD could be started together with the switch-ON. Heiko ==== > The basic idea behind the package is, *not using an alarmroutine. > It can be done by those who prefer... The clock need to be adjusted only, when the accurate time is > required! The corrective action can be done whenever you want, > e.g. directly before showing the time or calculating something with > the system time. Say, you travel to NewYork, make the > change for the TimeZone, and run the corrective action > (AutoADjust AAD it ist called in the package). This will > check, if their is daylight saving time in NewYork and makes > the setting of the clock, taking into account that some inaccuracy has > been counted up, since the last adjustment). Yes, I read about this from the documentation. But this method is not universal. I mean that the existing time display routines or other time related programs can not use this method by default. They must be recompiled :( The alarm method is more universal, but it has weaknesses. For example: if set to every night alarm at 4 am. then you have to be aware that your work will be interrupted if you do it too late at evening or too early at morning ;) And between the corrections there is always the moving discrepancy between the real time and the calculator time... >>Wouldn't it be possible to incorporate >>the time correction routine into System Outer Loop? It would be easy to >>implement in Java Stack Replacement program, or in MetaKernal. Easier in >>the first one, because sources are freely availailable. How come there >>are no sutch solutions yet? This was a rethorical question. I was just wondering. By all means it was not directed at you or your software :) ==== There's a sample (only POKE) with sources written in C at http://privat.swol.de/ChristophGiesselink/dde48.zip. Here it works like expected. One thing to the text below. The Link-Item is ignored but it _must_ be a non empty string! The Topic-Name is Stack but I don't know how you have to adjust the Service- (or Server-) name to Emu48 in Basic. 2nd you can transfer only CF_HPOBJ clipboard objects, which must be registered first. The CF_HPOBJ clipboard object is the HP stack object with leading 4 bytes containig the size of the stack object. The stuff just behind the DdeClientTransaction() command is only for detecting the window handle of the Emu48 instance who received the data to bring this instance into foreground after sending. Christoph John O'Flaherty schrieb im Newsbeitrag > Having noted that the text file distributed with emu48 says that it > implements DDE for stack exchanges, I'm trying to use that capability > with visual basic. I've had no luck so far. > Visual basic has methods and properties for text boxes and forms that > allow them to do DDE, but all the examples show it working with excel, > and not with any generic foreign application. > basic: > txtDDE.LinkMode = 0 'start from no link > txtDDE.LinkTopic = Emu48 'set up link > txtDDE.LinkItem = ' does nothing > txtDDE.LinkMode = 2 ' actually starts the link > When I change line 2 of that code to > txtDDE.LinkTopic = Emu48|Stack, I think this indicates that a connection has now been established, but > foreign application won't perform method or operation. Has anyone > used the DDE feature in Emu48, or does anyone know the exact syntax or > method to use? ==== ==== > Is that also working in ALL the models (including 28) the same way? Ok, ok. I was reasonably certain that they worked on the 28 series (I couldn't see any reason why not), but now I've tested them on both a 28C version 1BB and a 28S version 2BB (as far as I know, this was the only version of the 28S), and they do indeed work exactly as intended. Provided, of course, that LASTARG is changed to LAST and -55 DUP SF CF (in two of the programs) is changed to 31 DUP CF SF. Previously tested on a version E 48SX, version R 48GX, and revision 1.19-6 49G, with 2 and -55 entered as 2. and -55. on the 49G, although 2 and -55 also work. I don't see any reason to suspect that they wouldn't work on other ROMs on the 28 series, 48 series, or 49G. I'd almost forgotten how nice the 28S is, very well designed (with the notable exceptions of the lack of any input method other than the keyboard and the battery cover and batteries), although I wouldn't want to go back to programming it on a regular basis. By the way, the 48 series and 49G accept LAST as a synonyn for LASTARG, but it always decompiles as LASTARG. Perhaps that might save someone a few keystrokes when typing in the command. Does anyone know of a built-in shortcut for LASTARG; shorter than the PRG ERROR menu or the catalog, that is? It seems a strange thing to leave out. Of course, the program that returns *nothing* in the event that the last arguments buffer (Is that the correct term? For the lack of a better term, that's what I've been using.) is empty may well be considered buggy by those accustomed to a LSTx key that always returns *something*. > If so, great work, Mr. Bond! I've been wondering whether a variation that leaves all of the contents of the last arguments buffer as they were is possible. I can't think of any way to do it in UserRPL, but perhaps it could be accomplished in SysRPL, if anyone cares to play around with it. -- ==== > > Try the following; note that it restores whatever was the most recent > > object in the last arguments buffer back to the last arguments buffer. You're welcome Bill. I'm glad that someone finds it to be useful. I was mostly just playing around. I did remember that I'd seen a version of LASTX somewhere but hadn't bothered to look it up. I had previously written a version of LASTX that mostly worked, except that in the somewhat unlikely event that the last arguments buffer were empty, it would return *nothing* to the stack but put the real number 0 in the last arguments buffer. I was never quite satisfied with that, so I decided to take another look. And then a couple of more looks. If you don't mind, which version do you prefer? For myself, I prefer the version that, when the last arguments buffer is empty, puts the real number 0 both on the stack and in the last arguments buffer. -- ==== If you don't mind, which version do you prefer? For myself, I prefer the > version that, when the last arguments buffer is empty, puts the real > number 0 both on the stack and in the last arguments buffer. Yes, that's the one I prefer. Actually, I don't use LASTX much, but it sure is useful when you need it. Bill ==== ... And don't miss their new website either: http://www.hp-calculators.com HPCC #1046 i myself (student) simply love RPN. I find hp calcs to have only 2 strong points: RPN and programing, the rest should be greatly improved. Another thing i find HP calcs lacking is chemistry utilities (mainly chemical equations managing tools, atomic structure tools, organic chemistry stuff and stequeometric stuff [stequiometric is probably misspelled, my english isnt perfect]) About teachers using RPN.... perhaps phyisics and chemistry teachers..... PERHAPS... Only on some ocations, since my teaches hardly use calculators of any kind (only for stuff like radicals, hell they dont even use it for trigonometry functions) Another thing i noticed is that hp calcs ar NOT popular here (S America). PThers only about 5 in the school, and im the only one that can actually use the calculator. [AC] ==== ==== At first I thought that maybe I been asleep for a week or so and that today was April 1st. But no, it's still March. Wasn't the TI 86 'designed' by teachers and their students?? And we all know what a great model that was. Is this HP's way of letting us know that they are pulling out of the calc business?? Good Luck?? No!! Good Grief! Bill Spence > Users count.. Effort to get students and teachers in grades K-12 involved in > creating the next version of an HP calculator. ==== Is there a way to (or software that will) isolate a variable in a linear inequality on the HP48 (e.g. 2*x-4 > 0 isolate x.). If not, is this something that the HP49 CAS can do? Ollie. ==== The HP 48G ISOL cannot do it, but the HP 49G commands SOLVE or SOLVEVX will give 'X>2' Is there a way to (or software that will) isolate a variable in a linear > inequality on the HP48 (e.g. 2*x-4 > 0 isolate x.). If not, is this something that the HP49 CAS can do? ==== So Erable or ALG48 won't do it either? > The HP 48G ISOL cannot do it, but the HP 49G commands > SOLVE or SOLVEVX will give 'X>2' > > Is there a way to (or software that will) isolate a variable in a linear > > inequality on the HP48 (e.g. 2*x-4 > 0 isolate x.). > > If not, is this something that the HP49 CAS can do? > > Ollie. > > ==== Hang on... I tried it on my HP49 emulator and got a 'solvx error: non unary operator'. Is there a trick to doing this? > The HP 48G ISOL cannot do it, but the HP 49G commands > SOLVE or SOLVEVX will give 'X>2' > > Is there a way to (or software that will) isolate a variable in a linear > > inequality on the HP48 (e.g. 2*x-4 > 0 isolate x.). > > If not, is this something that the HP49 CAS can do? > > Ollie. > > ==== Get the latest 1.19-6 ROM > Hang on... I tried it on my HP49 emulator and got a 'solvx error: non unary operator'. > Is there a trick to doing this? > > The HP 48G ISOL cannot do it, but the HP 49G commands > > SOLVE or SOLVEVX will give 'X>2' > > > > Is there a way to (or software that will) isolate a variable in a linear >inequality on the HP48 (e.g. 2*x-4 > 0 isolate x.). > > > > If not, is this something that the HP49 CAS can do? > > > > > Ollie. > > > > > ==== the SX and GX communicate fine over the infrared link. And, by the way, they communicate even faster over a wired link, if you get or make the appropriate cable or adapters. > although the 49G has an IR window, there is NOTHING about IR in the > documentation... can you comment on this ? It might look sort of like a window, but it seems to be quite opaque and doesn't have any IR transmitter or receiver behind it. I suppose that they considered it best not to even mention that bad news. > however, the 49G and 48GX communicate well over the wire link... but its slower > than the IR. Slower than the IR? If you've managed to communicate with the 49G by IR, then please let us know how to do it. If you mean slower than communicating between two 48s, well, perhaps if you used binary transfer between the 48s but ASCII with the 49G, or weren't using 9600 bps with the 49G, but otherwise, I find it just a bit difficult to believe, but perhaps possible; the 49G is indeed slower than the 48GX at some things. > Please comment on the Connectivity Kit F1897A........do I or do I not need it > ????????????? No, you don't need it. You need a connection between the calculator and your PC, and the freely available software needed for communications. For that matter, you really don't even need to connect with anything at all if you don't want to; any of these calculators is quite functional all by itself, although being able to communicate with other devices certainly has advantages. > The 49G comes with a serial adapter piece that plugs into a PC serial port..... > and there is conectivity software file on the web.... Only the later units came with that adapter, and the connectivity software isn't included in the package with the calculator. > so WHY would HP tell me in the manual that I need a connectivity kit > ?????????? To make more profit? Would a company like HP have such a base motive as mere profit? And of course you need a bit more than was supplied with the calculator, especially the earlier units, and would you expect HP to recommend that you obtain it somewhere else when it's able and happy to sell it to you? > WHAT ELSE COMES in their connectivity kit ??? I believe that some more software (The latest official flash file for the ROM, extable, Adobe Acrobat Reader, an emulator, and a patch for MS Windows 95) and documentation (all of the 49G guides in five languages), all of which you could no doubt download for free, is on the CD-R along with the connectivity kit software, but nothing that you need. But I could be wrong; mine came as a free upgrade kit, and the version that's for sale might be different. Save your money, unless you have more than you can figure out what to do with, in which case send it to me. -- ==== > Will you all then apology (HP, the NG, not ME) in this newsgroup > when HP officially releases it's new line of Saturn based > calculators, which will replace the current ones > ??? Sure I will, but Bhuvanesh is right: You are living in a dream world if you think that will ever happen. HP has dropped the ball almost ten years ago. The world has moved on, and nobody is interested in new HP calculators anymore. Well, almost nobody, as in: there is no business opportunity for HP there anymore. Deal with it. -- Helen. ==== > The Lusitania? That was a different war altogether. I hope you know more > about HP calcs than you do about history. A mistake. I've made some calculator related mistakes, too. (-: How to pull a post back? I've never done it before. > Speaking of which, could we get back to calculators please? ==== I've tried examples from news groups. There is no info in the users guide. The advanced user guide example does not work. I'm in Algebraic Mode. I hit left shift calc Limit & series Limit(1/x, x=0) Returns a Bad Argument type. What in the $%#@ am I doing wrong. I had this figured out at one time but I have been unable to find the document that showed me how to do it correctly. to upgrade but gives no info on how to find out if you must. Help Please. ==== I found the following on Eric's great site: This web site is once again using too much bandwidth, and as a result I need a volunteer to host another mirror of my site. At present I get at least 80-90GB of traffic a month, meaning a mirror would need to be able MySQL and are willing to allow me to use on the order of 30GB of bandwidth a month, please contact me. http://www.hpcalc.org/contact.php Would be great to spare some bandwith