minix/drivers/sb16
Ben Gras 35a108b911 panic() cleanup.
this change
   - makes panic() variadic, doing full printf() formatting -
     no more NO_NUM, and no more separate printf() statements
     needed to print extra info (or something in hex) before panicing
   - unifies panic() - same panic() name and usage for everyone -
     vm, kernel and rest have different names/syntax currently
     in order to implement their own luxuries, but no longer
   - throws out the 1st argument, to make source less noisy.
     the panic() in syslib retrieves the server name from the kernel
     so it should be clear enough who is panicing; e.g.
         panic("sigaction failed: %d", errno);
     looks like:
         at_wini(73130): panic: sigaction failed: 0
         syslib:panic.c: stacktrace: 0x74dc 0x2025 0x100a
   - throws out report() - printf() is more convenient and powerful
   - harmonizes/fixes the use of panic() - there were a few places
     that used printf-style formatting (didn't work) and newlines
     (messes up the formatting) in panic()
   - throws out a few per-server panic() functions
   - cleans up a tie-in of tty with panic()

merging printf() and panic() statements to be done incrementally.
2010-03-05 15:05:11 +00:00
..
Makefile Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
README Update by paboonst@cs.vu.nl 2005-09-16 11:09:08 +00:00
sb16.c panic() cleanup. 2010-03-05 15:05:11 +00:00
sb16.h Lots of small code cleanup: make symbols local, remove unused symbols, 2010-02-09 15:23:38 +00:00
sb16_dsp.c panic() cleanup. 2010-03-05 15:05:11 +00:00
sb16_dsp_liveupdate.c Basic System Event Framework (SEF) with ping and live update. 2009-12-21 14:12:21 +00:00
sb16_mixer.c Rewrite some functions to ANSI style. 2010-01-27 10:19:13 +00:00

Sound Blaster 16 ISA driver for Minix 3

Note: supports audio playback and volume control (mixer),
recording is not yet supported


Installation instructions SB16 driver Minix >= 3.0.7

- set IRQ and I/O address in sb16.h
(default 7 and 220)
- make install
- MAKEDEV /dev/audio (if /dev/audio doesn't allready exist)
- service up /usr/sbin/sb16_dsp -dev /dev/audio
- service up /usr/sbin/sb16_mixer -dev /dev/mixer
done... (you can include the last 2 lines in /usr/etc/rc)


Peter Boonstoppel - September 2005
paboonst@cs.vu.nl