Fixed up bterm to work on tighter devices.
Added way to RELINQUISH part of the forth heap. key? for bluetooth serial.
This commit is contained in:
@ -28,6 +28,11 @@ internals definitions
|
||||
( Print address line leaving room )
|
||||
: dump-line ( a -- a ) cr <# #s #> 20 over - >r type r> spaces ;
|
||||
|
||||
( Semi-dangerous word to trim down the system heap )
|
||||
DEFINED? realloc [IF]
|
||||
: relinquish ( n -- ) negate 'heap-size +! 'heap-start @ 'heap-size @ realloc drop ;
|
||||
[THEN]
|
||||
|
||||
forth definitions internals
|
||||
|
||||
( Examine Memory )
|
||||
|
||||
Reference in New Issue
Block a user