MACRO MVE S%, D%, PA% LDA #LO(S%) \ Set Z1(1 0) = S% STA Z1 LDA #HI(S%) STA Z1+1 LDA #LO(D%) \ Set Z1(1 0) = D% STA Z2 LDA #HI(D%) STA Z2+1 LDX #PA% \ Set X = PA% JSR MVBL \ Call MVBL to copy X pages from S% to D% ENDMACROName: MVE [Show more] Type: Macro Category: Utility routines Summary: Move a one-page block of memory from one location to anotherContext: See this macro in context in the source code References: This macro is used as follows: * Elite loader (Part 1 of 2) uses MVE
The following macro is used to move a block of memory from one location to another: MVE S%, D%, PA% It is used to move the component parts of the loading screen into screen memory, such as the dashboard background and Acornsoft copyright message.
Arguments: S% The source address of the block to move D% The destination address of the block to move PA% Number of pages of memory to move (1 page = 256 bytes)
[X]
Configuration variable D% = &D000
The address where the ship blueprints get moved to after loading, so they go from &D000 to &F200
[X]
Subroutine MVBL (category: Utility routines)
Move a multi-page block of memory from one location to another
[X]
[X]