Mail Archives: djgpp/1999/10/12/14:25:56
On 12 Oct 99, at 1:56, Tobias Koch <toby DOT koch AT okay DOT net> wrote:
> Hey there everybody !
>
> I've been wondering if there is a decent internal stub available for DJGPP
> which will do all the DPMI services so I can get rid of CWSDPMI which
> actually sucks.
Dear Tobias,
1. What exactly do you mean when you say that CWSDPMI sucks.
2. There is an DPMI server called PMODE/DJ wich can be bound
to the EXE. Please read the FAQ for more details.
>I have encountered problems installing a mousehandler under
> CWSDPMI services while under Windows it works just great.
May be there is some fault in your code. Installing mouse interrupt
handlers under DPMI is tricky(ie DATA and CODE touched by the
handler have to be locked ...etc).
The ALLEGRO game library <www.talula.demon.co.uk/allegro> for
DJGPP wich also includes the source code has detailed example's
of installing mouse handlers and hardware and software interrupt
handlers.
So you might try examining the source for Allegro's routines and
yours and see what is wrong.
> Any suggestions, thanks in advance.
>
BTW you may try using allegro's mouse routines wich support
SVGA resolutions as well. I use Allegro for my game programs
because I can spend time writing game code rather than
reinventing the wheel (ie writing code for the SB, Mouse etc).
Hope this helps
Kalum <kalum AT myflat DOT com>
- Raw text -