www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/11/09/15:28:39

Date: Mon, 9 Nov 92 20:54:38 GMT+0100
From: pgeiss AT dali DOT uphys DOT uni-heidelberg DOT de
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: many questions


I am sending this request out again because i just
get a suspicious message from my mail agent , so
i dont know if it has been placed correctly to 

the list.

>
Hi GCC users

 I'm new to your djgpp group. I got gcc a week ago and
 I think it's great.
 Nevertheless, i ran into some problems in porting
 software to gcc.

 So here are my questions :

1) I have problems in using a video digitizer board from  


   gcc programs.
   The only way to communicate with the board is provided
   by a library which came with the board. Of corse, it's
   a REAL MODE library (for Microsoft C). 


   Is there a possibility that the GCC compiled protected mode
   program loads a Microsoft C compiled real mode program
   into memory and does intermode Protected to Real mode
   calls to this program, as it's possible with the Pharlap
   Dos Extender ?
   Or is there annother possibility to use real mode code
   from a protected mode program ?
   If so, can someone send me example code ?

2) I installed an interrupt handler (as a TSR) on a free
   interrupt vector.
   When i tried to jump into this handler by using the
   int86 or int86x functions from a gcc protected mode
   program i always get messages like "exeption xx at eip=yyyyyyy"
   instead of going to my handler.
   After some playing around with the int86 call it seems to me
   that this funcion supports some interrupts and fails on others
   How can i go around this and jump to any interrupt ?
   (i use go32 ver. 1.08)
   


3) Can i prevent go32 from swapping out the entire system on hard
   disk while performing a system() call ?
   I dont need much memory in the command i would like to
   execute by system() but have to run it frequently, so 


   if there's a possibility to speed up things for the price
   of memory i'd like to hear about it.

4) Where can i get additional documentations about the
   libraries and the dos extender
   Furthermore, where can i get the gcc and dos extender
   sources ?


I hope there's someone out there how can help me

Thanx in advanve,

Peter Geissler
Institute for Environmental Physics
University of Heidelberg
GERMANY
e-mail :  pgeiss AT dali DOT uphys DOT uni-heidelberg DOT de
<


- Raw text -


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