.
.




Hardware Description
Treiber für verschiedene Betriebssysteme
back
HOME
.

TIPS AND TRICKS FOR PROGRAMMERS

Some examples come with an attached archive containing all source files and drivers. Please read the attached README.TXT file before installing or using files; this file contains important or last-minute information regarding setup and installation. Also please refer to the step-by-step instructions given for each interface, which are available at the HARDWARE chapter. We would also like to direct your attention to the DRIVERS section, which discusses the drivers and their special functions in more detail. All files presented have been thoroughly tested, but we cannot assume any responsibility for problems arising from software or hardware incompatibilities, errors or omissions. All files presented can be used royalty-free, provided they are not modified in any way. All materials are copyrighted by SLH. You are not allowed to disassemble or reengineer files.

These pages are frequently updated.
last updated: 18.12.1999.


DETECT ALL CARD TYPES AUTOMATICALLY

This is a simple step-by-step procedure to write an automatic card detect routine. Please proceed as follows:-

  1. Check for the presence of a card and determine the card address CARDADR first.
    If a card could be found:
  2. Issue a card RESET by reading CARDADR
  3. Transfer the card OS SLHDMX17.BIN into the card RAM.
  4. Write $00 to card RAM address $03F9
  5. Start the card by writing $00 to CARDADR+3
  6. Wait at minimum 50 us
  7. Read the card RAm address $03F9:
    If return value is $04, you have found a 1512C card.
    If return value is $05, you have found a 1512C card.
    In all other cases, proceed as follows:-
    1. Transfer the card OS SLHDMX12.BIN into the card RAM.
    2. Start the card by reading from CARDADR+3
    3. Wait at minimum 50 us
    4. Read the card RAM Address $03F9:
      If return value is $80, you have found a 1512A or 1512B-LC card.
      If return value is $01, you have found a 1512B card. Then transfer the card OS SLHDMX16.BIN into the card RAM, start the card again and re-read it. Again, the return value must be $01.
      If this is not the case, an in all other cases, you have not found any valid card.
  • Have you found a 1512A or 1512B-LC card?
    Then transfer the required OS parameters (Default values), and the card is ready to go.
  • Have you found a 1512B card?
    Then transfer the required OS parameters (Default values), and the card is ready to go.
  • Have you found a 1512C card?
    No other action required, the card is already active.

Click on to the card type to find more information regarding card initialization.


GENERAL NOTES:
Please use the appropriate project files contained within each demo to load and start the project. If available, please read the LIESMICH.TXT or README.TXT file which contains additional project information or setup instructions. Please copy all *.DLL files to your \WINDOWS\SYSTEM directory to enable Windows to access the library functions. Please make sure not to overwrite newer files of same name. Please report problems or submit your own proposals, solutions and demos to the Programmer's Network; your input will be highly appreciated. All materials are copyright (C)1999/2000 SLH.