Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.cbm » more on joysticks (keyboard interrupt correction)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
more on joysticks (keyboard interrupt correction) [message #76192] Wed, 29 May 2013 23:44
Anonymous
Karma:
Originally posted by: ee173xed@sdcc3.UUCP ({|stu)
Message-ID: <2451@sdcc3.UUCP>
Date: Tue, 6-Nov-84 20:13:25 EST
Article-I.D.: sdcc3.2451
Posted: Tue Nov  6 20:13:25 1984
Date-Received: Thu, 8-Nov-84 09:34:26 EST
Distribution: na
Organization: U.C. San Diego, Academic Computer Center
Lines: 16

**************************************

A correction to my previous note:
Poke649,0 will disable the keyboard, but not by disabling the
keyboard interrupts.  The C-64 Reference Guide says that (p. 106)
poke56334,peek(56334)and254 will do that.  (It doesn't always work.)
Poke649,0 shrinks the keyboard queue to 0.

Port 1 joystick left prints spaces to the keyboard buffer and thence
to the screen.  Since space is a repeating character, it continues
to output spaces thereby wasting CPU cycles.


Question:  Does anyone know a reliable way to alter the kernal
routine that polls the keyboard so that joystick port 1 can be used
from BASIC?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: joysticks, ports, and keyboards
Next Topic: c-64 music review
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 07:47:10 EDT 2024

Total time taken to generate the page: 0.05689 seconds