Newsgroups: comp.sys.sinclair
Path: ulke.hiMolde.no!nntp-trd.UNINETT.no!news99.sunet.se!news00.sunet.se!sunic!news99.sunet.se!mn6.swip.net!plug.news.pipex.net!pipex!tube.news.pipex.net!pipex!dish.news.pipex.net!pipex!wave.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!btnet!news.compulink.co.uk!cix.compulink.co.uk!usenet
From: jritman@cix.compulink.co.uk ("Jon Ritman")
Subject: Re: Kempston joystick
Message-ID: <DJ0Kzo.L26@cix.compulink.co.uk>
Organization: Compulink Information eXchange
References: <49hcj0$sce@unix.sbu.ac.uk>
Date: Sun, 3 Dec 1995 14:16:36 GMT
X-News-Software: Ameol
Lines: 14

Warning about reading the Kempston interface:

Attempts to use interrupt mode 2 (the one that allows you to re-vector 
the interrupt) with a kempston interface plugged in causes a crash due to 
the kempston failing to recognise the difference between an input request 
and an interrupt request, this means the interface sends a joystick read 
when it shouldn't. You can get over this by building a 257 byte lookup 
table with all entries containing the same value. i.e. put FEh into 257 
location starting on a page boundary, point the mode 2 vector register (I 
think that may be i but it's been a long time) at the page and then put a 
jump at FEFEh.

Cheers
Jon Ritman
