baconwaifu / propforth

Automatically exported from code.google.com/p/propforth
0 stars 0 forks source link

fl and allot #196

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
caskaz reports an issue

What steps will reproduce the problem?
1. Paste into teraterm:

fl
wvariable buffer d830 allot

2. ERROR MESAAGE:

CON:Prop0 Cog5 RESET - last status:94 UNKNOWN ERROR

3.

Word"fl" use free-area to compile source.
So buffer reserve 832bytes and "fl" can't operate. [It's cog5, not cog6]

To prevent this, you write codes between "fl" and "wvariable buffer d830 allot"
Reserve-bytes depend on codes-amount. 

Original issue reported on code.google.com by prof.bra...@gmail.com on 20 Jun 2013 at 2:09

GoogleCodeExporter commented 8 years ago
The above is from caskaz's forum post:

http://forums.parallax.com/showthread.php/146693-Propforth-v5.5-is-available-for
-download?p=1191034&viewfull=1#post1191034

Original comment by prof.bra...@gmail.com on 20 Jun 2013 at 2:09

GoogleCodeExporter commented 8 years ago
fl allocates all free memory except 128 bytes, and buffers the incoming code in 
that memory. The memory is "freed" as the characters are interpreted. So if you 
use fl, memory will be limited to the number of characters interpreted so far 
+128 - dictionary use. Usually this is ok, but in cases as above it becomes a 
problem.

PropForth 6 includes a serial driver with flow control so fl is unnecessary. 
This  requires a proxy server on the PC side.

Original comment by salsa...@gmail.com on 20 Jun 2013 at 4:42

GoogleCodeExporter commented 8 years ago
Updated the flaload wiki page.
http://code.google.com/p/propforth/wiki/flfastload

Original comment by prof.bra...@gmail.com on 24 Jun 2013 at 4:55