[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

96.0. "Hissssssss (sound generation)" by OPG::CHRIS (Capacity Planner Who Almost Got it Right!) Mon May 16 1988 10:33

    can anyone help... I am writing a program using GFA basic.
    
    
    I am using the wave command to generate a hiss, however, as soon
    as I touch the keyboard, this noise is terminated by the keyclick.
    How can I keep the sound going any ideas?
    
    Chris
T.RTitleUserPersonal
Name
DateLines
96.1click or not clickZUR01::BOLLIGERMon May 30 1988 06:4010
                  ( SHUTUP FOR SOUUUUUUNDDDDD......)
    
    Just turn off the Keyclick in the CONTROLL.ACC 
    or there is also a BIOS function call that performt the same
    
    sorry i am just now in the office and i don't now that BIOS NUMBER
    but i will tomorow write it to you.
    
    				fred
    
96.2Here's a poke, still looking for a functionMILRAT::WALLACEWed Jun 01 1988 13:4324
    I've also wanted to be able to turn of the key click but was not
    able to figure out how at the time. So prompted by .1 that there
    realy is a BIOS call to do it I poured over the books again last
    night. I must be a little dense because I still couldn't find a
    function to turn off the key click, I looked at BIOS, XBIOS, and
    GEMDOS calls.
    
    I did however find a system variable that allows you to turn off
    the key click. It is "conterm", a byte at address $484 (0x484),
    and is defined as follows-
    	Bit	Value	Action
    	0     	1	Enable Bell (IE:for ^G)
    	1       1	Enable Key auto repeat
    	2       1	Enable Key Click !!!! **** ####
    	3       1	Enable "kbdshift" reporting for conin()
    
    Since this is a system variable you need to switch to supervisor
    mode before you access it.
    
    I'd still feel better using a function call, but since this is a
    "documented" system variable I assume it's safe to use (ie:will
    not change for future roms and Megas).
    
    	Ray (..silently typing away..)
96.3ThanksOPG::CHRISCapacity Planner Who Almost Got it Right!Wed Jun 01 1988 17:103
    Thanks I will try your suggestions
    
    Chris