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

  1.  
  2.  
  3.                      ------------------------
  4.                      | Model 100 System Map |
  5.                      ------------------------
  6. ROM: Part IV
  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. 3FA0H -  TIME$ ON Statement
  24.  
  25. 3FB2H -  TIME$ OFF Statement
  26.  
  27. 3FB9H -  TIME$ STOP Statement
  28.  
  29. 4009H -  Clear all COM, TIME, and KEY interrupt definitions
  30.          Exit:
  31.                HL, A, and B destroyed
  32.  
  33. 407FH -  RESTORE Statement
  34.  
  35. 409AH -  STOP Statement
  36.  
  37. 409FH -  END Statement
  38.  
  39. 40DAH -  CONT Statement
  40.  
  41. 40F1H -  Check to see if the current character in the buffer pointed 
  42.         to by HL is an alpha character
  43.          Entry:
  44.                HL - Points to character to check
  45.          Exit:
  46.                 A - Character pointed to by HL
  47.            C flag - Reset if character is a letter
  48.  
  49. 40F2H -  Check to see if the character in A is a letter
  50.          Entry:
  51.                 A - Character to check
  52.          Exit:
  53.                 A - Preserved
  54.            C flag - Reset if character is a letter
  55.  
  56. 40F9H -  CLEAR Statement
  57.  
  58. 4174H -  NEXT Statement
  59.  
  60. 4222H -  Send CRLF to screen or printer
  61.          Exit:
  62.                 A = 10
  63.  
  64. 4225H -  Send LF to screen or printer
  65.          Exit:
  66.                 A = 10
  67.  
  68. 4229H -  BEEP Statement.  Beep computer.
  69.          Exit:
  70.                 A = 7
  71.  
  72. 422DH -  Home cursor
  73.          Exit:
  74.                 A = 11
  75.  
  76. 4231H -  CLS Statement.  Clear screen
  77.          Exit:
  78.                 A = 12
  79.  
  80. 4235H -  Protect line 8.  An ESC T is printed.
  81.          Exit:
  82.                 A = 84
  83.  
  84. 423AH -  Unprotect line 8.  An ESC U is printed.
  85.          Exit:
  86.                 A = 85
  87.  
  88. 423FH -  Stop automatic scrolling.  An ESC V is printed.
  89.          Exit:
  90.                 A = 86
  91.  
  92. 4244H -  Resume automatic scrolling.  An ESC W is printed.
  93.          Exit:
  94.                 A = 87
  95.  
  96. 4249H -  Turn the cursor on.  An ESC P is printed.
  97.          Exit:
  98.                 A = 80
  99.  
  100. 424EH -  Turn the cursor off.  An ESC Q is printed.
  101.          Exit:
  102.                 A = 81
  103.  
  104. 4253H -  Delete current line on screen.  An ESC M is
  105.         printed.
  106.          Exit:
  107.                 A = 77
  108.  
  109. 4258H -  Insert line at current line.  An ESC L is printed.
  110.          Exit:
  111.                 A = 76
  112.  
  113. 425DH -  Erase from cursor to end of line.  An ESC K is printed.
  114.          Exit:
  115.                 A = 75
  116.  
  117. 4262H -  Send ESC X
  118.          Exit:
  119.                 A = 88
  120.  
  121. 4269H -  Start inverse character mode.  An ESC p is printed.
  122.          Exit:
  123.                 A = 112
  124.  
  125. 426EH -  Cancel inverse character mode.  An ESC q is         printed.
  126.          Exit:
  127.                 A = 113
  128.  
  129. 4270H -  Send escape sequence
  130.          Entry:
  131.                 A - Character after escape (27)
  132.  
  133. 427CH -  Set the current cursor position
  134.          Entry:
  135.                 L - Column (1-40)
  136.                 H - Row (1-8)
  137.          Exit:
  138.                 A - Destroyed
  139.  
  140. 428AH -  Erase function key display
  141.          Exit:
  142.            HL & A - Destroyed
  143.  
  144. 42A5H -  Set and display function keys
  145.          Entry:
  146.                HL - Start address of function key table (see 5A7CH 
  147.                     for the format of the table)
  148.          Exit:
  149.                All registers destroyed
  150.  
  151. 42A8H -  Display function key line
  152.          Exit:
  153.                All registers destroyed
  154. 4313H -  Print the character in the A register to the screen.  This 
  155.         routine is used by RST 20H to print characters on the screen.
  156.          Entry:
  157.                 A - Character to output
  158.  
  159. 4373H -  Control code routine for LCD output (RST 20H)
  160.  
  161. 438AH -  Start of lookup table for RST 20H control characters.  Each 
  162.         entry starts with the ASCII value of the character followed 
  163.         by the two byte vector address.
  164.  
  165. 43A1H -  End of special ASCII character lookup table
  166.  
  167. 43AFH -  ESC Y routine (Set cursor position)
  168.  
  169. 43B2H -  ESCape routine (27).  This routine puts the LCD output 
  170.         routine into ESCape mode.  The following characters processed 
  171.         throught the video driver will be used to determine the 
  172.         escape sequence.
  173.  
  174. 43B8H -  Start of lookup table for LCD escape sequences.  Each entry 
  175.         starts with the one byte escape letter followed by the two 
  176.         byte vector address.
  177.  
  178. 43F9H -  End of escape vector lookup table
  179.  
  180. 43FAH -  ESCape sequence processor.  This routine is used after the 
  181.        escape mode has been enabled (see 43B2H).
  182.  
  183. 4431H -  Escape p routine (start inverse video)
  184.  
  185. 432H -  Escape q routine (cancel inverse video)
  186.  
  187. 4437H -  Escape U routine (unprotect line 8)
  188.  
  189. 4439H -  Escape T routine (protect line 8)
  190.  
  191. 443FH -  Escape V routine (Stop automatic scrolling)
  192.  
  193. 4440H -  Escape W routine (Resume automatic scrolling)
  194.  
  195. 444AH -  Escape X routine
  196.  
  197. 4453H -  Escape C routine (move cursor to the right)
  198.  
  199. 445CH -  Escape D routine (move cursor to the left)
  200.  
  201. 4461H -  Backspace routine (08H)
  202.  
  203. 4469H -  Escape A routine (move cursor up one line)
  204.  
  205. 446EH -  Escape B routine (move cursor down one line)
  206.  
  207. 4480H -  Tab routine (09H)
  208.  
  209. 4494H -  Linefeed routine (0AH)
  210.  
  211. 44A8H -  Verticle tab (0BH) and ESC H routine (home cursor)
  212.  
  213. 44AAH -  Carriage return routine (0DH)
  214.  
  215. 44AFH -  Escape P routine (turn cursor on)
  216.  
  217. 44BAH -  Escape Q routine (turn cursor off)
  218.  
  219. 44C4H -  Escape M routine
  220.  
  221. 44EAH -  Escape L routine (insert line on screen)
  222.  
  223. 4535H -  Escape l routine (erase current cursor line)
  224.  
  225. 4537H -  Escape K routine (erase from cursor to the end of the screen)
  226.  
  227. 4548H -  Form feed (0CH), CLS, ESC E, and ESC j routine
  228.  
  229. 454EH -  Escape J routine
  230.  
  231. 463EH -  Input line and place at F685H.  Print characters as they are 
  232.         entered.  Start input with a "? ".
  233.          Exit:
  234.             F685H - Text input from keyboard
  235.                HL - Loaded with F685H
  236.            C flag - Set if input aborted by a control C
  237.  
  238. 4644H -  Same as 463EH but no "? " is printed.
  239.  
  240. 4684H -  Input routine 463EH Control C handler
  241.  
  242. 4696H -  Input routine 463EH ENTER handler
  243.  
  244. 46A0H -  Input routine 463EH backspace, left arrow, control H handler
  245.  
  246. 46C3H -  Input routine 463EH Control U & X handler
  247.  
  248. 46CAH -  Input routine 463EH Tab handler
  249.  
  250. 478BH -  DIM Statement
  251.  
  252. 4790H -  Find the address of the variable in the buffer pointed to by 
  253.         HL.  This routine returns the same result as BASIC's VARPTR 
  254.         instruction.
  255.          Entry:
  256.                HL - Points to the buffer containing the variable name
  257.          Exit:
  258.                HL - Incremented past variable name
  259.                DE - Address of variable descriptor table (like VARPTR)
  260.           (FB65H) - Variable type
  261.  
  262. 4991H -  USING Function
  263.  
  264. 4B44H -  Vector of RST 20H.  Send the character in A to the screen or 
  265.         printer (see RST 20H).
  266.  
  267. 4B55H -  Print the character in the A register on the printer.  Expand 
  268.         tabs into spaces if nescessary.
  269.          Entry:
  270.                 A - Character to output
  271.  
  272. 4B92H -  Reinitialize screen back to the LCD.  This routine sends a CR 
  273.         to the printer if needed to empty the print buffer on the 
  274.         printer.
  275.  
  276. 4BABH -  LCD character output routine
  277.          Entry:
  278.                 A - Character to output
  279.  
  280. 4BB8H -  Send a CRLF to screen if needed to end the current line.  
  281.         This routine assures that the next text printed on the screen 
  282.         will start at the beginning of a line.
  283.          Exit:
  284.                 A - Destroyed
  285.  
  286. 4BEAH -  INKEY$ Function
  287.  
  288. 4C84H -  Get information for the file number in the A register.  This 
  289.         routine performs the same as VARPTR(#x).  If A is greater 
  290.         than MAXFILES, a BN error is generated.
  291.          Entry:
  292.                 A - File number (1-maxfiles)
  293.          Entry:
  294.                HL - Points to file number descriptor table (see 
  295.                     VARPTR(#x).
  296.            Z flag - Set if file is not already opened
  297.  
  298. 4CCBH -  OPEN Statement
  299.  
  300. 4D59H -  LCD, CRT, and LPT file close routine
  301.  
  302. 4D6EH -  RUN statement with text following the RUN
  303.  
  304. 4D70H -  LOAD Statement
  305.  
  306. 4D71H -  MERGE Statement
  307.  
  308. 4DCFH -  SAVE Statement
  309.  
  310. 4E28H -  CLOSE Statement
  311.  
  312. 4E8EH -  INPUT$ Function
  313.  
  314. 4F0AH -  Zero the memory starting at HL for B number of bytes
  315.          Entry:
  316.                HL - Start of buffer to zero
  317.                 B - Number of bytes to zero
  318.          Exit:
  319.                HL - Incremented past last byte zeroed
  320.                 A = 0
  321.                 B = 0
  322.  
  323. 4F0BH -  Fill the memory starting at HL with the byte in the A 
  324.         register for B number of bytes
  325.          Entry:
  326.                HL - Start of buffer to fill
  327.                 A - Character to fill buffer with
  328.                 B - Number of bytes to fill
  329.          Exit:
  330.                HL - Incremented past last byte filled
  331.                 B = 0
  332.  
  333. 4F2EH -  Routine called by the PRINT statement to initialize a PRINT #.
  334.  
  335. 4F5BH -  LINE INPUT # statement
  336.  
  337. 504EH -  Generate NM error
  338.  
  339. 5051H -  Generate AO error
  340.  
  341. 5054H -  Generate DS error
  342.  
  343. 5057H -  Generate FF error
  344.  
  345. 505AH -  Generate CF error
  346.  
  347. 505DH -  Generate BN error
  348.  
  349. 5060H -  Generate IE error
  350.  
  351. 5063H -  Generate EF error
  352.  
  353. 5066H -  Generate FL error
  354.  
  355. 506BH -  LOF Function
  356.  
  357. 506DH -  LOC Function
  358.  
  359. 506FH -  LFILES Function
  360.  
  361. 5071H -  DSKO$ Function
  362.  
  363. 5073H -  DSKI$ Function
  364.  
  365. 50F1H -  Start of device name table.  Each entry starts with the text 
  366.         name of the device ending with a FFH.
  367.  
  368. 5112H -  End of device name table
  369.  
  370. 5113H -  Start of device control block vector addresses.  Each two 
  371.         byte pointer corresponds to the name in the device name table 
  372.         at 50F1H.  This pointer points to the device's DCB which 
  373.         contains the vectors for device open, close, output, and 
  374.         input.
  375.  
  376. 5122H -  End of device control block vector addresses
  377.