Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: API changed for DC_Upd

...

Code Block
titleRST 20H, DEFW $240C
IN:
         B = total of OZ ROM banks to flash
         C = slot number (0 or 1) to blow OZ ROM
         D = total size of flash chip in 16K banks (typically 512K or 1024K, D = 32 or 64)
        IX = points to array space in local Z80 address space of max. 64 OZ ROM banks (1024K). 
               Each entry has the following format:
               -----------------------------------------------------------------------------------
               byte 0:                        byte 1:                        byte 2:
               [first 64 byte sector of file] [bank of first sector]         destination bank in slot
OUT:
         Success:
              Z88 soft reset and return to Index in new, booted OZ.
         Failure:
              Fc = 1
              A = RC_Btl, Batt Low condition
              A = RC_NFE, flash chip not found in slot C
              A = RC_Wp, Intel Flash is "write-protected" in slot C

Notes

This is a system call for internal usage by Index, implemented in OZ V4.7.

...