
![]() |
||
| Updates | Knowledge base | Manuals | Resellers | Warranties | Feedback | ||
Knowledge Base[ Back ] [ Index ] [ Categories ] [ Next ] Q10017. How the DSS/BIOS can be paged out and replaced with RAM at $0000-$3fff?SummaryThis article contain an example of replacing memory page.More informationYou should disable interrupt before replacing memory page.
Replace
DI ; disable interrupts
IN A,($82) ; get page which set $0000-$3FFFF
LD (DSSPAGE),A ; store dss page number
LD A,your_page ;
OUT ($82),A ; replace it with your page.
Restore
LD A,(DSSPAGE) ; restore dss page number
OUT ($82),A ; back dss page
EI ; enable interrupts
7 April 2003. |