TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Stephen Seneker 75020,3611 (X)
from: Kevin Darling 76703,4227
date: 1992-11-03 20:27:25
subject: #16861-SNDDRV - Want more...

#: 16909 S12/OS9/68000 (OSK)
    03-Nov-92  20:27:25
Sb: #16861-SNDDRV - Want more...
Fm: Kevin Darling 76703,4227
To: Stephen Seneker 75020,3611 (X)

Stephen,  inside snddrv is a table of 4 bytes each.  The first two are the
frequency, the second two are the hardware timer data.  So try this:

 debug
 l snddrv
 msl .r7 .r7+500 78000204

That does a memory search, and should find an offset in snddrv where the first
frequency table entry is ($7800 = 30720Hz, $0204 = hardware data).

What you could do is replace that first entry (or several of the first entries)
with a higher speed:

 For        Use
 Freq    Hex  Data
 -----   -----------
 51200   c800 0106  (these have been added to a coming version)
 43886   ab6e 0107
 40960   a000 0203
 38400   9600 0108
 34133   8555 0109
 30720   7800 0204  <= current top speed in snddrv
 27927   6d17 010b

Personally, I'd try 40-43KHz first.  50KHz is overkill.  - kev

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.