delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/22/14:26:37

Date: Fri, 22 Apr 94 13:45:19 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: barbano AT ocar01 DOT OBS-AZUR DOT fr
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Calling TSR in GNU C++
Reply-To: babcock AT cfa DOT harvard DOT edu

>   WE are developping on an PC a program which must use an EXATAPE device; for
> this, we have an .OBJ library and a TSR device driver. We can't link the .OBJ
> library with the program, so is it possible to call the TSR routines inside
> our GNU program.

I would expect that you could communicate with the TSR using
_go32_dpmi_simulate_int().  You'll probably need to allocate some DOS memory
for data buffers using _go32_dpmi_allocate_dos_memory() and copy data with
dosmemget() and dosmemput().

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019