home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / c128 / util / mtymon.arc / MTYMON.DOC < prev   
Internet Message Format  |  1993-05-10  |  8KB

  1. From pembvax1.pembroke.edu!DUCK@cactus.org  Mon May 10 11:29:52 1993
  2. Received: by wixer (5.65/1.35)
  3.     id AA27372; Mon, 10 May 93 12:42:43 -0500
  4. Received: from papa.pembroke.edu (pembvax1.pembroke.edu) by cactus.org (4.1/SMI-4.1)
  5.     id AA29691; Mon, 10 May 93 11:29:52 CDT
  6. Received: by pembvax1.pembroke.edu (MX V3.1B) id 31526; Mon, 10 May 1993
  7.           12:29:46 EDT
  8. Date: Mon, 10 May 1993 12:29:42 EDT
  9. From: "DUCK@PEMBVAX1.PEMBROKE.EDU (CRAIG TAYLOR)"
  10.       <pembvax1.pembroke.edu!DUCK@cactus.org>
  11. To: wixer!wixer.bga.com!thoot@cactus.org
  12. Message-Id: <0096C4B7.3F679806.31526@pembvax1.pembroke.edu>
  13. Subject: RE: MAILSERV
  14. Status: RO
  15.  
  16. |From:    MX%"wixer!wixer.bga.com!thoot@cactus.org"  8-MAY-1993 15:16:46.07
  17. |Subj:    MAILSERV
  18.  
  19. |send mightymon128.doc
  20. |
  21. |--
  22. | +-------------------------------------------------------------------+
  23. | |thoot@wixer.bga.com    7203 Smokey Hill Rd Austin Texas 78736      |
  24. | |Enterprise BBS 512-453-5079 FIDO 1:382/81 GEnie THOOT PH-288-5290  |
  25. | +-------------------------------------------------------------------+
  26.  
  27. It's called "mightymon-128.doc"... Here it is:
  28.  
  29. ------------------------------------------------------------------------------
  30. MIGHTY MON 4.00.10 COMMAND SET (SUMMARY).  REV. 20-Apr-92.
  31.  
  32. Basic commands (most parameters are optional):
  33.  
  34. <addr> / number-list / code  -  set NS / place bytes, words / assemble code
  35. A addr  -  enter auto-assembler mode
  36. AM N!A!F  -  set (dis)assembly mode (Full, Auto, No-Options)
  37. B addr,'string',A!S  -  place string (ASCII, SCR-CODE) into memory
  38. BK [(U!K.)bank]  -  display/set Current Bank (User, Kernal)
  39. BS addr,'byte-string'  -  place byte string into memory
  40. C number  -  convert number to DEC, HEX, ASC, BIN
  41. CP block-start,block-end,other-source  -  compare sections of memory
  42. D start,end,N!A!F  -  disassemble, opt Full, Auto, No-Opts
  43. DIR 'name-pattern',device,drive  -  return directory (press F3)
  44. E number / low,high  -  high/low byte evaluator
  45. F from,to,with,step  -  fill memory
  46. G [addr]  -  execute code from addr or PC
  47. GT addr,I!S  -  timed execution, must terminate with RTS. Interrupt, VIC ctrl
  48. H from,to,'for-byte-string'  -  hunt memory for byte string
  49. HELP  -  not supported (appropriate message displayed), future expansion
  50. I[L] from,to,displacement,R,prog-from,prog-to  -  insert, opt Relocate
  51. J [addr]  -  Jump, same as G
  52. JT addr,IS  -  Jump Timed, same as GT
  53. K char,screen,border-or-VDC-foreground  -  set char and screen colors
  54. L 'filename',start,device,drive  -  load memory from device
  55. M from,to  -  memory display
  56. N[W] from,to,P,start-page  -  same as M, but for printer, optional Word
  57.                                output; opt Page, start page
  58. O =,'byte-string'  -  output string to printer, opt Centering(=) / No CR(,)
  59. OK  -  test checksum of monitor code
  60. P from,to,N!P!L!F,start-page  -  printing disassembly, opt No-opts, Paging,
  61.                                                 Linear, Full
  62. Q  -  Quit - Same as X
  63. QUIT  -  exit and disable Mighty Mon, re-allocate memory
  64. R  -  display 8502 registers, etc
  65. S 'filename',from,to,device,drive,SA  -  save memory to a device
  66. SR  -  display status register and bit meanings
  67. ST  -  display I/O status register and bit meanings
  68. T[L] from,to,new-start,R,prog-from,prog-to  -  transfer memory, opt Reloc
  69. U D / H  -  use Decimal or Hexadecimal modes
  70. V 'filename',from,device,drive  -  verify memory with device
  71. W from,to  -  display 16-bit words from memory
  72. X [B!M!64!S]  -  eXit to BASIC, ROM Monitor, C-64 mode, or System reset
  73. Y[L] from,to,new-start,prog-from,prog-to  -  transfer word table (Lo,Hi)
  74. Z from,to,C!Q!A!S  -  display ASCII/Scr-code in memory, allowing
  75.                           Quote mode or Cursor movements
  76. , ---reg list---  -  update registers
  77. :addr value...  -  same as <addr>
  78. $ "file-spec",device,drive  -  alone = display disk directory
  79. / or ?  -  refresh screen
  80. = <BASIC expression>  -  evaluate BASIC expression
  81.  
  82. Disk commands (@):
  83.  
  84. @@ 'command-byte-string'  - send disk command to default disk device
  85. @[,device]  -  return disk drive status
  86. @ 'command',device  -  send command to disk
  87. @$ 'name-pattern',device,drive  -  same as @D
  88. @BR track,sector,addr,device  -  read disk track and sector into memory
  89. @BW addr,track,sector,device  - write memory to disk track and sector
  90. @D 'name-pattern',device,drive  -  display disk directory
  91. @F 'file-name',type,device,drive  -  list a disk file to screen, type S=Seq
  92. @MR disk-from,disk-to,addr,device  -  read disk drive RAM into memory
  93. @MW from,to,disk-addr,device  -  write memory to disk drive RAM
  94. @ME addr,device  -  start disk drive executing code at addr in disk drive RAM
  95. @SC 'filename',device,drive  -  Scratch (no query)
  96.  
  97. Extended commands (*):
  98.  
  99. *B (U!K.)bank  -  set BANK configuration, User or Kernal descriptions
  100. *C speed  -  set CPU clock speed- S!1=1 MHz, F!2=2 MHz, X!0=both
  101. *CP from,to,other,other-bank  -  Interbank Compare
  102. *D device,drive  -  set default device for load,save,disk commands
  103. *E 0 / 1  -  set printer-echo off/on (not implemented)
  104. *EJ  -  eject one page from default printer device
  105. *F dma-from,dma-to,dma-bank,addr  -  dma RAM to memory fetch
  106. *I device,SA,'filename'  -  set input file
  107. *IO  -  restore default I/O devices (keyboard, screen)
  108. *K / *K key-num,'byte-string'  -  same as BASIC KEY, but for all 10 keys
  109. *L  -  return the address range of Mighty Mon
  110. *O device,SA,'filename'  -  set output file
  111. *P device,SA,'filename',page-width,page-length,P!C!N
  112.            -  define default printer device, opt Printer/Comp/No eject
  113. *R  -  restore all default variable values (force a cold-start)
  114. *S from,to,dma-addr,dma-bank  -  memory to DMA RAM stash
  115. *SW from,to,dma-addr,dma-bank  -  memory to DMA RAM swap
  116. *T[L] from,to,new-start,new-bnk,R,prog-from,prog-to  -  interbank transfer
  117. *TI [time-setting]  -  set / display CIA#1 TOD clock.
  118. *V register,value  -  set / display VDC (80-col) registers
  119. *VL from,to,vdc-start-addr  -  load main memory into VDC RAM
  120. *VS vdc-from,vdc-to,main-memory-addr  -  save VDC RAM to main memory
  121. *W width  -  select either 40 or 80 column screen
  122. *X  -  switch to opposite screen, adjust CPU speed
  123. *Y[L] from,to,new-start,new-bank,L!H!HL!LH,prog-from,prog-to  -  Interbank Y
  124. *Z from,to,A!S!C!Q  -  printing Z command
  125.  
  126. - If the [L] option is given in the memory commands noted above, the "to"
  127.   address will be the offset from the start ["Length" option].  Commands with
  128.   "!" separating letters allow these options to be specified like flags.
  129.  
  130. Mighty Mon conventions:
  131.  
  132. Number prefixes:
  133.  
  134. $nnnn = hexadecimal             'n = PETSCII code
  135. +nnnn = decimal                 !n = screen code
  136. %nnnn = binary                  nnnn (no prefix) = hex or dec, interpret
  137. "n"   = PETSCII (must have closing quote or be end-of-line)
  138. >num  = high byte               <num = low byte
  139.  
  140. Strings are delimited by (') or ("):
  141.  
  142. 'this is a string'   or   "This is a string"
  143.  
  144. an embeded Com-R means CHR$(13), Com-Z means CHR$(0), and Com-E means
  145. CHR$(27)
  146.  
  147. A BYTE-STRING is constructed by connecting strings and byte values.
  148. eg. "hello",+13,"there",%101011,$00
  149.  
  150. -embeded Com characters have no special meaning in a byte-string.
  151.  
  152. -everything after a semicolon (;) in a line is ignored by Mighty Mon.
  153.  
  154. -valid parameter separators are: ","    " "    ":"    "/"    "."   and   "-"
  155.  except where certain delimiters have special meaning.
  156.  
  157. -hold down the SHIFT key to make disassemble quickly.
  158.  
  159. -you must be in Slow mode to use the REU commands.
  160. ================================================================================
  161. Although the title screen says "Copyright", this program can be considered as
  162. Public Domain Software.
  163.  
  164. The PCRC (for those of you who know what that means) of "mightmon.401" is:
  165.  
  166. pcrc = 20 155 22 196 205 188 118 239, sum = 1143
  167.  
  168. Keep the faith!
  169.  
  170. -Craig Bruce
  171. f2rx@jupiter.sun.csd.unb.ca
  172. "Never question the relevance of truth,
  173.  but always question the truth of relevance."
  174.  
  175.  
  176.  
  177. - Craig Taylor   - 919-521-3814   All Relevant Disclaimers Apply!!!
  178.         duck@pembvax1.pembroke.edu (Pembroke State University)
  179.  
  180. If you're not part of the solution, you're part of the precipitate.
  181.  
  182.