Category : OS/2 Files
Archive   : DD_IN_C.ZIP
Filename : PIO.H

 
Output of file : PIO.H contained in archive : DD_IN_C.ZIP
/*
digio memory map for os/2 virtual device driver
*/

#define DIGIO_BASE 0x2c0 /* board address */
#define DIGIO_OUTPUT DIGIO_BASE /* output port */
#define DIGIO_INPUT DIGIO_BASE+1 /* input port */
#define DIGIO_CONFIG DIGIO_BASE+3 /* initialization port */

/* name of the PDD */

#define PDD_NAME "DIGIO$ \0" /* string */

/* pioinit.c */

BOOL EXPENTRY PIOInit(PSZ);
SBOOL VDDENTRY PIO_PDDProc(ULONG,F16PVOID,F16PVOID);

/* piouser.c */

BOOL HOOKENTRY PIOCreate(HVDM);
BOOL HOOKENTRY PIOTerminate(HVDM);

/* pioin.c */

BYTE HOOKENTRY PIODataIn(ULONG, PCRF);

/* pioout.c */

VOID HOOKENTRY PIODataOut(BYTE, ULONG, PCRF);
VOID HOOKENTRY PIOConfigOut(BYTE, ULONG, PCRF);

extern ULONG MachineType; /* Machine Type */
extern FPFNPDD PPIOPDDProc; /* addr of PDD entry point */
extern HVDM this_VDM;


  3 Responses to “Category : OS/2 Files
Archive   : DD_IN_C.ZIP
Filename : PIO.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/