Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated description for OZ v5.0+

...

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
        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 only. This system call is deprecated in OZ V5.0 and future releases. This functionality has been re-implemented as a Shell command, 'updoz', also accessed by Index for <>UPD feature.

This system call updates OZ in slot 0/1, defined via data from "ozupdate.cfg" file and OZ ROM bank files stored in a RAM device. The config file has been parsed for OZ ROM target and bank files by new Index <>UPD command. This system call erases the AMD 512K flash chip, blows the bank files from RAM into the slot, completed by a soft reset.

...