[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.5.2 Moving and Swapping Memory Areas

2682B BLKSWAP+ <see>SWAPMEM_D0D1C and adjusts
all refs
26871 EndTempOb Moves TEMPOB zone at D0 to top
of TEMPOB area -> D0=new addr
Note that (1) the object must be skippable and (2) it must be a TEMPOB zone of its own (not embedded). This entry is however safe to use from TEMPOB because it keeps track of one RSTK address as well. aka: NEWADR
0670C MOVEDOWN Copy downwards C.A nibbles from
D0 to D1, D0 and D1 will point
to the next locations
Used: A.W C.A P
Use this to move upwards
06992 MOVERSD Delete a block below RSK
A.A=end C.A=nibbles
Adjusts all refs, then <see>ADJMEM
Uses A.W B.A C.W D.10 D0 D1 P
06A53 MOVERSU Open a block below RSK
A.A=start C.A=nibbles
Adjusts all refs, then <see>ADJMEM
Uses A.W B.A C.10 D.10 D0 D1 P
06A1D MOVEDSD Open a block above stack
A.A=end C.A=nibbles
Adjusts all refs, then <see>ADJMEM
Uses A.W B.A C.10 D.10 D0 D1 P
069C5 MOVEDSU Delete a block above stack
A.A=start C.A=nibbles
Adjusts all refs, then <see>ADJMEM
Uses A.W B.A C.10 D.10 D0 D1 P
066B9 MOVEUP Copy upwards C.A nibbles from
D0 to D1
D0 D1 will point to start of
area
Used: A.W C.A P
Use this to move downwards
269B3 SWAPMEM Swaps two memory areas
Area 1: R1.A to R2.A
Area 2: R2.A to R3.A
Uses <see>SWAPMEM_D0D1C
269DD SWAPMEMEQ Swaps two memory areas of the
same size <see>SWAPMEMEQ_D0D1C
R1.A->Area1 R2.A->Area2
269E4 SWAPMEMEQ_D0D1C Swaps two memory areas of the
same size
D0->Area1 D1->Area2 C=(D1-D0)
Uses A.W B.A C.W P CRY
269BA SWAPMEM_D0D1C D=C.A <see>SWAPMEM_D0D1D
269C1 SWAPMEM_D0D1C_nofree D=C.A <see>SWAPMEM_D0D1D_nofree
269C8 SWAPMEM_D0D1D Swaps two memory areas
Area 1: D0 to D1
Area 2: D1 to (D1+D.A)
Uses A.W B.A C.W D.W P CRY
269CF SWAPMEM_D0D1D_nofree <see>SWAPMEM_D0D1D but does not
alter the memory @RSKTOP
269D6 SWAPMEM_nofree <see>SWAPMEM but does not alter
the memory @RSKTOP


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Carsten Dominik on May, 30 2005 using texi2html