.MVBL JSR MVPG \ Call MVPG above to copy one page of memory from the \ address in P(1 0) to the address in ZP(1 0) INC ZP+1 \ Increment the high byte of the source address to point \ to the next page INC P+1 \ Increment the high byte of the destination address to \ point to the next page DEX \ Decrement the page counter BNE MVBL \ Loop back to copy the next page until we have done X \ pages RTS \ Return from the subroutineName: MVBL [Show more] Type: Subroutine Category: Utility routines Summary: Decrypt and move a multi-page block of memoryContext: See this subroutine in context in the source code References: This subroutine is called as follows: * Elite loader (Part 1 of 3) calls MVBL
Arguments: P(1 0) The source address of the block to move ZP(1 0) The destination address of the block to move X Number of pages of memory to move (1 page = 256 bytes)
[X]
Subroutine MVBL (category: Utility routines)
Decrypt and move a multi-page block of memory
[X]
Subroutine MVPG (category: Utility routines)
Decrypt and move a page of memory
[X]
Workspace ZP (category: Workspaces)
Important variables used by the loader