a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 expansion.library
  AddBootNode
  AddConfigDev
  AddDosNode
  AllocConfigDev
  AllocExpansionMem
  ConfigBoard
  FindConfigDev
  FreeConfigDev
  FreeExpansionMem
  GetCurrentBinding
  MakeDosNode
  ObtainConfigBinding
  ReadExpansionByte
  ReadExpansionRom
  ReleaseConfigBinding
  RemConfigDev
  SetCurrentBinding
  WriteExpansionByte
Include
GuruMeditation
Docs » Autodocs » expansion.library » FreeExpansionMem

NAME

	FreeExpansionMem - allocate standard device expansion memory

SYNOPSIS

	FreeExpansionMem( startSlot, numSlots )
D0 D1

FUNCTION

	(Not typically called by user code)
This function allocates numslots of expansion space (each slot
is E_SLOTSIZE bytes). It is the inverse function of
AllocExpansionMem().

INPUTS

	startSlot - the slot number that was allocated, or -1 for error.
numSlots - the number of slots to be freed.

RESULT

   EXAMPLES
EXCEPTIONS
If the caller tries to free a slot that is already in the
free list, FreeExpansionMem will Alert() (e.g. crash the
system).

SEE ALSO

AllocExpansionMem()

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:

Crystal

CSL
SNT
SCX
AOA

Comments:

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