Xref: utzoo comp.sys.ibm.pc:11344 comp.lang.misc:1030 Path: utzoo!mnetor!uunet!husc6!rutgers!mtune!codas!killer!tness1!petro!iquery!matt From: matt@iquery.UUCP (Matt Reedy) Newsgroups: comp.sys.ibm.pc,comp.lang.misc Subject: IBM Basic 2.0 ISAM interface Message-ID: <106@iquery.UUCP> Date: 2 Feb 88 16:45:06 GMT Organization: Programmed Intelligence, San Antonio Lines: 25 Keywords: BASIC ISAM assembly interface Has anyone successfully used the assembly language interface to IBM's compiled BASIC 2.0 ISAM, as documented in their _BASIC_Compiler_Fundamentals_ manual? We are writing a C program to call ISAM, and have been unable to get ISAM to do anything. Per the manual, we are calling ISAM in the following sequence: Int 21, function 92h, AL = 15 (ICONTROL) function 4 (initialize ISAM) Int 21, function 92h, AL = 0 (IOPEN) open file for read only (this function returns 0 in AX - supposedly the "handle" used by ISAM) Int 21, function 92h, AL = 2 (ISEEK) mode 0 (first key in set), using the handle returned by function 0 above. (at this point ISAM goes off into never-never land and a cold reboot is required). Is there something we are missing in initialization or somewhere else? Any help will be greatly appreciated. matt Matthew Reedy {adelie,petro}!iquery!matt Programmed Intelligence Corp. (512) 822 8703 830 NE Loop 410, Suite 412 "just ONE MORE compile...." San Antonio, TX 78209-1209