retrieve_nv (void *dest, void *nv_blkptr); `
Retrieves information out of structured non-vol and puts it into user data area.
Example:
addr=locate_nv(2,1); followed by retrieve_nv(mybuf,addr); -
retreives the information from
addr,
and stores it into mybuf in RAM
location.
store nv (int rec_type, char *dscrpt, void *dataptr, long size);
Stores information from user data area into structured non-vol.
Example:
store_nv(2,"myinfo",mybuf,(long)size of mybuf);
Memory Management
vtl calloc (long count, long size); or vtl_malloc (long size); *
Allocates a block of memory in the heap.
Example: addr=vtl_calloc(4,200); - allocates 4 pieces of memory
of 200 bytes each.
vtl cfree( void *block); or vtl free (void *block); *
Frees a block of memory in the heap.
Example:
vtl_free(addr);
peek (int * address);
Retrieves a word from specified memory location.
peekb (char * address);
Retrieves a byte from specified memory location.
poke (int * address, int value);
Puts a word into specified memory location.
pokeb (char * address, char value);
Puts a byte into specified memory location.
Examples:
Examples are given in section 4.4.
A-7
Содержание 7064
Страница 2: ...Racal Instruments...
Страница 6: ...I 1 1 1 1 1...
Страница 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Страница 29: ...I I I I I I I I I I I I I I I I I I I...
Страница 57: ...1 I I I I I I I I I I I I I I I I I I...
Страница 77: ...1...
Страница 111: ...0 00 0 00 tI I 4 0 0 I7 r i 6 4 7 4 7 0 T 6 0 0 7 28...
Страница 112: ......
Страница 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Страница 115: ...7 32...
Страница 124: ...CO 0 L5 F 4 BEAD 2 A C8 1 0 1 uF C9 01 uF T 0 1 uF 01 uF E12 0 IIIIII M I 11111 V I E M I 111111 I I I I I I N M I I...
Страница 148: ......
Страница 164: ...I I I I I I I I I I 1 I I I I I I I I...
Страница 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...