Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | |||||||||||||||||||
Line: 254 to 254 | |||||||||||||||||||
The FIL data structure can be created as follows:
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | create fil #fil allot | ||||||||||||||||||
> > | create fil /fil allot | ||||||||||||||||||
See also f_open![]() | |||||||||||||||||||
Line: 259 to 259 | |||||||||||||||||||
See also f_open![]() | |||||||||||||||||||
Added: | |||||||||||||||||||
> > | |||||||||||||||||||
Data StructuresFATFS | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | FATFS![]() | ||||||||||||||||||
> > | Only used in FS_init() . We have only one drive.
For details see FATFS![]() | ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | FATFS { 1fs_type 1drv 1n_fats 1wflag 1fsi_flag 2id 2n_rootdir 2csize 2ssize 4lfnbuf 4dirbuf 4sobj 4last_clst 4free_clst 4cdir 4cdc_scl 4cdc_size 4cdc_ofs 4n_fatent 4fsize 4volbase 4fatbase 4dirbase 4database 4winsect 512win } | ||||||||||||||||||
> > | /FATFS ( -- u ) Gets the FATFS structure size | ||||||||||||||||||
Added: | |||||||||||||||||||
> > | |||||||||||||||||||
FIL | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | FIL![]() | ||||||||||||||||||
> > | For details see FIL![]() | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | _FDID { 4fs 2id 1attr 1stat 4sclust 4objsize 4n_cont 4n_frag 4c_scl 4c_size 4c_ofs 4lockid } 40 | ||||||||||||||||||
> > | /FIL ( -- u ) Gets the FIL structure size | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | FIL { 40obj 1flag 1err 4fptr 4clust 4sect 4dir_sect 4dir_ptr 4cltbl 512buf } 582 | ||||||||||||||||||
> > | FA_READ ( -- u ) Gets the Mode Flag FA_READ
FA_WRITE ( -- u ) Gets the Mode Flag FA_WRITE
FA_OPEN_EXISTING ( -- u ) Gets the Mode Flag FA_OPEN_EXISTING
FA_CREATE_NEW ( -- u ) Gets the Mode Flag FA_CREATE_NEW
FA_CREATE_ALWAYS ( -- u ) Gets the Mode Flag FA_CREATE_ALWAYS
A_OPEN_ALWAYS ( -- u ) Gets the Mode Flag FA_OPEN_ALWAYS
FA_OPEN_APPEND ( -- u ) Gets the Mode Flag FA_OPEN_APPEND
| ||||||||||||||||||
DIR | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | DIR![]() | ||||||||||||||||||
> > | For details see DIR![]() /DIR ( -- u ) Gets the DIR structure size | ||||||||||||||||||
FILINFO | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | FILINFO![]() | ||||||||||||||||||
> > | For details see FILINFO![]() /FILINFO ( -- u ) Gets the FILINFO structure size | ||||||||||||||||||
Added: | |||||||||||||||||||
> > | fsize+ ( -- u ) Gets the FILINFO structure fsize offset fdate+ ( -- u ) Gets the FILINFO structure fdate offset ftime+ ( -- u ) Gets the FILINFO structure ftime offset fattrib+ ( -- u ) Gets the FILINFO structure fattrib offset fname+ ( -- u ) Gets the FILINFO structure fname offset altname+ ( -- u ) Gets the FILINFO structure altname offset | ||||||||||||||||||
Added: | |||||||||||||||||||
> > | |||||||||||||||||||
File Access Functions/Words | |||||||||||||||||||
Line: 339 to 372 | |||||||||||||||||||
https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Interpreter-Directives.html![]() | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
-a show hidden files -l use a long listing format -1 list one file per line | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | ls ( "line<EOL>" -- )
| ||||||||||||||||||
> > |
ls ( "line<EOL>" -- ) list directory contents
| ||||||||||||||||||
| |||||||||||||||||||
Deleted: | |||||||||||||||||||
< < |
| ||||||||||||||||||
|