458
Platforms
©2000-2008 Tibbo Technology Inc.
Details
The value of this property reflects free flash space not occupied by currently
loaded Tibbo Basic application. You may use the
method to create the
flash disk as large as available flash space. Note that the actual capacity of the
disk (
) will be less than the available space because the flash disk
also needs a certain number of sectors for its "housekeeping" data (see
).
.Buffernum Property
Function:
Sets/returns the number of the currently selected RAM
buffer.
Type:
Byte
Value Range:
0 or 1. Default= 0 (RAM buffer #0 selected).
See Also:
---
Details
There are two 264-byte RAM buffers used to exchange the data with physical
sectors of the flash memory -- #0 and #1. This property selects the buffer that will
be used as the data destination for
and
methods, or
methods.
All file-based operations of the flash disk rely on these two RAM buffers too and
selected buffer number may change as a result of their execution. When using
and
concurrently, switch to the RAM
buffer #0 for direct sector access -- this will guarantee that you won't corrupt the
data of currently opened files.
.Capacity R/O Property
Function:
Returns the capacity of the currently existing flash disk in
sectors.
Type:
Word
Value Range:
0-65535
See Also:
,
Details
Capacity reflects the number of usable sectors on the disk. Total number of sectors
occupied by the disk (see
) in flash memory is larger and also
includes "housekeeping" sectors (see
). Currently existing
disk may occupy less space than it potentially could (see
).
467
458
475
479
472
468
483
459
448
436
441
467
483
475
457