home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / CO / CO029C.ZIP / SPEECH.ZIP / SPATCH.TXT < prev    next >
Text File  |  1987-06-21  |  2KB  |  65 lines

  1. The speech driver used by PC-VCO does not work as it stands for clock
  2. speeds other than 4.77 Mhz.  This problem can be corrected as follows:
  3.  
  4. Using debug, change the bytes at offset 2a1 and 2a2 hex in the file SPEECH.COM.
  5. The values for a 4.77 Mhz clock are 08 and 08.    Change the value accordingly:
  6.  
  7. Value at 2a1   Value at 2a2    Clock speed
  8. ------------   ------------    -----------
  9.  
  10.      8            8        4.77 Mhz
  11.     0Dh        0Dh        8    Mhz
  12.     11h        11h        10   Mhz
  13.     14h        14h        12   Mhz
  14.  
  15. The values above are scaled proportionately to the ratio of the desired
  16. clock speed to 4.77 MHz.  For example, 12 Mhz yeilds: 12/4.77*8 => 20.125
  17. which I've taken as 14H.  Experiment will allow you to change the value
  18. according to your particular cpu speed, as well as the ration of clock speeds.
  19. Both bytes should contain the same value (the on/off period for one cycle).
  20.  
  21. The following example session with debug will change the values:
  22.  
  23. Enter
  24. copy speech.com speech-8.com<CR>
  25. debug speech-8.com<CR>
  26.  
  27. where <CR> means the enter key.  Debug will display a "-" prompt.  Then enter
  28.  
  29. e2a1<CR>.
  30.  
  31. Debug will display something like "xxxx:02a1  08.".  The xxxx value will
  32. vary from computer to computer.  Debug should display the number 08 as
  33. above.    If this value is not 08, then you do not have the correct SPEECH.COM
  34. (there are several floating around) and should not continue.  This patch only
  35. works for this particular version.
  36.  
  37. To change the value for an 8Mhz clock, enter
  38.  
  39. D<CR>
  40.  
  41. Similarly, enter
  42.  
  43. e2a2<CR>.
  44. D<CR>
  45.  
  46. followed by
  47.  
  48. w<CR>
  49.  
  50. and then
  51.  
  52. q<CR>.
  53.  
  54.  
  55. The result should appear similar to:
  56.  
  57. A>debug speech-8.com
  58. -e2a1
  59. xxxx:02a1  08.d
  60. -e2a2
  61. xxxx:02a2  08.d
  62. -w
  63. -q
  64. A>
  65.