home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 10: Diskmags / nf_archive_10.iso / MAGS / STFORMAT / STF11.MSA / MMM_MMM.DOC < prev    next >
Text File  |  1990-04-18  |  9KB  |  179 lines

  1. Miki Mouse Monitor (MMM)
  2. Written and performed by:
  3. Don Maple
  4. Postfach 5603
  5. 4000 Dusseldorf 1
  6. B. R. Deutschland
  7.  
  8. 1.2 'Screen only' editing keys
  9.  
  10. Undo                     - home
  11. Insert                   - inserts a space at current cursor 
  12.                            position and pushes everything on the 
  13.                            line right, when last non-blank 
  14.                            character reaches right edge it stops
  15. ClrHome                  - Clear/Home
  16. (cursor up)              - moves cursor up with wraparound
  17. (cursor down)            - moves cursor down with wraparound
  18. (cursor left)            - moves cursor left with wraparound
  19. (cursor right)           - moves cursor right with wraparound
  20. Tab                      - this key has been reprogrammed to act
  21.                            as EOL (erase to End Of Line)
  22.  
  23. 2. Shake before use...
  24. ----------------------
  25.  
  26. All parameters are in hexadecimal. 
  27.  
  28. Breakpoints are set using TRAP 0. This enables for testing of time 
  29. critical routines. However there are two exceptions. One when  
  30. multiple itiration breakpoints are specified (B 0 1000 13). This 
  31. is accomplished using single step which will corrupt timing. The 
  32. other case is when testing routines in ROM. Breakpoints can not be 
  33. set on ROM routines. This is not that important because by the 
  34. time the program is set to ROMs it has been thoroughly tested. (Right?)
  35. Besides the ROMs can be copied to RAM using 'C' command and  then 
  36. tested there.
  37.  
  38. Upper/lower case is ignored outside single quotes ('). A routine 
  39. translates everything on line up until a quote is encountered to 
  40. upper case. Only then the command processor starts evaluation.
  41.  
  42. The  instruction set has been extended to include ILLEGAL  ($4AFC) 
  43. instruction as well as LINE-A and LINE-F traps.
  44.  
  45. [Esc] has been reprogrammed to act as a break key to interrupt
  46. long listings after M, K or D commands. It can also be used to 
  47. stop a long H command.
  48.  
  49. The space bar acts as a 'pause' toggle when using M, K, D, H or $
  50. commands. Pressing the space bar again will 'unfreeze' or continue
  51. the listing.
  52.  
  53. When redirecting input or output (i and o commands) following  are 
  54. the valid device numbers:
  55.      0 - centronics
  56.      1 - RS-232
  57.      2 - Keyboard and screen
  58.      3 - MIDI
  59.      4 - Keyboard port
  60.  
  61. Alternatively, a file name can be supplied instead of a device 
  62. number to redirect input/output from/to disk.
  63.  
  64. If output is redirected to a file it will remain active until 
  65. any other output redirection occurs when the file will be closed.
  66.  
  67. If input is redirected from a file it will remain active until the 
  68. end of file, when the file will be closed automatically. This file 
  69. can  contain commands separated by a CR. The MMM will, however 
  70. handle lines ending in CR and LF as well, which is the more common 
  71. form used by assorted editors.
  72.  
  73.  
  74. 3. Yes friends, there is Father Xmas...
  75. ---------------------------------------
  76.  
  77. Help                     - Displays list of commands
  78.                            if pressed after a command it gives
  79.                            its syntax
  80. x                        - exits back to desktop
  81. m <ffffff> <tttttt>      - displays memory from f to t
  82. m <ffffff>               - displays $100 (256) bytes from f
  83. m                        - displays $100 (256) bytes from current 
  84.                            value of f
  85. [Return]                 - if immediatelly following an 'm' 
  86.                            command same as previous
  87. i <d>                    - redirect input from device d
  88. i filename               - redirect input from file 'filename'
  89. o <d>                    - redirect output to device d
  90. o filename               - redirect output to file 'filename'
  91. f <ffffff> <tttttt> hhhh - fill memory range from f to t with hex 
  92.                            word h
  93. f <ffffff> <tttttt> 'aa  - fill memory range from f to t with 2 
  94.                            ascii bytes a
  95. h <ffffff> <tttttt> hh.. - hunt in memory range f to t for hex 
  96.                            string h, which can be up to 16 bytes
  97. h <ffffff> <tttttt> 'aa.'- hunt in memory range f to t for ascii 
  98.                            string a, which can be up to 32 bytes
  99.  
  100. c <ffffff> <tttttt> <aaaaaa>
  101.                          - copy memory from f to t after a
  102.                            if a < f copy starts from f (up)
  103.                            if a > f copy starts from t (down)
  104. g <tttttt>               - update registers and then execute
  105.                               routine from t monitoring for breakpoints
  106. g                        - same as above only execute from the
  107.                               saved value of PC
  108. [Return]                 - after either of above and after reaching
  109.                               a breakpoint, continue   
  110. j <tttttt>               - JMP to a routine
  111. = $hhhhhhhh              - convert hex to bin and dec
  112.                            max size 1 longword
  113. = %bbbbbbbbbbbbbbbb...   - convert from bin to hex and dec  
  114.                            max size 32 bits 
  115. = ddddd...               - convert from dec to hex and dec
  116.                            max size 2^31-1
  117. :0012 3456  12 34 56 78..- memory update in hex after 'm',
  118.                            cursor up and overtype 
  119. .00123456 'AaBb~~cc...'  - memory update in ascii after 'k',
  120.                            cursor up and overtype 
  121.                            Tilda (~) used for unprintables,
  122.                            and will be ignored as input
  123. k <ffffff> <tttttt>      - displays memory from f to t in ascii
  124. k <ffffff>               - displays $400 (1024) bytes from f
  125. k                        - displays $400 (1024) bytes from current 
  126.                            value of f
  127. [Return]                 - if immediatelly following a 'k' 
  128.                            command same as previous
  129. ?                        - displays all registers as follows
  130.          0        1        2
  131.  ,D  00000000 00000000 00000000...      -data registers
  132.  ,A  00000000 00000000 00000000...      -address registers
  133.  ,PC 00000000  Status=0300 (T=0 S=0 X=0 N=0 Z=0 V=0 C=0 INT=3) SSP 00...
  134. ,d  00000000 00000000... - register update after '?',
  135.                            cursor up and overtype
  136. d ffffff tttttt          - disassemble from f to t
  137. d ffffff                 - disassemble next 20 instructions 
  138.                                 from f
  139. d                        - disassemble next 20 instructions 
  140.                                 from current value of f
  141. [Return]                 - if immediatelly following a 'd' 
  142.                                 command same as previous
  143. ! # "text......"         - assign a string to an  F  key,
  144.                            where # is key number 1-9,
  145.                            maximum string length is 32 characters
  146. ! # ""                   - delete an F key
  147. l filename               - load file resolving references and
  148.                            display base page address       
  149. l filename ffffff        - load file as is at address f
  150.                            (for data files, pictures etc)
  151. s filename ffffff tttttt - save file in memory from f to t as is
  152.   Subdirectories and drives can be supplied as a part of <filename>.
  153.   Ex. l a:\dir1.sub\myfile.prg ...
  154. *                        - display current base page address
  155.                            (0 means no relocatable files loaded yet)
  156. t ffffff                 - start TRACE (Single step) from f
  157. t                        - TRACE from current PC value (continue)
  158. [Return]                 - after either of the above same as >t<
  159. b <#> bbbbbb             - set specific breakpoint (0-f)
  160. b <#>                    - delete breakpoint
  161. b                        - display all breakpoints
  162. a ffffff                 - start assembly
  163. <                        - save function keys to default file MMM.KEY
  164. < filename               - save function keys to <filename> 
  165. >                        - load function keys from default file MMM.KEY
  166. > filename               - load function keys from <filename>
  167. e                        - get (display) current
  168.                            edit sector buffer address
  169. e ffffff                 - set new edit sector buffer address
  170. r tt ss ii               - read track <t>, sector <s> and side <i>
  171.                            into edit sector buffer
  172. r                        - read current sector into buffer
  173. w tt ss ii               - write track <t>, sector <s> and side <i>
  174.                            from edit sector buffer
  175. w                        - write current sector from buffer
  176. $                        - display current path directory 
  177.                            showing the path itself
  178. $ \dir.sub\*.*           - set new path, default drive and display directory
  179.