Implementing Code to Run in Paged Memory Space
Original Publication Date: 1988-Sep-01
Included in the Prior Art Database: 2005-Feb-15
ROM paging is a method of switching different blocks of memory into a common memory space. This application is for a ROM partially mapped into a fixed memory page while the remainder shares a small range of memory, switched in pages by hardware (Fig. 1). Code is usually designed as a main calling program with a series of subroutines which it calls. This structure lends itself to paged memory as the subroutines can be distributed throughout the pages and called from the fixed area. This is further simplified if calls between pages are not allowed. Without this method, each time a change is made to a subroutine several relocatable addresses would have to be hand tuned. The method of implementation is as follows: Each page is assembled and linked as a separate executable (.EXE) file.