Date: Fri, 29 Apr 94 10:31:09 EDT From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: rueve AT uni-muenster DOT de Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: problem callinf DOS interrupts that use ES Reply-To: babcock AT cfa DOT harvard DOT edu > To call some software-interrupt (one of the int 0x33 services to be exact) > I need to pass a segment-register to tell it where it can find some data > (the mouse-pointer). > > Doing this via int86x (the one you can pass the segment-registers along with) > does not yield the wanted results but a system crash ! To do this you will probably need to use _go32_dpmi_simulate_int(). If you are passing data to DOS or BIOS, it must be in the first megabyte of memory. Use _go32_dpmi_allocate_dos_memory() to get some DOS memory and use dosmemput() to copy your data into this memory.