home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / ref / rcmap5.100 < prev    next >
Text File  |  2006-10-19  |  14KB  |  402 lines

  1.  
  2.  
  3.                      ------------------------
  4.                      | Model 100 System Map |
  5.                      ------------------------
  6. ROM: Part V
  7.                           Copyright 1985
  8.                      Revision Date: 09/30/85
  9.                    Compiled and Researched by:
  10.                        Robert D. Covington
  11.             Systems Information Management Consultants
  12.       [Not associated with The Covington Group, N. Y., N. Y.]
  13.  
  14.     This document may be duplicated and distributed free of
  15. charge to any individuals who desire it.  Any duplications of
  16. this document, however, must inluce all of the information
  17. contained here-in, with no deletions or changes.
  18.     The author and distributors of this document make no 
  19. expressed or implied warrantees as to the validity of the 
  20. information contained here in.
  21.  
  22.  
  23. 5146H -  Entry to TELCOM
  24.  
  25. 515BH -  TELCOM Ready re-entry point for TELCOM commands
  26.  
  27. 5185H -  Start of TELCOM instruction vector table.  Each entry starts 
  28.         with a 4 byte instruction name followed by a 2 byte routine 
  29.         vector.
  30.  
  31. 51A2H -  End of TELCOM instruction vector table
  32.  
  33. 51C0H -  TELCOM STAT instruction routine
  34.  
  35. 51C7H -  Print current STAT (RS232 settings for TELCOM) and return to 
  36.         TELCOM ready
  37.  
  38. 51EDH -  Set STAT (RS232 settings for TELCOM) and return to TELCOM 
  39.         ready
  40.  
  41. 522FH -  TELCOM CALL instruction routine
  42.  
  43. 524DH -  TELCOM FIND instruction routine
  44.  
  45. 52BBH -  Disconect phone line and disable modem carrier
  46.          Exit:
  47.                 A - New contents of port 0BAH
  48.  
  49. 52D0H -  Connect phone line and enable modem carrier
  50.         Exit:
  51.                 A - New contents of port 0A8H
  52.            C flag - Set
  53.  
  54. 52E4H -  Lift telephone and wait for a carrier.   The carrier must be 
  55.         present for more than 2 seconds to qualify a carrier detect.
  56.          Exit:
  57.              C flag - Set if shift break pressed
  58.              Z flag - Set if carrier present
  59.  
  60. 5310H -  Pause for about 2 seconds
  61.          Exit:
  62.           BC & AF - Destroyed
  63.  
  64. 532DH -  Execute logon sequence pointed to by HL.  This routine is 
  65.         used to drive the Model 100 autodialer
  66.          Entry:
  67.                HL - Points to logon buffer
  68.  
  69. 540AH -  Dial the digit that is present in the A register.  The ASCII 
  70.         equivalent of the number is printed on the screen at the 
  71.         current cursor position as this routine is dialing.
  72.          Entry:
  73.                 A - Digit to dial
  74.          Exit:
  75.                All registers destroyed
  76.  
  77. 5455H -  TELCOM TERM instruction routine
  78.  
  79. 550DH -  Start of function key vector table for TERM commands in 
  80.         TELCOM.  Each 2 byte vector correspondsto each function key.
  81.  
  82. 551BH -  End of function key vector table for TERM
  83.  
  84. 5523H -  TELCOM PREV function routine
  85.  
  86. 553EH -  TELCOM FULL/HALF function routine
  87.  
  88. 5550H -  TELCOM ECHO function routine
  89.  
  90. 559DH -  TELCOM UP function routine
  91.  
  92. 567EH -  TELCOM DOWN function routine
  93.  
  94. 571EH -  TELCOM BYE function routine
  95.  
  96. 5791H -  Print the buffer pointed to by HL till a null or '"' is 
  97.         found.  Printing begins at the start of a line.  If the 
  98.         cursor is not at the begining of the line, a CR is sent.
  99.          Entry:
  100.                HL - Points to the start of the buffer to be printed
  101.  
  102. 5797H -  MENU Statement.  Go to main menu
  103.  
  104. 59ADH -  Convert filename from right justified extention (name padded 
  105.         with spaces to cause extention to be last two characters) to 
  106.         normal filename with "." delimeter for extention.
  107.          Entry:
  108.                DE - Points to right justified extention filename (8 
  109.                     characters)
  110.                HL - Points to the start of the destination buffer for 
  111.                     the converted filename
  112.          Exit:
  113.                HL - Points to end of destination buffer where the 
  114.                     filename is stored.  Filename is terminated with 
  115.                     a null.
  116.                DE - Points to end of source filename
  117.                 A - Destroyed
  118.  
  119. 5A12H -  Print time, day, and date on the first line of the screen 
  120.         (used on main menu).  The screen is cleared prior to printing
  121.          Exit:
  122.                All registers destroyed
  123.  
  124. 5A15H -  Same 5A12H but screen is not cleared.  Line is still printed 
  125.         on top line of screen.
  126.          Exit:
  127.                All registers destroyed
  128.  
  129. 5A58H -  Print the buffer pointed to by HL.  Printing terminates with 
  130.        a null.
  131.          Entry:
  132.                HL - Points to the buffer to be printed
  133.          Exit:
  134.                HL - Points to the terminating null
  135.                 A - 0
  136.  
  137. 5A62H -  Move the memory pointed to by DE to the memory pointed to by 
  138.         HL for A number of bytes.  HL and DE are incremented after 
  139.         each byte moved
  140.          Entry:
  141.               DE - Points to start of source memory
  142.                HL - Points to start of destination memory
  143.                 A - Number of bytes to move
  144.          Exit:
  145.           DE & HL - Incremented past last byte moved
  146.                 A = 0
  147.  
  148. 5A6DH -  Compare the buffer pointed to by DE to the buffer pointed to 
  149.         by HL for C bytes or until a null is found in the buffer 
  150.         pointed to by DE.
  151.          Entry:
  152.                DE - Points to start of first buffer
  153.                HL - Points to start of second buffer
  154.                 C - Number of bytes to compare
  155.          Exit:
  156.                A = 0 if the compare was ended with a null
  157.                 C - Number of bytes remaining until compare would 
  158.                     have been successful.
  159.           HL & DE - If compare is successful, these registers are 
  160.                     incremented past the last byte compared.  If the 
  161.                     compare ended with a null, DE points to the 
  162.                    null.  If compare is unsuccessful, these 
  163.                     registers point to the offending characters
  164.            Z flag - Set if compare is successful
  165.  
  166. 5A79H -  Clear function key definition table
  167.          Exit:
  168.                All registers destroyed
  169.  
  170. 5A7CH -  Set new function key table.  The table contains the function 
  171.         key definitions up to 16 characters for each of the 8 
  172.        function keys.  The last byte of each entry should have the 
  173.         high bit set to signify the end of the function key 
  174.         definition.  Empty entries should contain an 80H.
  175.          Entry:
  176.                HL - Points to function key table
  177.          Exit:
  178.                All registers destroyed
  179.  
  180. 5A9EH -  Display function keys on 8th line if enabled
  181.          Exit:
  182.                All registers destroyed
  183.  
  184. 5AA9H -  Search directory for filename
  185.          Entry:
  186.                DE - Points to buffer containing filename.  The buffer 
  187.                     is terminated with a null.
  188.          Exit:
  189.                HL - Address of file directory entry
  190.            Z flag - Set if file was not found
  191.                All other registers destroyed
  192.  
  193. 5AE3H -  Get start address of file
  194.          Entry:
  195.                HL - Points to the file's directory entry
  196.         Exit:
  197.                HL - Points to start of file
  198.                DE - Points to directory entry + 2
  199.  
  200. 5B68H -  Entry to ADDReSS
  201.  
  202. 5B6BH -  Enter ADDReSS using the filename pointed to by DE.
  203.          Entry:
  204.                DE - Points to the filename to use with ADDReSS 
  205.                     terminated with a null
  206.  
  207. 5B6FH -  Entry to SCHEDuLe
  208.  
  209. 5B72H -  Enter SCHEDuLe using the filename pointed to by DE.
  210.          Entry:
  211.                DE - Points to the filename to use with SCHEDuLe 
  212.                     terminated with a null
  213.  
  214. 5BF5H -  FIND instruction for ADDRSS/SCHEDL
  215.  
  216. 5BF7H -  LFND instruction for ADDRSS/SCHEDL
  217.  
  218. 5C3FH -  Find the text in the buffer pointed to by HL in the text file 
  219.        pointed to by DE.  All lowercase letters are converted to 
  220.         uppercase prior to compare.
  221.          Entry:
  222.                HL - Points to string to search for.  The string must 
  223.                     end with a null
  224.                DE - Points to where search is to begin in the text 
  225.                     file
  226.          Exit:
  227.                BC - Points to the start of the found string in the 
  228.                    file.
  229.                DE - Points to the start of the record where the 
  230.                     string was found
  231.            C flag - Set if string found
  232.  
  233. 5C6DH -  Incremented DE past the next CRLF in the text file.
  234.          Entry:
  235.                DE - Points to a text file
  236.          Exit:
  237.                DE - Points to the byte following the next CRLF in the 
  238.                     text file
  239.                A - Destroyed
  240.  
  241. 5C74H -  Check the next byte(s) in the buffer pointed to by DE for a 
  242.         CRLF.
  243.          Entry:
  244.                DE - Points to buffer where CRLF check is to be made
  245.          Exit:
  246.                DE - Incrmented once if no CRLF is found or twice if a 
  247.                     CRLF is found
  248.            Z flag - Set if CRLF found
  249.  
  250. 5CEFH -  Start of ADDRSS/SCHEDL instruction vector table.  Each entry 
  251.         starts with a 4 byte instruction name followed by the 
  252.         instruction's 2 byte vector address
  253.  
  254. 5D00H -  End of ADDRSS/SCHEDL instruction vector table
  255.  
  256. 5D64H -  Wait for character from keyboard and convert it to uppercase 
  257.         if nescessary.  All function keys are converted into their 
  258.         pre-programmed text.
  259.          Exit:
  260.                 A - Uppercase character from keyboard
  261.  
  262. 5D6AH -  Home Cursor
  263.         Exit:
  264.                HL - Destroyed
  265.  
  266. 5D70H -  Print time on top line of screen until a key is pressed.  
  267.         When a key is pressed, the cursor returns to its original 
  268.         position prior to the cal.
  269.  
  270. 5DEEH -  Entry to TEXT
  271.  
  272. 5E51H -  EDIT Statement
  273.  
  274. 5F2FH -  Wait for a space to be entered on keyboard
  275.          Exit:
  276.                 A - Space (20H)
  277.  
  278. 6018H -  Start of TEXT control character vector table.  Each 2 byte 
  279.         vector entry corresponds to the ASCII value of the control 
  280.         character (ex. The address at 6018H points to the routine for 
  281.         ^A which has an ASCII value of 1)
  282.  
  283. 6055H -  End of TEXT control character vector table
  284.  
  285. 6056H -  TEXT ESCape routine
  286.  
  287. 607CH -  TEXT control P routine
  288.  
  289. 608AH -  TEXT control I routine
  290.  
  291. 60BEH -  TEXT control M routine
  292.  
  293. 60DEH -  TEXT right arrow and control D routine
  294.  
  295. 60E2H -  TEXT down arrow and control X routine
  296.  
  297. 610BH -  TEXT control H routine
  298.  
  299. 6151H -  TEXT left arrow and control S routine
  300.  
  301. 6155H -  TEXT up arrow and control E routine
  302.  
  303. 617AH -  TEXT control F routine
  304.  
  305. 618CH -  TEXT control A routine
  306.  
  307. 61C2H -  TEXT control T routine
  308.  
  309. 61D7H -  TEXT control B routine
  310.  
  311. 61FDH -  TEXT control R routine
  312.  
  313. 620BH -  TEXT control Q routine
  314.  
  315. 6210H -  TEXT control W routine
  316.  
  317. 621CH -  TEXT control Z routine
  318.  
  319. 6242H -  TEXT control L routine
  320.  
  321. 628FH -  TEXT control C routine
  322.  
  323. 6431H -  TEXT control O routine
  324.  
  325. 6445H -  TEXT control U routine
  326.  
  327. 6551H -  TEXT control N routine
  328.  
  329. 65C3H -  Move the memory pointed to by HL to the memory pointed to by 
  330.         DE until a null (0) is found.
  331.          Entry:
  332.                HL - Points to start of source buffer
  333.                DE - Points to start of destination buffer
  334.          Exit:
  335.                HL - Preserved
  336.                DE - Points to the byte following the null
  337.                 A = 0
  338.  
  339. 6691H -  TEXT control Y routine
  340.  
  341. 6713H -  TEXT control G routine
  342.  
  343. 6774H -  TEXT control V routine
  344.  
  345. 6B61H -  Insert a character into a text file
  346.          Entry:
  347.                HL - Points to place to insert character
  348.                 A - Character to insert
  349.          Exit:
  350.                HL - Incremented past inserted character
  351.                 B - Character inserted
  352.            C flag - Set if out of memory
  353.               All other registers destroyed
  354.  
  355. 6B6DH -  Inset BC number of spaces in memory
  356.          Entry:
  357.                HL - Points to place where insertion is to begin.
  358.                BC - Number of spaces to insert
  359.          Exit:
  360.                HL - Preserved
  361.            C flag - Set if out of memory
  362.                All other registers destroyed
  363.  
  364. 6B9FH -  Delete BC number if characters in a text file.
  365.          Entry:
  366.                HL - Points to place where deletion is to begin.
  367.                BC - Number of characters to delete
  368.          Exit:
  369.                HL - Preserved
  370.                All other registers destroyed
  371. 6BDBH -  Move the memory poined to by HL to the memory pointed to by 
  372.         DE for BC bytes.  HL and DE are incremented on each byte 
  373.         transfered (same as LDIR).
  374.          Entry:
  375.                HL - Points to end of source memory
  376.                DE - Points to end of destination memory
  377.                BC - Number of bytes to move
  378.          Exit:
  379.           HL & DE - Incremented past last character moved
  380.                 A - Destroyed
  381.  
  382. 6BE6H -  Move the memory pointed to by HL to the memory pointed to by 
  383.         DE for BC bytes.  HL and DE are decremented on each byte 
  384.         transfered (same as LDDR).
  385.          Entry:
  386.  
  387.                HL - Points to end of source memory
  388.                DE - Points to end of destination memory
  389.                BC - Number of bytes to move
  390.          Exit:
  391.           HL & DE - Decremented past last character moved
  392.                 A - Destroyed
  393.  
  394. 6BF1H -  Start of ROM program catalog entries
  395.  
  396. 6C48H -  End of ROM programs catalog entries
  397. 6C49H -  Entry to BASIC
  398.  
  399. 6CD6H -  Re-initialize system.  User files are not lost.
  400.  
  401. 6CE0H -  Warm Start Reset Entry
  402.