a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Resources:
 card.resource
  BeginCardAccess
  CardAccessSpeed
  CardChangeCount
  CardForceChange
  CardInterface
  CardMiscControl
  CardProgramVoltage
  CardResetCard
  CardResetRemove
  CopyTuple
  DeviceTuple
  EndCardAccess
  GetCardMap
  IfAmigaXIP
  OwnCard
  ReadCardStatus
  ReleaseCard
Include
GuruMeditation
Docs » Autodocs » card.resource » GetCardMap

NAME

	GetCardMap -- Obtain pointer to CardMemoryMap structure

SYNOPSIS

	pointer=GetCardMap()
d0
struct CardMemoryMap *GetCardMap( void );

FUNCTION

	Obtain pointer to a CardMemoryMap structure.  The structure
is READ only.
Devices should never assume credit-card memory appears
at any particular place in memory. By using this function
to obtain pointers to the base memory locations of the various
credit-card memory types, your device will continue to work
properly should credit cards appear in different memory
locations in future hardware.

RESULT

	Pointer to CardMemoryMap structure -
struct CardMemoryMap {
UBYTE *cmm_CommonMemory;
UBYTE *cmm_AttributeMemory;
UBYTE *cmm_IOMemory;
};
As of card.resource V39, this structure has been extended to
include the size of these memory regions. See card.h/card.i
for the new fields. If card.resource V39, use the constants
in the CardMemoryMap structure rather than hard coded constants
for memory region size.

NOTES

	If any pointer in the structure is NULL, it means this type
of credit-card memory is not being made available.

SEE ALSO

<resources/card.h>, "resources/card.i"

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:

Dual Crew

DC
KEF
RSI
SNT

Comments:

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