cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/08/06:48:29

Date: Sun, 8 Feb 1998 13:47:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Petr Stehlik <pstehlik AT zln DOT cz>, Paolo Piselli <paolo AT student DOT umass DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Joystick Polling Woes.
In-Reply-To: <6benpm$2ti$1@ns.felk.cvut.cz>
Message-ID: <Pine.SUN.3.91.980208134713.6339K-100000@is>
MIME-Version: 1.0

On Fri, 6 Feb 1998, Petr Stehlik wrote:

> this is a routine written by myself some time ago for Atari800 emulator. It
> works fine (if a joystick is connected ;-).
> 
> int joystick0(int *x, int *y)

This code uses CLI/STI instructions.  I would like to point out that
some DPMI servers (notably, Windows) trap these instructions and
emulate them with code that takes eons to execute.  And since CLI
doesn't really disable interrupts in a multitasking environment, I
would advise to remove these instruction in the DJGPP version.

- Raw text -


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