This module contains routines for reading, writing to paged memory, copying between pages, and copying between main memory and paged memory.
Note: The following documentation is incorrect.
Verifies that source and destination pages are valid for read and write..
|
|
Input |
IYL: Destination Page
|
|
IYH: Source Page
|
Output |
Zero Flag: Clear if both pages are valid, Set if not
|
Clobbers |
A |
|
** **: _ _ |
Copies from one memory page to another.
|
|
Input |
BC: Byte Count
|
|
DE: _Destination Address _ |
|
HL: Source Address
|
|
IYL: Destination Page
|
|
IYH: Source Page
|
Output |
Zero Flag: Set if either page is invalid
|
|
Carry Flag: Set if overflow
|
Clobbers |
A,BC,DE,HL,AF',HL',IX
|
Copies an entire page to another page with no rollover.
|
|
Input |
BC: Byte Count
|
|
DE: _Destination Address _ |
|
HL: Source Address
|
|
IYL: Destination Page
|
|
IYH: Source Page
|
Output |
Zero Flag: Clear if both pages are valid, Set if not
|
Clobbers |
A,BC,DE,HL,BC',HL'
|
Copies an entire page to another page.
|
|
Input |
IYL: Destination Page
|
|
IYH: Source Page
|
Output |
Zero Flag: Clear if both pages are valid, Set if not
|
Clobbers |
A,BC,DE,HL,BC',HL'
|
Copies from paged memory to main memory with no page rollover.
Copies from main memory to paged memory with no page rollover.
Swaps between main memory and paged memory with no page rollover.
Fills range of paged memory with a byte.
Fills range of paged memory with a word.
Maps page into bank.
Restores page that was in bank prior to _page_map_.
Restore pages that were in banks 1 and 2 prior to page_swap_two call.
|
|
Reads |
BANK2PAGE, BANK3PAGE, PLUSTCK
|
Clobbers |
AF',IX
|
Reads a byte from paged memory.
Disable interrupts, set up temporary stack, and swap pages into Banks 2 and 3.
|
|
Input |
A: Page to Swap into Bank 3
|
|
A': Page to Swap into Bank 2
|
Writes |
BANK2PAGE, BANK3PAGE, PLUSTCK
|
Clobbers |
AF,AF',HL',IX
|
Call page_restore_two to restore original pages.
Writes a byte to paged memory.