home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
pocketbk
/
developmen
/
format
/
READ.ME
< prev
Wrap
Text File
|
1993-01-28
|
2KB
|
44 lines
Copyright(C)1993 Advidea Ventures Ltd.
Written by Russ Beinder
#120 - 1575 W. Georgia St.
Vancouver, BC
V6G 2V3
CIS 70357,3164
(604)525-0831
(604)520-7780 FAX
These files are an example of using MCLINK to remotely run a program on
the Series 3. In addition, a device formatting program has been provided
with source code to enable users to compress space on FLASH SSDs. This
compression is done by copying files from the SSD onto the PC, then formatting
the SSD, then copying the files back on the SSD.
There are some problems with RUN that I was not able to overcome with this
version of MCLINK: RUN only will execute a file that is in the ROOT directory
on the remote machine and commands in the MCLINK batch file after the RUN
command will not be executed. Additionally, MCLINK has no facility for
pausing processing for a period of time, or an event. This means that
some user intervention is required. The batch files given here are only
examples and it is expected at users will customize them to their particular
needs.
The formating program allows formating of any LOC:: device. It does, however,
prompt the user to confirm formatting before it occurs. At the present time
output is to the console. An enhancement to this program might be the
use of the HWIF interface routines and a graphical gauge for the percent
formated.
Note that the program has control over the formatting process. This seems
cumbersome in this example, but in a more sophisticated program, this
capability facilitates multi-processing. Many of the more time consuming
routines in EPOC allow this type of incremental processing.
The following files are in this ZIP:
FORMAT.BAT Drives the spaces compression process.
FORMAT1.BTF MCLINK batch file, part 1
FORMAT2.BTF part 2
P_FORMAT.IMG Program to format a device on the S3, HC, or MC.
P_FORMAT.C Source