Previous

Next

Bottom

Contents

Glossary

Index

 

CF1 User's Manual

PicoZOOM Functions

May 1999

Revision 1.01

 Persistor Instruments Inc.
© 1998 All rights reserved.

 

Quick Reference Table

PZCacheActive

PZCacheFlush

PZCacheSetup

PZCacheRelease

Introduction

The PicoZOOM cache and I/O optimizations significantly increase the speed, reduce the card related power drain, and decrease the wear and tear on the cards. These optimizations are only available with PicoZOOM accelerated CompactFlash and PCMCIA cards. Persistor brand cards since August of 1998 come PicoZOOM accelerated from the factory and are marked with the PicoZOOM accelerated legend. Older Persistor brand cards may be returned to the factory for free acceleration. Contact the factory for pricing and availablilty of PicoZOOM acceleration for other brands of CompactFlash and PCMCIA cards.

From PicoDOS, you can use the ZOOM command to tell if the inserted card is truly PicoZOOM accelerated.

PicoZOOM is not automatically enabled by PicoDOS even when PicoZOOM accelerated cards are installed. Because PicoZOOM requires more RAM than PicoDOS has at its disposal, you must explicitly enable PicoZOOM in your application using the functions below to let PicoZOOM borrow RAM from your application's heap. Each device that you setup to use PicoZOOM will require about 10KB of RAM.

PZCacheActive -- Confirm that the selected device is PicoZoom accelerated

Description

Prototype:

bool PZCacheActive(short logdrv);

Definition:

#include <cf1pico.h>

Inputs:

logdrv is the logical drive number ("A:" = 0, "B:" = 1, etc.)

Returns:

Returns true if the device is PicoZOOM accelerated.

Notes:

Notes.

Timing:

TBD

PZCacheSetup -- Setup PicoZOOM cache and optimizations

Description

Prototype:

bool PZCacheSetup(short logdrv, Callocf *callocf, Freef *freef );

Definition:

#include <cf1pico.h>

Inputs:

logdrv is the logical drive number ("A:" = 0, "B:" = 1, etc.)
callocf is a pointer to a user supplied memory allocation funcion with the same behavior as the standard C library calloc funtions, and will in fact generally be a pointer to your applications calloc.
freef isa pointer to a user supplied memory allocation funcion with the same behavior as the standard C library free funtions, and will in fact generally be a pointer to your applications free.

Returns:

Returns true if successful.

Notes:

Notes.

Timing:

TBD

PZCacheRelease -- Conclude (flush) and free PicoZOOM cache memory

Description

Prototype:

bool PZCacheRelease(short logdrv);

Definition:

#include <cf1pico.h>

Inputs:

logdrv is the logical drive number ("A:" = 0, "B:" = 1, etc.)

Returns:

Returns true if successful.

Notes:

Notes.

Timing:

TBD

PZCacheFlush -- Flush cached data to the storage media

Description

Prototype:

bool PZCacheFlush(short logdrv);

Definition:

#include <cf1pico.h>

Inputs:

logdrv is the logical drive number ("A:" = 0, "B:" = 1, etc.)

Returns:

Returns true if successful.

Notes:

Notes.

Timing:

TBD

 

Previous

Next

Top

Contents

Glossary

Index

Tel: 508-759-6434

Fax: 508-759-6436

Copyright (C) 1998 Persistor Instruments Inc. - All Rights Reserved