EP_WrBlk ($45), Write a block of bytes to UV Eprom in slot 3

Register Parameters

IN:
      A = EP_WRBLK
      C = Blowing algorithm context (also known as File Area sub type)
      DE = source address (local address space pointer)
      IX = length of block
      BHL = destination address in slot 3
OUT:
      Fc = 0 (block blown successfully to UV Eprom)
              BHL updated
      Fc = 1,
              A = RC_BWR (write error)
              A = RC_Onf (unknown blowing algorithm context)

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

Notes

Blow block of data to UV Eprom in slot 3. Screen will be switched off during operation. Blockable CPU interrupts are also disabled during this system call (DI / EI).

This system call is regarded as internal operating system usage but may be used by applications.

This new interface utilizes the original algorithm that has been part of all OZ ROM versions, now available formally to applications running OZ V4.2 or newer. The blowing algorithm context is found in the "card.def" definition file; CB_EP1 (32K) or CB_EP2 (128K or more).

web analytics