drezac@dcsc.dla.mil (Duane L. Rezac) (03/25/91)
Hello: I have been trying to use the X00 fossil driver and have been having some problems. Everything is fine if I use INT 14 to access it, but it fails when I use the hallpi functions (X00 and X00X). System Configuraton - tried with x00 both as a .sys and a tsr - both failed. using x00 version 1.24 test code: compiled with Quickc 2.0 , small mode, linked with the csmall.obj that came with x00. #include <stdio.h> #include <dos.h> #include "x00.h" union REGS regs; main() { regs.h.ah = 0x04; regs.x.dx = 0x01; X00(®s,®s); if(regs.x.ax == 0x1954) /* ax will contain 0x1954 if port is*/ exit(0); /* activated */ exit(-1); }; Any Suggestions on why it won't work? Duane L. Rezac -- Verse of the Hour: And God shall wipe away all tears from their eyes; and there shall be no more death, neither sorrow, nor crying, neither shall there be any more pain: for the former things are passed away. Rev. 21:4 -- +-----------------------+---------------------------------------------------+ | Duane L. Rezac |These views are my own, and NOT representitive of my place| | dsacg1!dcscg1!drezac drezac@dcscg1.dcsc.dla.mil of Employment. | +-----------------------+---------------------------------------------------+