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

  1.  
  2.  
  3.                      ------------------------
  4.                      | Model 100 System Map |
  5.                      ------------------------
  6. ROM: Part VI
  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. 6D3FH -  Send a character to the printer
  24.          Entry:
  25.                 A - Character to send
  26.          Exit:
  27.            C flag - Set if break key interrupt
  28.  
  29. 6D6DH -  Check RS232 queue for pending characters
  30.          Exit:
  31.                 A - Number of characters pending
  32.            Z flag - Set if no characters pending
  33.  
  34. 6D7EH -  Get a character from the RS232 receive queue.  If no 
  35.         character is pending, wait for a character.
  36.          Exit:
  37.                 A - Character received
  38.            Z flag - Set if no error
  39.            C flag - Set if break key interrupt
  40.  
  41. 6DACH -  RST 6.5 (RS232 Interrupt on received character) routine
  42.  
  43. 6E0BH -  Send XON (Control Q) out the RS232 if enabled by FF42H.
  44.          Exit:
  45.                 A - Destroyed
  46.  
  47. 6E1EH -  Send XOFF (Control S) out the RS232 if enabled by FF42H.
  48.          Exit:
  49.                 A - Destroyed
  50.  
  51. 6E32H -  Send a charcter out the RS232 (routine waits for character to 
  52.         be transmitted).
  53.          Entry:
  54.                 A - Character to send
  55.         Exit:
  56.            C flag - Set if shift break pressed
  57.  
  58. 6E75H -  Set the RS232 baud rate
  59.          Entry:
  60.                 H - Baud rate code (1-9)
  61.          Exit:
  62.            A & DE - Destroyed
  63.  
  64. 6E94H -  Start of 18 byte RS232 baud rate timer values.  Each 2 byte 
  65.         entry corresponds to the baud rates 0-9.   These values are 
  66.         loaded into the 8155's timer to generate the baud rate for 
  67.         the UART.
  68.  
  69. 6EA5H -  End of RS232 baud rate timer table.
  70.  
  71. 6EA6H -  Initialize RS232 or modem
  72.          Entry:
  73.                 H - Baud rate code for RS232 (300 baud assumed for 
  74.                     modem).
  75.                 L - Configuration code
  76.                      Bit 0 - Number of stop bits (0=1, 1=2)
  77.                          1 - Parity (0=odd, 1=even)
  78.                          2 - Parity enable (0=enable)
  79.                       3-4 - Word length (01=6, 10=7, 11=8)
  80.            C flag - Set if RS232, reset if modem
  81.  
  82. 6ECBH -  Deactivate RS232 or Modem
  83.          Exit:
  84.                 A - Destroyed
  85.  
  86. 6EE5H -  Click sound port if sound is enabled
  87.  
  88. 6EEFH -  Check for carrier detect
  89.          Exit:
  90.                 A - 0 if carrier detect, 0FFH if no CD
  91.            Z flag - Set if carrier detect
  92.  
  93. 6F31H -  Enable XON/XOFFs when control Ss and Qs are sent.
  94.          Exit:
  95.                 A - Destroyed
  96.  
  97. 6F46H -  Write cassette header and sync byte
  98.                All registers destroyed
  99.  
  100. 6F5BH -  Write a character to cassette without checksum.
  101.          Entry:
  102.                 A - Character to save
  103.          Exit:
  104.               All registers destroyed
  105.  
  106. 6F85H -  Read cassette header and sync byte
  107.          Exit:
  108.            C flag -  Set if error, reset if header verified
  109.                All registers destroyed
  110.  
  111. 6FDBH -  Find the frequency of the cassette port.  This routine 
  112.         measures the duration from the start to the stop of half of 
  113.         the wave presented on the cassette port.  The result is the 
  114.         number of 29 t-state cycles required to find the end of the 
  115.         wave.  The byte at FF8EH determines if the count will trigger 
  116.         on a high or low pulse.  For example, a 1200 hz signal, which 
  117.         would take 416 ms to go through half of the wave, would cause 
  118.         this routine to exit with a value aound 35.  If the sound 
  119.         option is turned on (see FF44H), this routine will click the 
  120.         beeper on each call.  Note:  Although this routine analyses 
  121.         the cassette port in 29 T-state intervals, the actual routine 
  122.         requires much more time to execute.
  123.          Exit:
  124.                 C - Number of 29 T-state cycles
  125.                 A - Destroyed
  126.            C flag - Set if the routine was canceled by a shift break
  127.  
  128. 702AH -  Read a character from cassette without checksum.
  129.         Exit:
  130.                 D - Character from cassette
  131.            C flag - Set if the routine was canceled by a shift break
  132.                All other registers destroyed
  133.  
  134. 71F7H -  POP AF, BC, DE, and HL off stack, enable interrupts and 
  135.         return.  This routine should only be used with a jump to 
  136.         assure stack integrety.  This routine makes a good interrupt 
  137.         routine exit vector.
  138.  
  139. 7242H -  Scan keyboard for a possible character (Note: Shift Break is 
  140.         converted to Control C)
  141.          Exit:
  142.                 A - Character from keyboard
  143.            Z flag - Set if no key is found
  144.            C flag - Set if special function key
  145.                        A         Key
  146.                     -----------------------
  147.                       0-7       F1-F8
  148.                         8       LABEL
  149.                         9       PRINT
  150.                       0AH       SHIFT-PRINT
  151.                       0BH       PASTE
  152.  
  153. 726AH -  Enable interrupts as normal (nothing destroyed)
  154.  
  155. 7270H -  Check keyboard queue for pending characters
  156.         Exit:
  157.                 A - Destroyed
  158.            Z flag - Set if charcter pending
  159.            C flag - Set if break is present
  160.  
  161. 7283H -  Check for break (Control C) or wait (Control S)
  162.          Exit:
  163.                 A - Destroyed
  164.            C flag - Set if Control C or S
  165.            Z flag - Set if no control C or S
  166.  
  167. 729FH -  Check to see if SHIFT BREAK is being pressed.
  168.          Exit:
  169.                 A - Destroyed
  170.            Z flag - Set if shift break is being pressed
  171.            C flag - Set if shift break is being pressed
  172.  
  173. 72B1H -  Scan BREAK, CAPS, NUM, CODE, GRAPH, CONTROL, and SHIFT key 
  174.         column of keyboard.  Reset the bit in the A register that 
  175.         corresponds the key being pressed
  176.          Exit:
  177.                 A - Each reset bit coresponds to a key being pressed 
  178.                     (BREAK=bit 7, CAPS=bit 5, etc.)
  179.  
  180. 72C5H -  Produce a tone through the internal transducer.  The RS232 
  181.         cannot be used along with this routine.
  182.          Entry:
  183.                DE - Frequency
  184.                B - Duration
  185.          Exit:
  186.                 A - Destroyed
  187.  
  188. 7329H -  Load the contents of the clock chip registers into the 
  189.         address pointed to by HL.
  190.          Entry:
  191.                HL - Start of receiving buffer for the contents of the 
  192.                     hardware clock chip
  193.  
  194. 732AH -  Update the clock chip internal registers with the time in the 
  195.         buffer pointed to by HL
  196.          Entry:
  197.                HL - Start of the buffer containing the new values for 
  198.                     the clock chip
  199.  
  200. 744CH -  Plot point on screen
  201.          Entry:
  202.                 D - X coordinate
  203.                 E - Y coordinate
  204.          Exit:
  205.                All registers destroyed
  206. 744DH -  Reset point on screen
  207.          Entry:
  208.                 D - X coordinate
  209.                 E - Y coordinate
  210.         Exit:
  211.                All registers destroyed
  212.  
  213. 765CH -  Set interrupt to 1DH
  214.          Exit:
  215.                 A - Destroyed
  216.  
  217. 7662H -  Beep routine (07H)
  218.          Exit:
  219.            A & BC - Destroyed
  220.  
  221. 7676H -  Click sound port
  222.          Exit:
  223.                 A - Destroyed
  224.  
  225. 7711H -  Start of LCD character generator shape table.  Five bytes per 
  226.         character for the first 128 characters.  6 bytes per 
  227.         character for characters 128-255.
  228.  
  229. 7BF0H -  End of LCD character generator shape table.
  230.  
  231. 7BF1H -  Start of keyboard conversion matrix.
  232.  
  233. 7D32H -  End of keyboard conversion matrix.
  234. 7D33H -  Boot routine
  235.  
  236. 7EACH -  Display the number of free memory bytes on the screen.
  237.  
  238. 7FD6H -  RST 38H RAM vector driver routine (see 38H).
  239.