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

Home » Archive » net.micro.cbm » id AA13570; Mon, 20 Feb 84 02:28:04 pst
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
id AA13570; Mon, 20 Feb 84 02:28:04 pst [message #58853] Wed, 08 May 2013 17:26
root is currently offline  root
Messages: 85
Registered: June 1984
Karma: 0
Member
Message-ID: <5699@decwrl.UUCP>
Date: Mon, 20-Feb-84 05:28:14 EST
Article-I.D.: decwrl.5699
Posted: Mon Feb 20 05:28:14 1984
Date-Received: Tue, 21-Feb-84 03:40:48 EST
Sender: root@decwrl.UUCP
Organization: DEC Western Research Lab, Los Altos, CA
Lines: 39

Message-Id: <8402201028.AA13570@decwrl.arpa>
Date: Monday, 20 Feb 1984 02:31:50-PST
From: vogon::goodenough  (Jeff Goodenough, IPG)
To: net.micro.cbm
Subject: Joysticks, and other miscellanea

Re: spelling of KERNEL - what really bugs ME is the way Commodore themselves
mis-spell it throughout the Programmer's Reference Guide.  But being English
I also write "defence" and "colour".  Glad to hear that Kernel is the correct
American spelling as well, mon colonel.

To you, Mr. "Hacker" Miller :-), (no that's a comma, not a mark on my chin),
I was just this very weekend looking at ways to protect my software from
people like you!!  I discovered a very simple way of intercepting the RESET
(Cold Start) vector WITHOUT banking out any ROMs.  This way, I can clear
memory before you get to see it.  I'm not going to tell you how it's done,
but it shouldn't take you too long to find it, and when you do, don't tell
everybody!  A little puzzle to while away an idle moment ...

On joystick ports, another area I was looking at over the weekend (does his
wife get to see him, I hear you ask), the front port (nearer the space bar)
shares its function with keyboard input, and operation of the joystick
interferes with the latter. My theory is that the Commodore software reads
$DC01 (56321), and adds 63 to give the 'PEEK(197)' value.  'Joystick left'
gives the bit pattern 11111011, which is -5.  63-5 = 58, which is the
PEEK(197) value for the control key!  Hence the slowing down.  Other joystick
positions give different key values.  Use a loop with GET A$:PRINT A$, and
move the joystick around - you should get things like left arrows printed.
I've decided to use the other port for my current project....  (If you just
PEEK(56321) bit 7 is zero, giving 01111111 for a neutral joystick - I guess
keyboard scan puts the bit back somehow).

Jeff
	UUCP:		... decvax!decwrl!rhea!vogon!goodenough
			...allegra!decwrl!rhea!vogon!goodenough
			... ucbvax!decwrl!rhea!vogon!goodenough

	ARPA:		decwrl!rhea!vogon!goodenough@Berkeley
			decwrl!rhea!vogon!goodenough@SU-Shasta
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: DON'T GET MAE/Merlin review - (nf)
Next Topic: Re: Bad 6560 in VIC-20
Goto Forum:
  

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

Current Time: Thu Mar 28 10:45:28 EDT 2024

Total time taken to generate the page: 0.11087 seconds