From: Fabrice Frances Subject: Porting from v1 to v2 To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Tue, 21 Nov 1995 09:55:03 +0000 (WET) Hi all, sorry to bother you with questions. I have used djgpp v1 for a while, and would like now to gain DPMI compatibility. I have a C/assembly(mostly) program with a lot of hardware accesses (keyboard, timer, vga, serial), it works under Linux and go32/dos using nearly the same sources (just some #ifdef lurking around). It fails under Windows, NT and OS/2... 8-( With the help of djgpp v2, I have some hope it will work with every DPMI box. I would apreciate any hint for part or all of the following points, thanks in advance, - easy : (shame on me) how do I call 387 emulation with v2 ? NT reports "Warning Coprocessor not present and DPMI setup failed" and cwsdpmi reports "Exiting due to signal SIGNOFP" - go32 functions : I use some _go32_dpmi_... functions (allocating interrupts), have they been renamed in v2 ? - vga hardware : I use vga IO registers, and NT doesn't let me access them, is there a way ? (same for IO addresses #40-#43 (timer), #60 (keyboard), #3F8-#3FF and #2F8-#2FF (serial ports)) Cheers, -- main(){int i,j,k,l,m,n,p; char*s="@_DO AT AJQ@AQQ AT OQO@A_Q AT AQQ@AQO@@@@ONN_QDQAQDAAODAOEDAAIDQAQNN_@@@@";for(j= 0;j<16;j++)for(l=0;p=j%8,m=l-7+p,i=m/6,n=j*4+i,k=1<