home *** CD-ROM | disk | FTP | other *** search
/ Sound, Music & MIDI Collection 2 / SMMVOL2.bin / PROG / ADIP.ZIP / ADIP.EXE / AWECHECK.DOC < prev    next >
Encoding:
Text File  |  1994-12-13  |  1.2 KB  |  29 lines

  1. This file documents the awe32Check() function. It can be found in
  2. independent AWECHECK.OBJ module. The prototype of the function is
  3. as follow:
  4.  
  5.     WORD PASCAL awe32Check(WORD   wBaseAddx,
  6.                            DWORD* pdwRomId,
  7.                            DWORD* pdwRomVer,
  8.                            DWORD* pdwDramSize)
  9.  
  10.     where
  11.     1. wBaseAddx refers to the base I/O address of EMU8000
  12.     2. pdwRomId is a pointer to a DWORD where ROM ID will be stored
  13.     3. pdwRomVer is a pointer to a DWORD where ROM version number
  14.        will be stored
  15.     4. pdwDramSize is a pointer to a DWORD where the size of all
  16.        available RAM will be stored
  17.  
  18. The function detects the presence of EMU8000, gets the ROM ID & ROM
  19. version number, and detects the available RAM. If the EMU8000 is
  20. present awe32Check returns zero. Current SB AWE32's ROM ID is
  21. 0x4d474d31 and ROM version is 0x20008. The supplied presets (EMBED.OBJ),
  22. is made specifically for this ROM ID only. The RAM size is in term of
  23. the number of 16bit words.
  24.  
  25. The ROM ID and ROM version number are provided for information purposes
  26. only. Applications should not rely on them for their thread of
  27. executions.
  28.  
  29.