[cc65] Commodore PET keyboard scanning

From: Chiron Bramberger <chiron1bramberger.com>
Date: 2010-04-25 07:13:55
Hi!

I'm a total newbie, but I used cc65 to make PetSynth for the CBM PET. ->
http://www.petsynth.org/

Anyway, the PET's KERNAL (or KERNEL???) has a simple keyboard scanner.
It doesn't detect holding keys down. So at some point for my next
version PetSynth I was going to write a keyboard matrix scanner.
(technically it detects it when you hold down the cursor or spacebar and
maybe a few other keys, but not most of them. weird???)

So, if it isn't horrible, I'm happy to release a PET keyboard matrix
scanner to cc65, if in this particular case it might be within the scope
of cc65 (if only because the PET's keyboard scanner is overly simple at
best) and since this particular computer seems to be the only Commodore
machine to have such a simple scanner.

Unless of course I'm wrong and there already is a Commodore PET keyboard
routine in cc65. If so, please let me know, I wasn't able to find
anything in the docs. Right now I just use kbhit() which is okay, but
requires me to set a note length instead of scanning for a key_release
style event.

FYI - PET games like Breakout or Space Invaders used their own assembler
keyboard routines and not the built in ones.

Anyway, love cc65 - it rocks! Thanks UvB / everyone!!!
-Chiron

also, this is my first mailing list post - let me know if I've somehow
not following mailing list etiquette or protocol.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Apr 25 07:13:59 2010

This archive was generated by hypermail 2.1.8 : 2010-04-25 07:14:03 CEST