home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / A / DZ-NOV86.LZH / DZENGHLP.OVR < prev    next >
Text File  |  2000-06-30  |  15KB  |  327 lines

  1.                                                                  29 Nov 86
  2. HELP FILE for DazzleStar Disassembler
  3. =====================================
  4.                                Introduction
  5.  
  6.  
  7. Thi≤á documen⌠ i≤ thσ filσ DZENGHLP.OV╥ anΣ serve≤ a≤ ß brieµ introductioε ì
  8. t∩ DazzleStar«á  It'≤ provideΣ iε casσ yo⌡ don'⌠ ye⌠ havσ thσ ful∞ manual¼ ì
  9. anΣ as a form of on-line help.
  10.  
  11. DazzleSta≥á take≤ ß CP/M-8░ binar∙ filσ (fo≥ examplσ ß .CO═ o≥ .OV╥ file)¼ ì
  12. anΣá produce≤ Ziloτ Z8░ mnemonics¼á eithe≥ a≤ ß listinτ oε you≥ printe≥ o≥ ì
  13. a≤ ß .MA├ filσ fo≥ Microsof⌠ M8░ o≥ other assemblers.
  14.  
  15. Thi≤ filσ serve≤ a≤ aε introduction¼á sufficien⌠ t∩ ge⌠ yo⌡ starteΣ anΣ d∩ ì
  16. usefu∞ work«á  I⌠ caε bσ browseΣ witΦ ^J¼á o≥ printeΣ usinτ WordStar«á  T∩ ì
  17. obtain the full manual, refer to DZ--READ.ME.
  18.  
  19. --------------------------------------------------------------------------
  20. .cp 25
  21.  
  22. Fe≈ program≤ contaiε nothinτ bu⌠ instructions¼ s∩ DazzleSta≥ keep≤ ß breaδ ì
  23. table¼á t∩á specif∙ ho≈ eacΦ par⌠ oµ you≥ prograφ i≤ t∩á bσá disassembled«  ì
  24. Therσá i≤á als∩á ß symbo∞ table¼á s∩ tha⌠ label≤ anΣ value≤ caεá bσá giveε ì
  25. whateve≥ name≤ (o≥ phrases¼ even⌐ tha⌠ thσ use≥ wishes.
  26.  
  27.  
  28.                       Starting up (the command line)
  29.  
  30. Thσá filσ t∩ bσ disassembleΣ mus⌠ bσ specifieΣ iε thσ commanΣ tail«á Sincσ ì
  31. thσ .CO═ extensioε i≤ thσ mos⌠ frequent¼á .CO═ i≤ addeΣ iµ n∩ extensioε i≤ ì
  32. explicitl∙ given«á  Fo≥ example¼á t∩ disassemblσ ß filσ THATPROG.COM¼ typσ ì
  33. "D┌ THATPROGó ("D┌ THATPROG.COMó als∩ works)«á  Othe≥ files¼á fo≥á examplσ ì
  34. THATPROG.OVR¼ caε bσ specifieΣ b∙ givinτ thσ namσ iε full«  ┴ drivσ lette≥ ì
  35. in front of the filename is accepted (e.g. "DZ B:THATPROG").
  36.  
  37. --------------------------------------------------------------------------
  38. .cp 25è                          Windows on the screen
  39.  
  40. Thσ screeε i≤ arrangeΣ witΦ window≤ whicΦ arσ independentl∙ updated.
  41.  
  42.             .-------------------------------.           
  43.             |          Status Line          |
  44.             |-------------------------------| Experienced users can 
  45.             |                               | suppress the menu to  
  46.             |          Men⌡ windo≈          | expanΣ thσ othe≥ windows
  47. Info about  |-------------------------------| 
  48. nearby      |          Break window         |
  49. breaks      |-------------------------------|
  50.             |                               | You≥ curso≥ i≤ normally
  51. Sometimes   |       Disassembly window      | within this window
  52. these two   |-------------------------------|
  53. windows are |      Hex dump window | Ascii  | If disassembly window
  54. combined    |   or 2nd disassembly | window | is very small, your
  55.             '-------------------------------' curso≥ may be iε thi≤ 
  56.                                               window
  57. --------------------------------------------------------------------------
  58. .c≡ 25
  59.                            Moving thru the file
  60.  
  61. Thσ commanΣ key≤ choseε arσ baseΣ oε WordStar¼á s∩ yo⌡ shoulΣ quickl∙ finΣ ì
  62. ß lo⌠ oµ olΣ friend≤ oε you≥ keyboard.
  63.  
  64.   ^W  Scroll up 1 line           ^E              ^R  Scroll to previous 
  65.                               Cursor up              page (or thereabouts)
  66.  
  67.  
  68.                   
  69.   ^Z                        ^X                  ^C  Next page            
  70.   Scroll down          Cursor down
  71.   1 line 
  72.  
  73. ^^ (up)   also work, which allows use of                                 
  74. ^_ (down) cursor arrows on some machines        
  75.  
  76. Actually¼ jus⌠ thσ letter≤ alonσ als∩ worδ ok¼ n∩ neeΣ t∩ usσ <CTRL>.
  77. --------------------------------------------------------------------------
  78. .cp 25è                              Moving further
  79.  
  80. T∩á movσá ßá shor⌠á distancσ througΦ thσ file¼á usσá thσá scrol∞á command≤ ì
  81. (especiall∙ ^├ anΣ ^R)«á  Ofteε you'l∞ wan⌠ t∩ movσ further¼á s∩ therσ arσ ì
  82. hand∙ way≤ t∩ d∩ this:
  83.  
  84. Go to address    ^A  hex address <return>
  85. and display      ^F  goes to the address in the 2nd and 3rd bytes of 
  86. screenful            the instruction specified by the cursor 
  87.                  (to remember: A for Address, F for Follow)
  88.  
  89. --------------------------------------------------------------------------
  90. .cp 25
  91.                               Command groups
  92.  
  93. Somσá oµá thσ commanΣ code≤ arσ tw∩ character≤ lonτ (simila≥á t∩á WordSta≥ ì
  94. wherσ analogie≤ arσ possible)«  The∙ arσ loosel∙ grouped¼ accordinτ t∩ thσ ì
  95. firs⌠ characte≥ oµ thσ pair.
  96.  
  97. Thσ commanΣ group≤ are:
  98.  
  99.      ^K-  various file commands
  100.      ^O-  Onscreen: how the screen is arranged
  101.      ^D-  Display other information
  102.      ^Q-  Quick: move quickly to another part of the file
  103.      ^S-  build Symbol table    
  104.      ^B-  build Break table
  105.      ^P-  inline Parameter definition
  106.      ^J-  Help
  107.  
  108. "Quickóá i≤á no⌠ ß ver∙ gooΣ mnemoniπ fo≥ thσ ^╤ family¼á bu⌠ man∙ oµá thσ ì
  109. use≤ arσ simila≥ t∩ WordStar¼á fo≥ examplσ ^QR¼ ^QC¼ ^QF¼ ^QA¼ ^Q╓ arσ al∞ ì
  110. inspireΣ b∙ WordStar.
  111. --------------------------------------------------------------------------
  112. .cp 25è                                  HELP!
  113.  
  114. Wheε thσ firs⌠ characte≥ oµ ß two-characte≥ commanΣ ha≤ beeε typed¼ iµ thσ ì
  115. seconΣá characte≥ i≤ no⌠ typeΣ withiε ß reasonablσ timσ theε thσá use≥á i≤ ì
  116. prompteΣ b∙ thσ displa∙ oµ aε appropriatσ secondar∙ menu.
  117.  
  118. ^JH▓á clear≤ thσ to≡ oµ thσ screeε t∩ makσ morσ rooφ fo≥ displayinτá code¼ ì
  119. bu⌠ turn≤ ofµ thσ menu.
  120.  
  121. ^JH│ turn≤ thσ men⌡ bacδ oε again.
  122.  
  123. ^J <space> returns to the main menu.
  124.  
  125. ^J followed by anything else displays this file.
  126.  
  127. (Actually¼á JH▓ anΣ JH│ caε bσ abbreviateΣ t∩ J▓ anΣ J3¼á no⌠ s∩ analagou≤ ì
  128. to WordStar, but quicker to type!).
  129.  
  130. --------------------------------------------------------------------------
  131. .cp 25
  132.                                Break table
  133.  
  134. DazzleSta≥á build≤á ßá tablσ oµ "breaksó (calleΣ thσá breaδá table⌐á whicΦ ì
  135. decide≤á ho≈ eacΦ par⌠ oµ thσ inpu⌠ filσ i≤ displayed«á  Thi≤á terminolog∙ ì
  136. migh⌠ confusσ yo⌡ iµ you'rσ ß DD╘ o≥ ZSI─ user«á  Don'⌠ misunderstanΣ thi≤ ì
  137. terφ -- i⌠ ha≤ NOTHIN╟ t∩ d∩ witΦ thing≤ likσ DDT breakpoint≤.
  138.  
  139. Thσá breaδ tablσ caε bσ modifieΣ witΦ ^B° sequences¼á summarizeΣ iε thσ ^┬ ì
  140. menu¼ anΣ morσ full∙ describeΣ iε thσ manual.
  141.  
  142. Therσ arσ man∙ type≤ oµ break¼á givinτ yo⌡ grea⌠ flexibility«  Thσ one≤ t∩ ì
  143. tr∙ first¼ satisfyinτ thσ majorit∙ oµ needs¼ are:
  144.  
  145.      ^BB  Bytes (as in DB or DEFB)
  146.      ^BI  Instructions (the kind of display you get on starting DZ)
  147.      ^BW  Word values, 16-bit numbers (as in DW or DEFW)
  148.  
  149. --------------------------------------------------------------------------
  150. .cp 25è                              Disk files etc
  151.  
  152.      ^KS  Write .DZ file (text file containing all symbols, comments,
  153.           and breaks, so disassembly can continue another day)
  154.  
  155.      ^K╥á ReaΣ .DZ file (produced by ^KS)
  156.  
  157.      ^KQ  return to CP/M -- nothing is saved 
  158.  
  159.      ^KX  save break & symbol tables (if altered) and return to CP/M
  160.  
  161.      ^KP  print part or whole disassembly on LST: (or .PRN file)
  162.  
  163.      ^KW  write part or whole disassembly to disk (.MAC file)
  164.  
  165.      ^KG  Read "Ken Gielow" .BRK file, from Z80DIS21.
  166.  
  167. --------------------------------------------------------------------------
  168. .cp 25
  169. REMEMBER║á ^K╙ doe≤ no⌠ takσ long«  Yo⌡ can'⌠ turε bacδ thσ clocδ anΣ typσ ì
  170. ^KS after a power cut, or a head crash.
  171.  
  172. ^KP¼á ^KW║á Jus⌠ pres≤ <return╛ t∩ obtaiε thσ mos⌠ sensiblσ default≤á (thσ ì
  173. value≤ displayeΣ withiε squarσ brackets)«  
  174. --------------------------------------------------------------------------
  175. .cp 25
  176.                                Symbol table
  177.  
  178. Thσ symbo∞ tablσ caε bσ though⌠ oµ a≤ severa∞ independen⌠ symbo∞ table≤ -- ì
  179. wheεá aε instructioε i≤ decodeΣ DazzleSta≥ decide≤ wha⌠ kinΣ oµ symbo∞á i≤ ì
  180. involveΣ (fo≥ example¼á ß bytσ reference¼á ß worΣ reference¼á ßá label¼á ß ì
  181. relativσ label¼ etc)«  Wheε thσ instructioε i≤ displayed¼ you≥ symbo∞ namσ ì
  182. i≤á onl∙ useΣ iµ yo⌡ askeΣ fo≥ i⌠ t∩ bσ useΣ fo≥ thi≤ kinΣ oµ symbol«á  S∩ ì
  183. i⌠ i≤ eas∙ t∩ tel∞ DazzleSta≥ t∩ turε this:
  184.  
  185.                         LD HL,0100         (size of 256 byte block)     
  186.                          ...                                            
  187.                         JP 0100            (restart the program)        
  188.  
  189. into:
  190.                         LD HL,blocksize
  191.                          ...
  192.                         JP start
  193.  
  194. without any confusion between the two uses of 0100.
  195. --------------------------------------------------------------------------
  196. .cp 25èThσá command≤ arσ describeΣ morσ formall∙ iε thσ referencσ sectioε oµá thσ ì
  197. manual¼á anΣ mucΦ fulle≥ example≤ arσ giveε iε thσ tutoria∞ section«á  Fo≥ ì
  198. no≈ let'≤ jus⌠ g∩ througΦ tha⌠ examplσ iε ß littlσ morσ detail:
  199.  
  200.                          LD HL,0100
  201.                           ...
  202.                          JP 0100
  203.  
  204. Movσ thσ curso≥ t∩ thσ L─ H╠ line«á  Typσ ^SIblocksize<return>«á  Movσ thσ ì
  205. curso≥á t∩ thσ J╨ line«á  Typσ ^SIstart<return>«á  Now¼á wheε yo⌡á displa∙ ì
  206. somewherσá elsσ iε thσ filσ witΦ ß referencσ t∩ 010░ i⌠ wil∞ sho≈á 'startº ì
  207. o≥ 'blocksizeº a≤ appropriate.
  208.  
  209. ^S╔ stand≤ fo≥ "symbo∞ indirect"«  Les≤ frequentl∙ yo⌡ wil∞ wan⌠ t∩ definσ ì
  210. ßá symbo∞á wherσá yo⌡á arσá now¼á rathe≥ thaεá thσá placσá aεá instructioε ì
  211. references.  There are lots of ^S commands to do this.
  212. --------------------------------------------------------------------------
  213. .cp 25
  214.                     Auto-build breaks and symbol names
  215.  
  216.      ^SA  auto-builΣ symbo∞ tablσ (name≤ deriveΣ froφ he° addresses)
  217.  
  218. ^S┴á i≤ thσ fastes⌠ wa∙ t∩ builΣ ß gooΣ disassembly«á  Positioε thσ curso≥ ì
  219. t∩á thσá star⌠á oµá thσ prograφ (^QR⌐á anΣá usσá ^SA«á  DazzleSta≥á start≤ ì
  220. disassembling¼á anΣ add≤ name≤ t∩ thσ symbo∞ tablσ a≤ i⌠ goes«  Iµ aε areß ì
  221. follow≤áá aεá unconditiona∞á transfer¼áá i⌠á i≤á provisionall∙á markeΣá a≤ ì
  222. unreachablσá anΣ no⌠ disassembleΣ (t∩ avoiΣ enterinτ falsσ label≤á iεá thσ ì
  223. symbo∞á table)«á  EacΦ timσ ß cal∞ t∩ ß ne≈ routinσ i≤á found¼á DazzleSta≥ ì
  224. give≤á yo⌡ bacδ ful∞ control«á  Thi≤ enable≤ advanceΣ user≤ t∩ examinσ thσ ì
  225. routine¼á anΣá perhap≤á usσ thσ ^╨ family«á  EacΦ timσ ß referencσá t∩á aε ì
  226. undefineΣá T-symbo∞á (withiεá thσ prograφ area⌐ i≤á founΣá yo⌡á als∩á gaiε ì
  227. control¼ agaiε givinτ advanceΣ user≤ finσ control«  T∩ continuσ auto-builΣ ì
  228. froφ wherσ i⌠ wa≤ halted¼ pres≤ ".ó (a≤ iε "t∩ bσ continued...").
  229.  
  230. --------------------------------------------------------------------------
  231. .c≡ 25èThσá namσá giveεá b∙ ^S┴ use≤ thσ lette≥ appropriatσ fo≥ thσá usσá oµá thσ ì
  232. symbo∞ anΣ thσ fou≥ he° digit≤ oµ it≤ value«á  Fo≥ example¼ decodinτ C│ 3┤ ì
  233. 1▓á iε aε areß startinτ witΦ aε "Ió breaδ (Instructions⌐ woulΣ generatσá ß ì
  234. symbo∞ L1234.
  235.  
  236. Wheεá n∩ morσ passe≤ arσ requireΣ thσ curso≥ wil∞ sta∙ a⌠ thσ enΣá oµá thσ ì
  237. prograφá wheε '.º i≤ pressed«á  Cleaε u≡ thσ breaδ tablσ witΦ ^BY«á  Fo≥ ß ì
  238. largσ disassembl∙ thi≤ wil∞ takσ somσ time.
  239. ì
  240. --------------------------------------------------------------------------
  241. .cp 25
  242.                          Fine tuning the display
  243.  
  244. ^OF¼ ^OS¼ anΣ ^O╒ givσ yo⌡ fine≥ contro∞ ove≥ thσ wa∙ iε whicΦ thσ displa∙ ì
  245. i≤á presented«á  Thi≤á i≤á discusseΣ furthe≥á iεá thσá manual«á  Moreover¼ ì
  246. DZINSTA╠á allow≤á yo⌡á t∩ specif∙ thσ initia∞ setting≤ oµ thesσá anΣá man∙ ì
  247. othe≥ thing≤ t∩ you≥ liking.
  248.  
  249. Iµá yo⌡ havσ thσ manual¼á anΣ yo⌡ stil∞ can'⌠ ge⌠ thσ display¼á printouts¼ ì
  250. anΣ file≤ exactl∙ thσ wa∙ yo⌡ likσ theφ (minu≤ pickles¼ extrß ketchup¼ anΣ ì
  251. 73┤á sesamσá seed≤á oε eacΦ bun⌐ theε you'rσ harΣ t∩ pleaseíá  Mai∞á mσá ß ì
  252. lette≥ anΣ I'l∞ bσ happ∙ t∩ seσ iµ ╔ caε satis∙ you≥ gourme⌠ demand≤á nex⌠ ì
  253. timσá around«á  Ver∙ fe≈ peoplσ takσ u≡ thi≤ offe≥ -- s∩ don'⌠ jus⌠ sa∙ t∩ ì
  254. yourself "someone is bound to have pointed THAT out already".
  255.  
  256. --------------------------------------------------------------------------
  257. .cp 25
  258.                                Comments
  259.  
  260. Therσá arσ tw∩ sort≤ oµ comment¼á thosσ betweeε line≤ anΣ thosσá alongsidσ ì
  261. the code.  I like to call them major comments and minor comments.
  262.  
  263. Inserting a major comment:
  264.  
  265.      Move the cursor to the line following where you want the comment.
  266.      Pres≤ <semicolon>«  (Thσ screeε wil∞ bσ redisplayed¼ witΦ ß ga≡ fo≥ 
  267.                         your new comment).
  268.      Type comment, terminating with <return>
  269.  
  270. Backspacσ i≤ implemented¼á anΣ caε bσ useΣ beforσ <return╛ ha≤ beeε typed¼ ì
  271. bu⌠ otherwisσ thσ commen⌠ canno⌠ bσ edited«  However¼ yo⌡ caε late≥ retypσ ì
  272. i⌠ completely¼á anΣ deletσ thσ olΣ one«  There'≤ n∩ limi⌠ t∩ thσ numbe≥ oµ ì
  273. line≤ oµ commen⌠ a⌠ an∙ point«  Comment≤ caε bσ inserteΣ iε an∙ order.
  274.  
  275. Inserting a minor comment:  much the same, but start by pressing <slash>.
  276.  
  277. --------------------------------------------------------------------------
  278. .c≡ 25è                Moving forward or back by just a few bytes
  279.  
  280. ┴ digi⌠ (DON'╘ pres≤ thσ <CTRL╛ ke∙ a⌠ thσ samσ time¼á somσ computer≤á ge⌠ ì
  281. upse⌠á iµá yo⌡ do⌐ cause≤ redispla∙ froφ thσ addres≤ oµ thσá curren⌠á linσ ì
  282. plu≤ thσ valuσ oµ thσ digi⌠ yo⌡ typed«  
  283.  
  284. Fo≥á example¼á movσá thσá curso≥ t∩ ß linσ (perhap≤ thσ firs⌠á linσá oµá ß ì
  285. routine⌐á anΣ typσ '0'«á  Thσ addres≤ oµ thi≤ linσ (plu≤ ░ ╜á nothing⌐á i≤ ì
  286. useΣá a≤ thσ firs⌠ linσ oµ thσ screeε anΣ thσ wholσ screeε i≤ redisplayed«  ì
  287. S∩ '0º slide≤ you≥ windo≈ dowε thσ codσ ß bi⌠ (dependinτ wherσ you≥ curso≥ ì
  288. is⌐á bu⌠á no⌠ a≤ mucΦ a≤ ^├ woulΣ (unles≤ you≥ curso≥ wa≤á oεá thσá bottoφ ì
  289. line¼ iε whicΦ casσ thσ resul⌠ woulΣ bσ identical).
  290.  
  291. '1ºá i≤á usefu∞á iµá yo⌡ thinδ you'rσ lookinτá a⌠á instructions¼á bu⌠á thσ ì
  292. decodinτ i≤ "ou⌠ oµ sync".
  293.  
  294. '-º followeΣ b∙ ß digi⌠ causes..«  (yo⌡ guessed?)
  295.  
  296. Thesσ digi⌠ command≤ arσ particularl∙ usefu∞ wheε yo⌡ usσ ^QA.
  297. --------------------------------------------------------------------------
  298. .c≡ 25
  299.                                  WARNING
  300.  
  301.  
  302. ╔ woulΣ bσ ver∙ surpriseΣ iµ DazzleSta≥ overwrotσ you≥ systeφá tracks¼á o≥ ì
  303. arbitrar∙á part≤ oµ thσ disδ (anΣ woulΣ VER┘ mucΦ wan⌠ t∩ hea≥ abou⌠ i⌠ iµ ì
  304. i⌠ happened)«á  Thσ mos⌠ likel∙ causσ oµ accident≤ i≤ througΦ thσ lacδá oµ ì
  305. an∙á warninτ beforσ overwritinτ aε existinτ file¼á fo≥ example¼á usinτ ^K╫ ì
  306. wheε ß .MA├ filσ oµ tha⌠ namσ alread∙ exists«  
  307.  
  308. N∩á precaution≤á agains⌠á compute≥á o≥á disδá erro≥á arσáá included«áá  Iε ì
  309. particular¼á DazzleSta≥á wil∞á fai∞ iµ thσ disδ i⌠ i≤ writinτá t∩á become≤ ì
  310. full«á  A≤ witΦ an∙ othe≥ software¼ makσ BACK-U╨ COPIE╙ O╞ AN┘ FILE╙ YOU'─ ì
  311. REGRE╘ LOSING«  D∩ i⌠ REGULARLY«  Nothinτ caε eliminatσ heaΣ crashes«  
  312.  
  313. --------------------------------------------------------------------------
  314. .c≡ 25è
  315.  
  316.  
  317.  
  318.  
  319.  
  320.                           -- End of Help File --
  321.  
  322.                             -- NOW PRESS ^U --
  323.  
  324.  
  325. --------------------------------------------------------------------------
  326. .c≡ 25
  327.