Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The above rules apply to the RAM filing system accessed with the :RAM.x device (x stands for the slot number 0-3). Since OZ 4.7, the EPROM file area ca be accessed directly by the :EPR.x device. It supports all the file i/o calls except the wildcard handler. However, the :EPR.? and :EPR.* wildcards are implemented. It works both for read and write. For example, files in Pipedream can directly be read and written to the EPROM file area. 

The EPROM filing systemEPR device access to the EPROM file area by generating a unique temporary file in :RAM.-. This file is deleted on closure. Notice that repeated file savings on EPROM will waste space by rewriting the whole file each time and marking previous one as deleted.

Suspension

The file transfer calls may be suspended in circumstances. If the stream being used is associated either the serial port or printer then RC_SUSP will be returned if the machine is switched off and on again, or if a battery low interrupt occurs. If escape detection is enabled then <ESC> will cause file transfer to abort and RC_ESC to be returned. A more serious case is where the stream is associated with the keyboard. If this is the situation, pre-emption can occur when reading from the stream and the possible return codes will be RC_SUSP, RC_DRAW and RC_QUIT. 
 

...