File: README

package info (click to toggle)
sccw 1.0-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 64 kB
  • ctags: 38
  • sloc: ansic: 322; makefile: 41
file content (37 lines) | stat: -rwxr-xr-x 1,626 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
sccw - Soundcard CW for Linux	 	Steven J. Merrifield  VK3ESM  
					sjm@ee.latrobe.edu.au
					http://livewire.ee.latrobe.edu.au

I wrote this program because I wasn't happy with any of the existing Linux
based Morse practice programs. Essentially, I was after something where you
could alter the volume and tone, was easy to use, and could be run from 
either a virtual console or an xterm. As a result, I chose to use the 
AdLib/SoundBlaster FM chip, with no support for the PC speaker, and minimal
external libray usage.

Since the port addresses for the FM chip are the same for both the AdLib and
SoundBlaster cards, there is no need to detect the base address of the
soundcard. The index/status port is hardwired at 0x388, and the data port
lives at 0x389. All low-level access is achieved by writing directly to the 
IO ports of the soundcard, hence this program must be compiled using at least 
-O2 and run setuid root. Hence, this program must be installed by root, but
can then be run as a normal user.

When the user quits from the program, the current settings are saved in
the configuration file .sccw in the users home directory. These values 
will be automagically loaded the next time the program is run.

To install:	1. make	(as root)
		2. make install (as root)
		3. sccw

NOTES:

This program has not been extensively tested. I only have access to two
Linux machines with soundcards (a genuine SB16, and a SB Pro clone) and
both of these cards seem to work okay. 

There is no error checking on user input. If the program asks for a number
between 0 and 10, and you enter 35, "funny things" might happen.