pTAL Reference Manual (H06.03+)

Built-In Routines
HP pTAL Reference Manual523746-005
15-93
$UNLOCKPAGE
$UNLOCKPAGE
$UNLOCKPAGE unlocks one page of memory..
unlockcount input
sINT:value
is the total number of bytes to unlock in the page.
virtaddr input
EXTADDR:value
is the beginning virtual address to unlock. $UNLOCKPAGE calculates the page
associated with virtaddr.
$WADDR_TO_BADDR
$WADDR_TO_BADDR converts a WADDR address to a BADDR address.
Note. The EpTAL compiler does not support this procedure.
pTAL privileged procedure Yes
Can be executed only by privileged procedures Yes
Sets condition code Yes
Sets $CARRY No
Sets $OVERFLOW No
Example 15-92. $UNLOCKPAGE Routine
INT unlockcount;
EXTADDR addr;
$UNLOCKPAGE(unlockcount, addr);
$UNLOCKPAGE
( unlockcount , )
;
virtaddr
VST655.vsd
expression( )
VST691.vsd
$WADDR_TO_BADDR