Article View: comp.sys.ibm.pc.misc
Article #8630X00 fossil Driver
From: Duane L. Rezac
Date: Mon, 25 Mar 1991 15:33
Date: Mon, 25 Mar 1991 15:33
54 lines
1779 bytes
1779 bytes
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. |
+-----------------------+---------------------------------------------------+
Technical Details
Message-ID:
<1087@dcsc.dla.mil>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!dsac.dla.mil!dsacg3.dsac.dla.mil!dcsc.dla.mil!drezacShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!dsac.dla.mil!dsacg3.dsac.dla.mil!dcsc.dla.mil!drezac From: drezac@dcsc.dla.mil (Duane L. Rezac) Newsgroups: comp.sys.ibm.pc.misc Subject: X00 fossil Driver Message-ID: <1087@dcsc.dla.mil> Date: 25 Mar 91 15:33:59 GMT Organization: Defense Construction Supply Center, Columbus Lines: 54