Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Applied links to related System Call API's

...

Code Block
languagenone
IN:  A = EP_LOAD
     BHL = pointer to filename (to be found on EPROM)
     IX = output file handle (to store contents of file on EPROM)


OUT: Fc = 0, file successfully moved to RAM filing system.
     Fc = 1:
          A = RC_FAIL ($16), file EPROM not available.
          A = RC_ROOM ($07), no room in filing system for data from EPROM.

Registers changed after return:
  ..BCDEHL/IXIY same 
  AF....../.... different

Notes

Before calling OS_Epr and EP_LOAD you should create a new file with an appropriate file name, using GN_Opf, A = OP_OUT. The filename to be searched on EPROM must not contain wildcards (the File EPROM is not organised as the RAM filing system). This call is equivalent to the <>EF command in the FILER. You must close the output file after the data has been copied from EPROM.

...