Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagenone
titleRST 20H, DEFW $DA06
IN:
     C = number of bytes to copy (0 ... 255)
     HL = local source pointer
     BDE = extended destination pointer
OUT:
     Fc = 0 always

Registers changed after return:
     A.BCDEHL/IXIY same
     .F....../.... different

Bugs

The HL source pointer has to be in segment 0 or 1. The calls  The call does not work if the source points pointer defines memory in segment segments 2 or 3.

Related calls

GN_Cme, compare null-terminated strings, one local, one extended
GN_Rbe, read byte at extended address
GN_Wbe, write byte at extended address
OS_Bhl, copy bytes from extended address