Post Reply 
HP 50G help
08-14-2015, 09:28 PM
Post: #37
RE: HP 50G help
(08-14-2015 04:25 PM)Hlib Wrote:  Anybody, please, describe to me properties of a port 0:IREM. What does it necessary for? My experience doesn't coincide with the description in AUR and UG (HP-50G). It is like hidden-reserved scope.

The "Ports" are areas of memory for storage, typically used for data that is not modified often.
To fully understand "why" there's port memory when you could perfectly well store things in variables you need to look back in time. Back in the day you had a small amount of ram, and you could buy memory cards to "expand" your memory.
Originally, the numbered Ports were those additional RAM modules you could install in an external RAM card. Some cards would allow to "merge" part of that extra RAM into your main memory, and the rest was in "Ports".
Access to those ports was in "banks", so not all memory was visible at all times, you had to switch banks to access the different ports.

Now as far as Port 0: it's in main RAM, takes your user space, and is not banked, so it's actually none of the above. But it retains that special way to access it, separate from the rest of the memory.
Port 0 actually grows and shrinks as you store objects, so it's slow to store objects (it's much faster to store them in variables). However, because it's not banked, reading from it is very fast, unlike for instance Port2, which is banked and it's Flash, not RAM.
I personally have never, ever used Port0 for anything, as it consumes main RAM permanently. On the 50G you have Port1 (ERAM) for that, which is banked (hence a bit slower access) but doesn't consume main memory. And for more permanent libraries, port 2 (Flash).
There's, however, some old libraries that may need to run from Port0 because they are incompatible with banking. They are very rare but you may find some in hpcalc.org (the installation instructions would tell you if you must install in Port0).
That's the only "modern" use I can think of for Port 0.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 50G help - jrmc114064 - 04-23-2015, 04:11 AM
RE: HP 50G help - Gilles - 04-23-2015, 09:09 AM
RE: HP 50G help - jrmc114064 - 04-23-2015, 04:00 PM
RE: HP 50G help - Gilles - 04-25-2015, 12:48 PM
RE: HP 50G help - Marcio - 04-25-2015, 02:23 PM
RE: HP 50G help - Gilles - 04-25-2015, 02:38 PM
RE: HP 50G help - Marcio - 04-25-2015, 02:46 PM
RE: HP 50G help - Sukiari - 04-27-2015, 10:05 PM
RE: HP 50G help - Marcio - 04-27-2015, 10:13 PM
RE: HP 50G help - jrmc114064 - 04-23-2015, 04:08 PM
RE: HP 50G help - Tugdual - 04-23-2015, 09:08 PM
RE: HP 50G help - peacecalc - 04-23-2015, 10:23 PM
RE: HP 50G help - Tugdual - 04-24-2015, 07:16 AM
RE: HP 50G help - Marcus von Cube - 04-24-2015, 08:41 AM
RE: HP 50G help - Tugdual - 04-24-2015, 10:21 AM
RE: HP 50G help - Marcus von Cube - 04-24-2015, 11:08 AM
RE: HP 50G help - Tugdual - 04-24-2015, 11:52 AM
RE: HP 50G help - DavidM - 04-24-2015, 04:23 PM
RE: HP 50G help - Tugdual - 04-24-2015, 05:19 PM
RE: HP 50G help - Han - 04-24-2015, 05:32 PM
RE: HP 50G help - rprosperi - 04-24-2015, 05:33 PM
RE: HP 50G help - DavidM - 04-24-2015, 07:34 PM
RE: HP 50G help - Tugdual - 04-24-2015, 10:25 PM
RE: HP 50G help - Sukiari - 04-25-2015, 02:42 PM
RE: HP 50G help - Sukiari - 04-25-2015, 02:37 PM
RE: HP 50G help - Marcio - 04-24-2015, 01:25 AM
RE: HP 50G help - Hlib - 06-08-2015, 08:46 PM
RE: HP 50G help - Hlib - 07-23-2015, 04:26 PM
RE: HP 50G help - DavidM - 07-23-2015, 06:15 PM
RE: HP 50G help - rprosperi - 07-23-2015, 09:32 PM
RE: HP 50G help - Hlib - 07-23-2015, 10:18 PM
RE: HP 50G help - Brad Barton - 07-23-2015, 11:17 PM
RE: HP 50G help - rprosperi - 07-24-2015, 01:30 AM
RE: HP 50G help - Hlib - 07-23-2015, 08:40 PM
RE: HP 50G help - Hlib - 07-24-2015, 09:21 AM
RE: HP 50G help - Hlib - 08-14-2015, 04:25 PM
RE: HP 50G help - Claudio L. - 08-14-2015 09:28 PM
RE: HP 50G help - Hlib - 03-17-2016, 06:22 PM
RE: HP 50G help - ttw - 03-17-2016, 10:41 PM
RE: HP 50G help - Hlib - 08-06-2016, 02:47 PM
RE: HP 50G help - Hlib - 08-05-2016, 02:44 PM
RE: HP 50G help - Claudio L. - 08-05-2016, 04:31 PM
RE: HP 50G help - Hlib - 08-06-2016, 12:11 PM
RE: HP 50G help - Vtile - 08-06-2016, 03:26 PM
RE: HP 50G help - Massimo Gnerucci - 08-06-2016, 03:29 PM
RE: HP 50G help - Claudio L. - 08-06-2016, 07:23 PM
RE: HP 50G help - Claudio L. - 08-06-2016, 07:30 PM
RE: HP 50G help - Hlib - 08-06-2016, 08:05 PM
RE: HP 50G help - DavidM - 08-06-2016, 09:31 PM
RE: HP 50G help - Joe Horn - 08-07-2016, 10:59 PM
RE: HP 50G help - DavidM - 08-08-2016, 02:41 AM
RE: HP 50G help - rprosperi - 08-09-2016, 11:32 PM
RE: HP 50G help - DavidM - 08-10-2016, 01:44 AM
RE: HP 50G help - Vtile - 08-08-2016, 01:25 AM
RE: HP 50G help - Joe Horn - 08-08-2016, 12:17 PM



User(s) browsing this thread: 1 Guest(s)