Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!mcvax!enea!erix!bengtb
From: bengtb@erix.UUCP (Bengt Baeverman)
Newsgroups: comp.os.vms
Subject: Re: Are Transfer Vectors Truly Useful When Creating Shareable Images?
Message-ID: <1449@erix.UUCP>
Date: Sat, 25-Jul-87 12:34:27 EDT
Article-I.D.: erix.1449
Posted: Sat Jul 25 12:34:27 1987
Date-Received: Sun, 26-Jul-87 02:13:52 EDT
Reply-To: bengtb@erix.UUCP (Bengt Baverman)
Distribution: world
Organization: Ericsson Telecom, Stockholm, Sweden
Lines: 22

Keywords:


The easiest thing I can think of is using a vector, just like the transfer
vector, to access the data. All the UNIVERSAL symbols are really pointers to
the symbols you want to access.

This could be done with (macro) code looking like this:

	datavector:
	data1::	.address	_data1	; Pointer to _data1
	data2::	.address	_data2	; Pointer to _data2
		.
		.
		.
		.blkb	512 - < . - datavector >	; Fill a full page

	_data1:	.long	200
	_data2:	.long	100

This is much more efficient than using a routinecall for every data access.


				Bengt Baverman
				bengtb@erix.se