Turning off keyclick in 68000

All 680x0 related coding posts in this section please.

Moderators: Zorro 2, Moderator Team

User avatar
TheNameOfTheGame
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2612
Joined: Mon Jul 23, 2012 8:57 pm
Location: Almost Heaven, West Virginia

Turning off keyclick in 68000

Post by TheNameOfTheGame »

How would I go about turning off keyclicks in assembler? I see that there is a sysvar klc_hook for STE at $5B0. But, what is a good way to do this with say an ST on TOS 1.04? Thanks.
SToS
Captain Atari
Captain Atari
Posts: 210
Joined: Sun Mar 28, 2021 12:16 pm

Re: Turning off keyclick in 68000

Post by SToS »

HINT: System vectors...

Code: Select all

$000484|byte |Attribute vector for console output       BIT 3 2 1 0|conterm
       |     |Return "kbshift" for BIOS conin --------------' | | ||
       |     |System bell (1 - on) ---------------------------' | ||
       |     |Key repeat (1 - on) ------------------------------' ||
       |     |Key click (1 - on) ---------------------------------'|
       
User avatar
TheNameOfTheGame
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2612
Joined: Mon Jul 23, 2012 8:57 pm
Location: Almost Heaven, West Virginia

Re: Turning off keyclick in 68000

Post by TheNameOfTheGame »

Ah, great, I knew I had seen it before but couldn't pull it out of my memory ugh. Thanks again.
Mully
Retro freak
Retro freak
Posts: 10
Joined: Thu Feb 11, 2021 9:49 pm
Location: Canberra

Re: Turning off keyclick in 68000

Post by Mully »

User avatar
spiny
Disk Imager Supreme
Disk Imager Supreme
Posts: 2899
Joined: Mon Aug 11, 2003 11:53 pm
Location: just outside bristol

Re: Turning off keyclick in 68000

Post by spiny »

I suspect the code I borrowed from somewhere to do this is a hammer vs nut, but it works for me :)

bclr #0,$484.w ; disable annoying keyclick
User avatar
MiggyMog
Atari Super Hero
Atari Super Hero
Posts: 989
Joined: Sun Oct 30, 2005 4:43 pm
Location: Scotland

Re: Turning off keyclick in 68000

Post by MiggyMog »

The abandoned projects page had the source to play a sample in place of the usual key beep and bell.
('< o o o o |''| STM,2xSTFM,2xSTE+HD,C-Lab Falcon MK2+HD,Satandisk,Ultrasatandisk,Ethernat.

Return to “680x0”