Mail Archives: djgpp/1994/04/29/11:23:39
> 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.
- Raw text -