EP_Last ($1B) - Return last file entry in File Area in slot C

Register parameters

IN:
   A = EP_LAST
   C = slot number containing File Eprom

OUT:
   Fc = 0, File Eprom available
        Fz = 1, File Entry marked as deleted
        Fz = 0, File Entry is active.
        BHL = pointer to last file entry in slot (B=00h-FFh, HL=0000h-3FFFh).

   Fc = 1,
        A = RC_Onf
        File Eprom was not found in slot, or File Entry not available

Registers changed after return:
   ...CDE../IXIY same
   AFB...HL/.... different

Notes

Return pointer to last file entry on Standard File Eprom, inserted in slot C. The returned B register defines the absolute bank number which contains the slot mask ($40 for slot 1, $80 for slot 2 and $C0 for slot 3).

web analytics