OSWORD &45

From BeebWiki
Jump to: navigation, search

OSWORD &45 (69 ) - Move/Swap memory Aries B32

On entry:
 XY?0   =function: 0=move, 1=Swap
 XY+1..2=source start address
 XY+3   =bank specifier &00 to &0F for sideways ROMs/RAMs
  and program RAM, &80 to &8F for sideways ROM/RAMs
  and video RAM
 XY+4..5=source end address
 XY+6..7=destination address
 XY?8   =destination bank specifier (as above)
On exit:
 XY?9=return code:
  0 = ok
  1 = overlapping areas for swap
  2 = end before start
  3 = destination end >&FFFF
  4 = no RAM in bank 13 or 14.


OSWORD &45 (69 ) - Digitise picture RHE


See Also

Jgharston 13:38, 26 May 2009 (UTC)