HP Forums
HP50G - SYSRPL Question - 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: HP50G - SYSRPL Question (/thread-13165.html)



HP50G - SYSRPL Question - JeffB - 06-23-2019 08:11 PM

I would like to know of any SYSRPL code to STO an object in a folder in a port (if its possible).

So far this is what I have found out

{ ID DIR ID OB } tok1 >TAG ' xRCL EvalNoCK ( this works for RCL )

BINT2 { ID DIR ID OB } tok1 >TAG xSTO ( displays Bad Argument type )


HPs document 'SD00 Using an SD Card' is saying it can by using key entries

Any help on this would be appreciated

Jeff


RE: HP50G - SYSRPL Question - rprosperi - 06-24-2019 12:32 AM

(06-23-2019 08:11 PM)JeffB Wrote:  I would like to know of any SYSRPL code to STO an object in a folder in a port (if its possible).

So far this is what I have found out

{ ID DIR ID OB } tok1 >TAG ' xRCL EvalNoCK ( this works for RCL )

BINT2 { ID DIR ID OB } tok1 >TAG xSTO ( displays Bad Argument type )


HPs document 'SD00 Using an SD Card' is saying it can by using key entries

Any help on this would be appreciated

Jeff

The HP note is about using an SD Card, and I believe the techniques do not apply to 'normal' non-SD Card ports. The SD card uses the FAT file system, which inherently supports folders, while the native Port-0/Port-1/Port-2, from the 48, don't support folders.


RE: HP50G - SYSRPL Question - cyrille de brébisson - 06-24-2019 05:33 AM

Hello,

Non SD ports store objects as single "blobs" at top level.
This is why you can NOT do a sto in a port that is not as SD card in a "sub" object.

At the time, I added code to do RCL in basically anything (as I needed it for the #include functions of the ASM compiler), but a STO is a much more complicated operation to perform and I never implemented it (especially when we are talking about flash which is basically read only).

Cyrille


RE: HP50G - SYSRPL Question - JeffB - 06-24-2019 08:40 AM

Thanks rprosperi and Cyrille.

I thought as much, but wanted to ask to be sure.

Jeff