CardBIOS

CardBIOS is a short name for what Microsoft called "CARDDRV BIOS Interface" dated September 15, 1992 together with some extensions made at HP.

CardBIOS is called as follows:

     mov      ax, b000h 
     les      bx, ptr to a CardBIOS request packet 
     int      1ah 
The media types supported by CardBIOS are RAM cards, SunDisk cards, and Intel Series II flash cards. The Flash File System drivers would be needed to use the Intel flash cards and these drivers are not included in the HP palmtop.

The Microsoft specification defined the following functions:

HP added the following functions:

The InitializeBIOS function provides RAM needed by CardBIOS. This function is called by CardDrv and, since CardDrv is always the first client loaded, there is no need for other clients to be concerned with initializing CardBIOS. CardBIOS must remain active at all times so the UninitializeBIOS function should not be used.

Applications which need to watch for a specific card should register as a CardBIOS client so that they will be informed of card change events.

The CICDEMO example program, which is described more below and which is included in the developer's kit, illustrates the use of RegisterClient, DeregisterClient, GetFirstTuple, GetNextTuple, and WriteMemory (for writing to attribute memory to configure a card).

Note that one of the advantages of using the CardBIOS WriteMemory function to configure a card is that CardBIOS will take care of saving and restoring memory windows, see the Resource Allocation section above for more information on window management.

It is expected that CICDEMO will provide a sufficient illustration of CardBIOS usage for most application's needs. However, complete CardBIOS documentation is available upon request.