48GX and 50G compatible - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: 48GX and 50G compatible (/thread-20213.html) |
48GX and 50G compatible - ChanTran - 07-22-2023 12:45 PM I have a number of programs written for the 48GX in library form you think they would run on the 50G? RE: 48GX and 50G compatible - DavidM - 07-23-2023 12:01 PM (07-22-2023 12:45 PM)ChanTran Wrote: I have a number of programs written for the 48GX in library form you think they would run on the 50G? The only possible answer is "maybe". Both the 48GX and the 50g can run RPL programs. While there are differences in the implementations of RPL on those two calculators, you will generally find that a User RPL program written for the 48GX can be adapted to run on the 50g with minor adjustments. Libraries are objects containing both programs and data which is compiled into a specific binary format for the target calculator. The 48GX and 50g are not binary code compatible. So a library created for the 48GX will definitely not work on a 50g. You would need to re-create the library from source code on the 50g and then re-compile the library using 50g-compatible tools. The amount of effort required for this type of conversion is dependent on the nature of the code itself. If you've used commands and features from third-party libraries on the 48GX, the complexity of the conversion will be increased. Code that depends on the display dimensions being 131x64 on the 48GX may have problems with the larger screen of the 50g. The 50g supports both "exact" and "approximate" modes, with the 48GX only (natively) using approximate calculations. This may or may not present conversion issues when moving the code to the 50g. There are other considerations, of course, but these are some of the things to take an initial look at. |