Difference: MicroSdBlocks (101 vs. 102)

Revision 1022022-10-27 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 286 to 286
  coredump ( "name" -- ) Dumps the flash memory (core) into the file <name>.
Changed:
<
<
user variables which contain file desciptor (pointer to file object structure) stdin ( -- addr ) for fs-emit and fs-emit? stdout ( -- addr ) for fs-key and fs-key? stderr ( -- addr ) not used yet

fs-emit ( char -- ) Emits a character to a file (stdout) fs-emit? ( -- flag ) Ready to send a character to a file? (stdout) fs-key ( -- char ) Waits for and fetches a character from file. <0 for EOF or error. (stdin) fs-key? ( -- flag ) Checks if a character is remaining (stdin)

>
>
user variables which contain file desciptor (pointer address a to file object structure) stdin ( -- a ) for fs-emit and fs-emit? stdout ( -- a ) for fs-key and fs-key? stderr ( -- a ) not used yet

fs-emit ( c -- ) Emits a character c to a file (stdout) fs-emit? ( -- ? ) Ready to send a character to a file? (stdout) fs-key ( -- c ) Waits for and fetches a character from file. <0 for EOF or error. (stdin) fs-key? ( -- ? ) Checks if a character is remaining (stdin)

 

Words from redirection.fs

Changed:
<
<
>f_open ( addr c-addr -- ior ) open a file to redirect to (emit, type, ...)
>>f_open ( addr c-addr -- ior ) open a file to redirect to (emit, type, ...). Append to file
>file ( -- addr1 addr2 ) redirect to a file (emit, type, ...)
>
>
>f_open ( a1 a2 -- ior ) open a file a1 to redirect to a2 (emit, type, ...)
>>f_open ( a1 a2 -- ior ) open a file to redirect to (emit, type, ...). Append to file
>file ( -- a1 a2 ) redirect to a file (emit, type, ...)
 >f_close ( -- ior ) close redirection to file
Changed:
<
<
<f_open ( addr1 c-addr -- ior ) open a file to redirect from (key, accept, ...) <file ( -- addr2 addr3) redirection from a file (key, accept, ...)
>
>
<f_open ( a1 a2 -- ior ) open a file to redirect from (key, accept, ...) <file ( -- a1 a2) redirection from a file (key, accept, ...)
 <f_close ( -- ior ) close redirection from file
Changed:
<
<
>term ( addr1 addr2 -- ) terminate to-file redirection
<term ( addr1 addr2 -- ) terminate from-file redirection
>
>
>term ( a1 a2 -- ) terminate to-file redirection
<term ( a1 a2 -- ) terminate from-file redirection
 <>term ( a1 a2 a3 a4 -- ) terminate redirection
Changed:
<
<
>uart ( -- addr1 addr2 ) redirection to uart
<uart ( -- addr1 addr2 ) redirection from uart (key, accept, ...)
>
>
>uart ( -- a1 a2 ) redirection to uart
<uart ( -- a1 a2 ) redirection from uart (key, accept, ...)
 <>uart ( -- a1 a2 a3 a4 ) redirection from and to uart
Changed:
<
<
>cdc ( -- addr1 addr2 ) redirection to cdc (USB serial)
<cdc ( -- addr1 addr2 ) redirection from cdc (key, accept, ...)
>
>
>cdc ( -- a1 a2 ) redirection to cdc (USB serial)
<cdc ( -- a1 a2 ) redirection from cdc (key, accept, ...)
 <>cdc ( -- a1 a2 a3 a4 ) redirection from and to cdc
Changed:
<
<
>crs ( -- addr1 addr2 ) redirection to crs (BLE serial)
<crs ( -- addr1 addr2 ) redirection from crs(key, accept, ...)
>
>
>crs ( -- a1 a2 ) redirection to crs (BLE serial)
<crs ( -- a1 a2 ) redirection from crs(key, accept, ...)
 <>crs ( -- a1 a2 a3 a4 ) redirection from and to crs
Changed:
<
<
>oled ( -- addr1 addr2 ) redirection to oled
>
>
>oled ( -- a1 a2 ) redirection to oled
 
Changed:
<
<
>plex ( -- addr1 addr2 ) redirection to plex LED display
>
>
>plex ( -- a1 a2 ) redirection to plex LED display
 

Words from conditional.fs. See also https://forth-standard.org/standard/tools.

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback