home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Updates / Perl / Non-RPC / Docs / RISCOS-Library-Docs / ValidateAddr.pm < prev   
Text File  |  1999-04-17  |  716b  |  23 lines

  1. NAME
  2.     RISCOS::ValidateAddr -- perl module that checks an address range
  3.     is valid
  4.  
  5. SYNOPSIS
  6.         use RISCOS::ValidateAddr;
  7.         $is_valid = validate_addr ($lower_inc, $upper_exc);
  8.  
  9.  
  10. DESCRIPTION
  11.     This module provides a perl interface to `OS_ValidateAddress'.
  12.     This checks the address range between the lower (inclusive) and
  13.     upper (exclusive) bounds to see if the entire specified range
  14.     maps into physical RAM or ROM. (The memory should actually exist
  15.     unless you've been fiddling with `OS_SetMemMapEntries'.)
  16.  
  17.     Returns `2' if the address range is in ROM, `1' if the address
  18.     range is valid as RAM, `0' if it is not, undefined on error.
  19.  
  20. AUTHOR
  21.     Nicholas Clark <nick@unfortu.net>
  22.  
  23.