41CL Calculator Manual
© 2019 Systemyde International Corporation
81
pointers hold four-bit page numbers in the least-significant digit. The pointer at address
0xFE7 points to the previous page of HEPAX RAM, and a value of 0x000 here marks a
page of HEPAX RAM as the first in the chain. The pointer at address 0xFE8 points to the
next page of HEPAX RAM, and a value of 0x000 here marks a page of HEPAX RAM as
the last in the chain.
;***********************************************************************
.TITLE
"HEPAX RAM"
.HP
XROM 13
.FILLTO
0FE6
#000
; FE7 Previous page identifier
#000
; FE8 Next page identifier
#091
; FE9 fixed value
#000
; FEA
#000
; FEB
#000
; FEC
#090
; FED fixed value
#000
; FEE
#091
; FEF fixed value
#000
; FF0
#0E5
; FF1 fixed value
#00F
; FF2 fixed value
#200
; FF3 fixed value
.FILLTO
0FFE
As an example, the sequence of commands listed below uses four pages of 41CL RAM
(at addresses 0x808000, 0x809000, 0x80A000 and 0x80B000) as HEPAX RAM assigned
to pages C through F (Ports 3 and 4).
First, the RAM is initialized by copying the HEPAX RAM template to these four pages
of RAM memory:
ALPHA
0B9>808
ALPHA
XEQ ALPHA
YMCPY
ALPHA
ALPHA
0B9>809
ALPHA
XEQ ALPHA
YMCPY
ALPHA