home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / Geneve / 9640news / CAT15 / MDCHNG.ARK < prev    next >
Text File  |  2006-10-19  |  14KB  |  208 lines

  1. ?
  2.  
  3.  
  4.      Many of you Kracker Hackers may still be working with a TI DIsk
  5. Controller, but have a MYARC or (soon) New Horizons RAMDISK.  Up until now
  6. you have had to put the EDIT1, EDITA1, EDITA2, ASSM1, ASSM2, FORMA1, FORMA2
  7. in Drive 1 because the E/A and TI-WRITER modules insisted on it.  Therefore,
  8. if you wanted fast loading from the RAMDISK, it had to be Drive 1, thus dis-
  9. abling your true floppy drive 1.  The following sections will show you how to
  10. change these modules to make the defaults for drives 2-5, and allow you to
  11. keep using all your disk drives as usual.  There are also sections on chang-
  12. ing the TI Disk Manager to allow 4 or 5 or even 9 (!) drives, changing the
  13. Disk Manager 1000 V. II, and finally the shape of the cursor in CHARA1.
  14.      To keep repetitions to a minimum, I will review the process of using the
  15. GK Editor here.  First save your module to disk (if you haven't already)
  16. using option 2 on the GK main screen.  Then remove the module and reload the
  17. file off the disk using option 1.  Now choose 5, the Editor.  The cursor will
  18. be in the upper left hand corner, over a small c (indicating CPU memory).
  19. FCTN 1 will switch you to a small g (for GRAM).  Press enter and you can now
  20. type the appropriate addresses that will be described.  FCTN 9 will put the
  21. cursor on the memory window, and you can now make changes (be sure that the
  22. W/P switch is up, to Bank 1, or changes will not be accepted).  After the
  23. change is made, exit the Editor with CTRL =, exit the GK with FCTN = or FCTN
  24. 9 and test your changes.  If they are OK, go back to the GK and re-save the
  25. module.
  26.      I am not sure if there are different versions of these modules out
  27. there, which might make the addresses slightly different.  If so you can use
  28. the Search feature of the GK.  After getting the GRAM window with FCTN 1,
  29. press enter twice to get to Start address, enter 6000, then A000 for the
  30. Finish address, press FCTN 5 to activate the Search, press FCTN = if you need
  31. to change from ASCII to hex or vice versa, press FCTN 9 to get the cursor
  32. into the search entry field, then type the string you want, MOVE THE CURSOR
  33. BACK TO THE LAST TYPED ENTRY, and press enter.  The GK will find the first
  34. occurence for you and put the address in the upper left corner.  To edit what
  35. you have found press FTCN 5 again, then FCTN 9 and you will have the cursor
  36. in the memory field.
  37.  
  38.      EDITOR/ASSEMBLER
  39.      ================
  40.      The default disk drive for loading the Editor, Assembler, and UTIL1
  41. files is at g6621. [search for EDIT1 if this isn't exactly right and you
  42. don't see it on the screen] The default name UTIL1 is at g662D.  The name
  43. length of these files (all the same) is at g661D (in hex of course), and
  44. equals 0A (i.e.  DSK1.EDIT1 etc.) If you wish to have a different program
  45. name as your default for the Utility option it must still have 5 characters.
  46.      If you have installed the EDIT1 and ASSM1-2 programs in high GRAM using
  47. the E/AGRMDISK utility which came with the GK, then these names are not
  48. needed and you can change even the length of the Utility program, provided
  49. you change the length byte at g661D (be sure to add the 5 for DSK1.) Alter-
  50. natively you can change the NAMES of the EDIT1 and ASSM1-2 files with a Disk
  51. Manager to make them correspond in length to the name of the UTIL1 type pro-
  52. gram.  Then just type in the new names in GRAM, as well as the new length
  53. byte.  There is no room for names longer than 5, but they can be shorter.
  54. They must BEGIN at the same location - the unused characters will be ignored.
  55. If you have chained a UTIL1 type program together with the module for automa-
  56. tic loading on powerup (uses FCTN X when saving the module, see your GK
  57. manual for instructions) then use a 4 character name for the module - this
  58. makes the additional files 5 characters.  E.g. if the module name is UTIL
  59. then the utility programs can remain UTIL1 (and 2 if used).  If you installed
  60. the Edi- tor and Assembler programs in high GRAM then the numbers would have
  61. to be higher than 1-2.  I named the module F, and used the high GRAM option,
  62. so my utility program had to be named F4 and F5, and I therefore used F4 for
  63. the default at g661D as above.
  64.      As you can see there are myriad possibilities - do it the way YOU like.
  65. By the way, thanks to Rory Binkerd we now know the locations for the de-
  66. fault colors as well (g6537 for the Editor, g652C for the main screen, both
  67. contain F5 which isn't as easy to read as F4 on a color monitor or TV; F0 is
  68. most appropriate for a monochrome monitor).  Change these too! I had pre-
  69. viously published a way of changing this in the EDIT1 program (Micropendium
  70. and the LA 99'er Newsletter) but this is no longer necessary.
  71.      When you have done all this you are ready to go.  First save the new
  72. module of course!! Now set up your RAMDISK to whatever drive you have chosen
  73. as your default.  Use some copy program to copy the module files plus the
  74. utility programs (and the EDIT1 etc if they are not in high GRAM) to the RAM-
  75. DISK.  See the section below if your disk manager can't use more than 3
  76. drives and you are set up for drive 4.  Now when you enter the Editor or
  77. Assembler, you'll get them in a flash!
  78.  
  79.      TI-WRITER
  80.      =========
  81.      This one is a bit easier, because the default utility program name is
  82. not picked out of GRAM as such, but is put up on the screen.  Hence there is
  83. no need to worry about the length byte, as the program measures it once you
  84. press enter.
  85.      First, the default drive number is at g6763 (actually DSK1. is at
  86. g6760).  If this address is not correct you can search for DSK1. but there
  87. seems to be one at 65A7 as well.  I am not sure of what the function of this
  88. one is, but not changing it seemed to make no difference.
  89.      The name of the Utility program is at g6B27 in English.  Change it to
  90. whatever you wish (probably the same as the one in the Editor/Assembler, if
  91. you have them on the same disk).  The other 7 languages (!) are located at
  92. 6CD0, 6EBA, 70A1, 725E, 7469, 763B, and 6EBA.  You can change them if you
  93. wish - I didn't bother since I don't use them. As a matter of fact, Howie
  94. Rosenberg has already uploaded instructions to get rid of these altogether,
  95. which will be useful in the future, because I've heard a rumor that eventual-
  96. ly we will be able to get TI-WRITER and E/A in one GRAM!
  97.      The default colors for the main screen are at g6284, and for the Editor
  98. at g68C1, per Rory again.  While you're changing these, you might go into the
  99. EDITA1 file with a sector editor and look at the end of the first sector.
  100. There is a series of five 87xx words, where the xx represents different color
  101. combinations.  You should change one of these to whatever you chose for your
  102. defaults; otherwise if you ever hit CTRL 3 to change the colors, you won't be
  103. able to get your original colors back.
  104.  
  105.      TI DISK MANAGER 2
  106.      =================
  107.      There is no problem with defaults here, the trouble is that the module
  108. won't accept a number higher than 3 for the disk drive! One would think that
  109. there is a single routine that checks for this.  I worked through this one
  110. with Explorer and found a routine and changed it.  But when I went back to
  111. the module, the higher numbers were only accepted in some places.  I wound up
  112. doing a little bit of educated guessing.  I am pretty sure that what is
  113. listed below will make it all work without messing up any routines.
  114.      First the changes to the routines.  A hex 33 is picked out of GRAM each
  115. time; you can see this as an ASCII 3 as well.  I found the following
  116. locations necessary to change (all in GRAM): 724D, 72C0, 63F4, 6426, 650C,
  117. 675D, 685D.  All but the 2nd and 4th also have a small r before the 3, so you
  118. can use r3 for the search, if the addresses aren't right.  Change all of
  119. these to 4, 5 or whatever number you wish.
  120.      Next use the search feature to look for (1-3).  There are 2 locations
  121. for each language.  Change these to the number you chose above.  This doesn't
  122. affect the running of the module but looks neater.
  123.      There is one more change I made.  I have a parallel interface for my
  124. printer and have gotten tired of using option 4 and typing in PIO as device
  125. name when I want to print the catalog of a disk.  As option 3 for RS232 was
  126. unused for me I modified it.  This required two changes.  First search for
  127. RS232 between g6000 and gA000.  You should get 61B2.  FCTN 5, FCTN 9 to get
  128. the memory screen.  Now use left arrow to back up one byte and FCTN = to
  129. change to hex.  You should see 05 the length of the device name RS232.
  130. Change this to 03 and FCTN = again to get back to ASCII.  Now type PIO.  Now
  131. FCTN 9, FCTN 5, FCTN 9 to get the search entry again, position the cursor
  132. over the second 2 and press enter.  This time you should get 86F2.  This is
  133. the text screen.  Get to the memory editor and type PARALLEL INTERFACE.  Now
  134. when you press 3 you will get an automatic printout to your parallel printer.
  135.      That completes the changes. I am sorry I did not have a Disk Manager 1
  136. to work with to compare the changes.  Hopefully the routines are the same,
  137. although the addresses will almost certainly be different.
  138.  
  139.      DISK MANAGER 1000 (DM1000)
  140.      ==========================
  141.      I have V. II of this program.  Hopefully the techniques will be applicable
  142. to other versions as well, but with different locations.  These changes require
  143. a sector editor, not the GRAM KRACKER.  The routine that checks for the high
  144. drive number is actually looking at a table that contains (hex) 31 32 33 34, so
  145. the information is there.  First search for this sequence in MGR1 and check the
  146. exact byte where >33 is.  On my disk it is at byte >57 of the second sector of
  147. the file.  The file loads at >A000, but the first 6 bytes of the first sector
  148. are not loaded.  Thus the memory location you have found can be computed by
  149. adding >100 to >A000 for each sector BEYOND the first, plus the byte number on
  150. the sector and subtracting 6.  In this case that is >A000 + >100 + >57 - >6, or
  151. >A151.  [MGR2 loads at >BFFA, otherwise use the same technique].
  152.      Now search for this computed address in MGR2.  On my disk this was at
  153. byte >DC of the 11th sector.  Change it to A152 to check for 4 drives.  If
  154. your disk has a 35 after the 31 32 33 34 then you can use 1 address higher to
  155. check for 5.  Otherwise it is more compl)cated.  You need a >35 that is never
  156. changed.  I believe I found one at byte >EE of 8th sector of R1, which
  157. computes to >A7E8 (>A000 + >700 + >EE - >6).  I replaced A151 with this
  158. address and the program now accepts up to 5 drives.
  159.      You may also know that the program checks for the header of a file named
  160. MGR1 in drive 1 for printer codes if you have saved them as such.  The first
  161. thing to do if you have renamed the program is create a dummy file called
  162. MGR1 to enable this option.  [in XB run the following program:
  163. 100 OPEN #1:"DSK1.MGR1"::PRINT #1::CLOSE #1].  Now how do you make it look
  164. for the header in drive 4 or 5.  First search for the hex sequence 010203.
  165. On my disk this was at byte >C of 2nd sector of MGR1 (address computes to
  166. >A106).  This data will be inserted into another address which will then be
  167. transferred to >834C which is used for the drive number in a sector access
  168. routine.  Now search for the sequence D820xxxxA155 where xxxx is the address
  169. you just found.  (This is ASL object code for MOVE a byte from xxxx to A155) If
  170. nothing comes up then try not typing in the A155 and see what you get.  In my
  171. case there were two occurrences both in MGR2; at byte >A4 of 1st sector and >2E
  172. of 19th sector.  You must now change the xxxx in both cases to an address which
  173. contains 04 or 05 depending on how many drives you want.  04 is easy, as the
  174. beginning of the program at byte >6 of 1st sector of MGR1 is 0460 C074 (B @
  175. >C074).  So xxxx can be replaced by A000.  For 05 I picked byte >48 of same
  176. sector, apparently part of data for a PAB in LOAD mode.  Use this address
  177. (remember to add 6, i.e. A04E) for the replace- ment.
  178.  
  179.      CURSOR
  180.      ======
  181.      If you have used the E/AGRMDISK utility that came with the GK and
  182. installed the CHARA1 file, you may have noticed (!) that instead of a true
  183. cursor on the editor and assembler option screens you get a little 1f.  This
  184. is because the E/A  uses character >1F for its cursor here, and CHARA1 hasn't
  185. defined it as a block.  As TI-WRITER never actually uses it as far as I can
  186. tell, you can redefine it to whatever shape you wish.  I put in a solid block
  187. cursor, although the E/A module uses a hollow block.  The eight bytes in
  188. question are located as the last two of the first sector of CHARA1 and the
  189. first six of the 2nd sector (if you have already created the speed loader,
  190. these wind up being on the 25th and 26th sectors of the fourth file created.
  191. You should see (00 40) (4C 50 10 1C 10 10) in these two sectors.  Change
  192. these all to 7E for a medium size block, or 3C for a narrow block, or (00 7E)
  193. (42 42 42 42 7E 00) for a hollow block.
  194.      While you're at it, if you don't like the arrow instead of a circumflex
  195. (caret), then go to the next sector and look at the 10th to 3rd bytes from
  196. the end.  If these are 10 28 44 10 10 10 10 00, you can change the 10 's to
  197. 00 's and get a regular caret back.
  198.  
  199.      I hope this isn't all unnecessarily complicated, but if you can do it
  200. you'll find your system much more useful.  Have fun..............
  201.                                    Tom Freeman
  202.  
  203.  
  204.  
  205. Download complete.  Turn off Capture File.
  206.  
  207.  
  208.