a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Resources:
 battmem.resource
  ObtainBattSemaphore
  ReadBattMem
  ReleaseBattSemaphore
  WriteBattMem
Include
GuruMeditation
Docs » Autodocs » battmem.resource » WriteBattMem

NAME

	WriteBattMem -- Write a bitstring to nonvolatile ram.  (V36)

SYNOPSIS

	Error = WriteBattMem( Buffer, Offset, Len )
D0 A0 D0 D1
ULONG WriteBattMem( APTR, ULONG, ULONG );

FUNCTION

	Write a bitstring to the nonvolatile ram.

INPUTS

	Buffer          Where to get the bitstring.
Offset Bit offset of first bit to write.
Len Length of bitstring to write.

RESULT

	Error           Zero if no error.

NOTES

	The battery-backed memory is checksummed. If a checksum error
is detected, all bits in the battery-backed memory are
silently set to zero.
Partial byte writes (less than 8 bits) result in the bits
written being read from the low-order bits of the source byte.

SEE ALSO

BUGS

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Future Crew

RSI
FC
PHA
ATX

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se