HP Forums
Prime: Program size limited to 64K? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Prime: Program size limited to 64K? (/thread-255954.html)



Prime: Program size limited to 64K? - Erwin Ried - 11-16-2013

When the program is bigger than 64K, the size label glitches to 1K, 2K,... and so (<< progsize 64 MOD >>).

Also, the connectivity kit shows "program too big" in the status when I try to send the program to the pc.

Format limit? or bug?


Re: Prime: Program size limited to 64K? - debrouxl - 11-16-2013

I think it's a display bug:

* in http://www.omnimaga.org/index.php?topic=17406.0 , DJ Omnimaga made a program much larger than 64 KB, before splitting it in pieces larger than 64 KB, due to the unreliability and slowness of transfers with both the HP Connectivity Kit and test_hpcalcs;

* the packet format contains a 32-bit file size field.


Re: Prime: Program size limited to 64K? - Erwin Ried - 11-16-2013

Quote:
I think it's a display bug:

* in http://www.omnimaga.org/index.php?topic=17406.0 , DJ Omnimaga made a program much larger than 64 KB, before splitting it in pieces larger than 64 KB, due to the unreliability and slowness of transfers with both the HP Connectivity Kit and test_hpcalcs;

* the packet format contains a 32-bit file size field.

Wow that program from DJ Omnimaga is so epic!

You are right, it might be so an artificial limitation, because inside it seems the format can support up to 16MB
http://cl.ly/SVr3


Re: Prime: Program size limited to 64K? - debrouxl - 11-17-2013

Probably 4 GB.


Re: Prime: Program size limited to 64K? - Joseph Ec - 11-17-2013

Hi Erwin,

I have a large APP program... days ago passed the 64K size and saw the (progsize MOD 64) issue. But programs goes well.

The main and strange issue that experimented is the APP do not execute in REAL CALC and even editing the prog there is the code... some time the code disappers without reason and I need to repeat the process some times.

Best regards!!
jose