2 [slot #] + 128 [to indicate that this is a 54K or 128K
board] + 8 F 12K block designation #1 + 256 [ 1st “32K
section” designation #] = 394.
b) This block selection parameter is supplied as the second
parameter in CM$ when the connect function (#9) is
executed. Thus in the above example, CM$ “9,394,A,0,0”,
where A = error status variable
Additional calls to RAMEXPAND (function #9) may be used to
connect other blocks of memory as desired. More than one block
within in a given memory card can be attached with a single call
to RAMEXPAND, by adding the corresponding block numbers, “32K
section” designation numbers along with the slot # +l28 to
generate the block selection parameter. Thus, to specify the
first and second 12K blocks of a Saturn 128K RAM board in slot
#2, the block selection parameter is:
2 + 128 + 8 + 16 + 256 = 410
| | | | |
slot# 12K 12K 1st block
block block 32K selection
section parameter
and CM$ + “9,410,A,0,0”
As a second example, to specify the first four 12K blocks of
a Saturn 128K board in slot #2, the block selection parameter is:
2 + 128 + 8 + 16 + 256 + 512 = 922
| | | | | |
slot# 12K 12K 1st 2nd block
block block 32k 32K selection
section section parameter
and CM$ = “9,922,A,0,0”
When the connect function (#9) is executed, these blocks
will be attached to RAMEXPAND. Additional connect function calls
to RAMEXPAND should be executed for each expansion memory board
to be used by RAMEXPAND. Some of the more common block selection
parameter values are given in section VIII, under the subsection
describing the “connect” function (#9) syntax.
32
Comentarios a estos manuales