Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Typo

...

Code Block
languagenone
titleRST 20H, DEFW $F006
IN:
    A = reason code:

    EP_Save = $00    Blow RAM file to UV Eprom 
    EP_Load = $03    Copy file from File Area, as RAM file 
    EP_Req = $06     Check for "oz" File Eprom or File Area in slot C  (OZ 4.2 and newer)
    EP_Fetch = $09   Copy saved/deleted file from File Area to RAM     (OZ 4.2 and newer)
    EP_Find = $0c    Find active File(name) in File Area in slot C     (OZ 4.2 and newer)
    EP_Dir = $0f     Return next filename (starting with first) 
    EP_First = $12   Return first file entry in File Area in slot C    (OZ 4.2 and newer)
    EP_Prev = $15    Return previous file entry in File Area           (OZ 4.2 and newer)
    EP_Next = $18    Return next file entry in File Area               (OZ 4.2 and newer)
    EP_Last = $1b    Return last file entry in File Area in slot C     (OZ 4.2 and newer)
    EP_TotSp = $1e   Return amount of used file space in slot C        (OZ 4.2 and newer)
    EP_ActSp = $21   Return active file space in slot C                (OZ 4.2 and newer)
    EP_FreSp = $24   Return free file space in slot C                  (OZ 4.2 and newer)
    EP_Count = $27   Return number of files in File Area slot C        (OZ 4.2 and newer)
    EP_Stat = $2a    Return file entry status (active or deleted)      (OZ 4.2 and newer)
    EP_Size = $2d    Return file size of File Entry                    (OZ 4.2 and newer)
    EP_Name = $30    Copy File entry name to buffer at (CDE)           (OZ 4.2 and newer)
    EP_Image = $33   Return pointer to start of file contents          (OZ 4.2 and newer)
    EP_New = $36     Return pointer to future new entry in File Area   (OZ 4.2 and newer)
    EP_SvFl = $39    Save RAM file to Flash or UV Eprom to slot C      (OZ 4.2 and newer)
    EP_Delete = $3c  Mark File Entry as deleted on Flash or UV Eprom   (OZ 4.2 and newer)
    EP_Format = $3f  Create File Area in slot C (Eprom or Flash Card)  (OZ 4.2 and newer)
    EP_NewFile = $42 Write Blow RAM file to slot C                     (OZ 4.2 and newer)
    EP_WrBlk = $45   Write a block of bytes to UV Eprom in slot 3      (OZ 4.2 and newer)
    EP_Fptr = $48    Get file pointer via offset into file entry image (OZ 4.5 and newer)
    EP_Empty = $4b   pollPoll for empty file area in slot C                (OZ 4.5 and newer)
    BC, DE, HL, IX arguments. 

OUT:
    Fc = 1, A = error code.
    Fc = 0, reason code action successfully ended.

Registers changed after return depends on individual API call. 

...