File System

From WikiPrizm
Revision as of 17:14, 10 March 2012 by Ahelper (talk | contribs) (Initial version, far from complete)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page has not been completed. Parts may be missing or reorganized before completed. Information is provided as-is and may have errors.

The Prizm has two separate file systems, in RAM and in ROM.

Main Memory

The Main Memory is a 61KB region in the RAM that is used for saving config files, programs, and other data that is modified often. Note that the types of files that can exist are limited.

The MCS_* functions are used to access the Main Memory.

Storage Memory

The Storage Memory is a 16MB region that contains data in many formats. When the Prizm is connected via a USB cable, the Storage Memory is presented (along with a folder for limited access to the Main Memory) as a USB drive.

The Bfile_* functions are used to access files in the Storage Memory. For Bfile_* functions, you must start off all paths with "\\fls0\". Note that in C, the escaped form would be "\\\\fls0\\".