home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #3.1 / RBBSIABOX31.cdr / msch / mod450.doc < prev    next >
Encoding:
Text File  |  1984-08-31  |  3.6 KB  |  112 lines

  1.     Modifying Modem Programs to Operate at 450 Baud
  2.  
  3. As you are probably aware,  most 300 Baud  modems will operate at
  4. speeds    greater  then 300 Baud.  Since source code is not  easily
  5. available on most modem programs, below is a method to modify the
  6. ones that do not support 450 Baud. (I haven't found any that do).
  7.  
  8. The  method  I    use is to modify one of the Baud  rates  that  is
  9. supported to 450 Baud. I picked 1200 in both examples below, if I
  10. had a 1200 Baud modem I would not be doing this.
  11.  
  12. Each  of the examples are done somewhat differently but the basic
  13. procedure  remains the same.  It is necessary to know the  values
  14. of the various Baud rates used by the hardware. They are:
  15.  
  16.      9600 BAUD = 000C
  17.      4800 BAUD = 0018
  18.      2400 BAUD = 0030
  19.      1200 BAUD = 0060
  20.       600 BAUD = 00C0
  21.       450 BAUD = 0100
  22.       300 BAUD = 0180
  23.       110 BAUD = 0417
  24.  
  25. GENERAL PROCEDURE
  26.  
  27. 1.  Make  a  copy of the program to modify and rename it with  an
  28. extension other then COM, EXE, or HEX.
  29.  
  30. 2. Load the program under debug
  31.      Example: A>debug xtalk.mod
  32.  
  33. 3. Use    search    feature of debug to find value of  Baud  rate  to
  34. change.
  35.      Example: -s100 f000 60 00
  36.      Note:  that the value you are looking for will be in  memory
  37. in reverse order from the above table.
  38.  
  39. 4. In most cases debug will report several places where the value
  40. occurs    in  memory,  use the unassemble comand to  determine  the
  41. correct  value    to  change.  If there are several that    might  be
  42. correct my only suggestion would be to change them one at a  time
  43. and test between changes. (Not very fool proof)
  44.  
  45. 5.  After  necessary changes then use the write feature to  store
  46. changes on the disk.
  47.      Example: -w
  48.  
  49. 6. Rename the file back to the correct extension.
  50.  
  51. 7. Run the file to test it and good luck.
  52.  
  53. Caution:  While in debug do not attemp to run the file.  It  will
  54. not work and the system will get lost.
  55.  
  56. Modifing Crosstalk
  57.  
  58. 1. Load file under debug
  59.  
  60. 2.  Search for 60 00. There will probably  be  two areas at  B6AA
  61. and C866.  The C866 is the correct area. If you dump the area you
  62. will  see  all the Baud rates followed by the two bytes  for  the
  63. hardware setup.
  64.  
  65. 3. Back up four bytes to where the 1200 starts and enter 0450 and
  66. the 0 , 1
  67.      Example: -ec863
  68.      XXXX:C863 31.30     32.34       30.35     30.30     60.0
  69.            00.1     36.
  70.  
  71.      Note:  The  value    to the left of the decimal point  is  the
  72. value in memory, to the right is the value to change it to.
  73.  
  74. 4. Write file back to disk.
  75.  
  76.      Note:  Since it is known that two    ASCII  zeroes  are before
  77. the hardware value, if the search string is changed to -s100 f000
  78. 30  30    60  00, then it should only report one occurance of  that
  79. string.
  80.  
  81. Modifying Minitel
  82.  
  83. 1. Load file under debug
  84.  
  85. 2. Search for 60 00. There will likely    be several locations. The
  86. area around 1700 is the correct area. If you unassemble this area
  87. you  will see some Mov     BX instructions with the hardware values
  88. being loaded.
  89.  
  90. 3. Change the 60 00 to 00 01.
  91.  
  92. 4. Write file back to disk.
  93.  
  94.      Note:  Since  it  is  now known that MOV BX  is  before  the
  95. hardware value, if the search string is changed to -s100 f000  BB
  96. 60 00, it should only report one occurrence of that string.
  97.  
  98. Misc Notes:
  99.  
  100.      1.  Crosstalk  will  show    0450  Baud  on    the  screen  when
  101. selected.  In Minitel you  have to  select 1200 but  it will work
  102. at 450.
  103.      2.  With both of the systems only the first character  needs
  104. to be input when selecting a Baud rate. A 0 for Crosstalk and a 1
  105. for Minitel.
  106.  
  107.         David Paul
  108. he first character  needs
  109. to be input when selecting a Baud rate. A 0 for Crosstalk and a 1
  110. for Minitel.
  111.  
  112.