Int 1A Fn 82 - Pcmcia Socket Services V1.00 - Register Card Technology C [X]
AH = 82h
DS:DX -> callback routine (see #0585) or 0000h:0000h
Return: CF clear if successful
AH destroyed
CF set on error
AH = error code (see #0580)
Note: the callback is invoked on a Write Multiple request with an unsupported
card technology type
See Also: AH=81h"PCMCIA",AH=94h
(Table 0585)
Values PCMCIA callback routine is invoked with:
ES:AX -> Low-Level Socket Services Routines (see #0587)
BH = socket attributes (see #0586)
CX = number of bytes or words to write
DS:SI -> data buffer to be written
DX:DI -> 26-bit linear card address
BP = card technology type
Return: CF clear if successful
CF set on error
AH = error code (07h,0Ch,12h,14h) (see #0580)
Bitfields for PCMCIA socket attributes:
Bit(s) Description (Table 0586)
7-4 reserved (0)
3 packed buffer
2 even bytes only (only valid if 1 set)
1 data width (clear = byte, set = word)
0 memory type (clear = common, set = attribute)
Format of PCMCIA Low-Level Socket Services Routines:
Offset Size Description (Table 0587)
00h WORD offset of Write Many routine (see #0588)
02h WORD offset of Write One routine (see #0589)
04h WORD offset of Read One routine (see #0590)
06h WORD offset of Increment Offset routine (see #0591)
08h WORD offset of Set Offset routine (see #0592)
0Ah WORD offset of Get Status routine (see #0593)
(Table 0588)
Call Write Many routine with:
BH = socket attributes (see #0586)
CX = number of bytes or words to write
DS:SI -> data to be written
Return: CF clear if successful
CF set on error
(Table 0589)
Call Write One routine with:
AL/AX = data to be written
BH = socket attributes (see #0586)
Return: CF clear if successful
CF set on error
(Table 0590)
Call Read One routine with:
BH = socket attributes (see #0586)
Return: CF clear if successful
AL/AX = data read
CF set on error
(Table 0591)
Call Increment Offset routine with:
BH = socket attributes (see #0586)
Return: CF clear if successful
CF set on error
(Table 0592)
Call Set Offset routine with:
DX:DI = new offset address
Return: CF clear if successful
CF set on error
(Table 0593)
Call Get Status routine with:
nothing
Return: AL = current card status (see #0584)