433
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
0- NO).
Fd Object
This is the flash disk (fd.) object, it allows you to utilize the unused portion of your
flash memory for data storage. Your flash memory's primary use is to store the
firmware of your device, as well as compiled Tibbo Basic application. The firmware/
application typically occupy only a part of the flash memory. Available space will
be referred to as the "data area" of the flash, as it can store your application's
data.
There are two methods of working with the data area of the flash:
With
, you create a formatted disk that stores files.
With
, you can write and read flash sectors directly,
without burdening yourself with the file system.
Both methods can be used
and complement each other whenever
necessary.
Here is what the fd. object has to offer:
Maintains up to 64 files located in a single root directory (subdirectories are not
supported, but can be
).
-- define and store any attributes you like.
.
Ability to
several files at once.
Methods to
the file, also cut the file size from the
.
to locate data within files. This also includes a
record-style search!
Automatic
in the "housekeeping" area of the file.
from power failures.
A method for firmware/application
.
8.3.13.1
Overview
In this section:
Sharing Flash Between Your Application and Data
File-based and Direct Sector Access Coexistence
436
448
453
441
440
442
443
444
445
446
453
454
452
434
435
436
448
453
453
454