Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Documented new error code, RC_EPNE

...

Code Block
languagenone
IN:
        A = EP_FORMAT
        C = slot number
OUT:
        Fc = 0,
             File Area created in slot C.

        Fc = 1,
             A = RC_VPL, RC_BWR, Flash/UV Eprom Write Error
 Registers            A = RC_EPNE (UV Eprom file area not empty)

 Registers changed on return:
   A.BCDEHL/IXIY same
   .F....../.... different

...

Create file area header in UV Eprom Card (or Flash card, if available) in slot C. On UV Eprom, only the 64 byte header is created - on Flash Card, the complete file area is formatted and a header created.

On OZ V4.5 and later, the complete file are is also checked to be empty (all bytes = FFh) after the header has been created on an UV Eprom. Fc = 1, A = RC_EPNE is returned if the file contains bytes not completely erased.

The screen is turned off while file area header & area is being formatted, when file area is in the same slot as the OZ ROM. During formatting, no interference must happen from Blink, because the Blink reads the font bitmaps each 1/100 second:

...