home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / ref / rcmap7.200 < prev    next >
Text File  |  2006-10-19  |  15KB  |  480 lines

  1.                    ---------------------------- 
  2.                    | Model 100/200 System Map |   
  3.                    ----------------------------   
  4.                            ROM: Part VII   
  5.                           Copyright 1985   
  6.                      Revision Date: 09/30/85   
  7.                    Compiled and Researched by:   
  8.                        Robert D. Covington   
  9.             Systems Information Management Consultants   
  10.       [Not associated with The Covington Group, N. Y., N. Y.]   
  11.           Revised for Tandy 200 by Chris De Herrera 9/89 
  12.    
  13.     This document may be duplicated and distributed free of   
  14. charge to any individuals who desire it.  Any duplications of   
  15. this document, however, must include all of the information   
  16. contained here-in, with no deletions or changes.   
  17.     The author and distributors of this document make no    
  18. expressed or implied warrantees as to the validity of the    
  19. information contained here in.   
  20.    
  21.                       - Model 100 RAM Memory Map -   
  22. Hex  Address  
  23. M100    M200    Description  
  24. ---------------------------------------------------------------- 
  25. F5F0H   EEB0H - MAXRAM
  26.  
  27. F5F4H   EEB4H - Himem (2)   
  28.    
  29. F5F9H   EEB9H - RST 5.5 RAM vector (3)  Used for BCR interrupt   
  30.    
  31. F5FCH   EEBFH - RST 6.5 RAM vector (3)  Used for UART interrupt (Called)   
  32.    
  33. F5FFH   EEC2H - RST 7.5 RAM vector (3)  Used for Timer interrupt (Called)   
  34.    
  35. F602H         - RAM vector for TRAP interrupt (3) (M100=1431H, M200=1549H)   
  36.    
  37. F62AH         - Option ROM flag (0-no option ROM)   
  38.    
  39. F62BH  EEF4H - Dial speed (1=10pps, 2=20pps)   
  40.  
  41. N/A    EEF5H - RAM Location in bank #1 of the active bank.
  42.  
  43. F62CH  EEF9H - FNKMAC
  44.    
  45. F630H  EEFDH - Start of 8 byte table for each function key status (1=on,  
  46.                 0=off)   
  47.  
  48. F638H  EF05H - ?
  49.    
  50. F639H  EF06H - Cursor row (M100 1-8, M200 1-16)   
  51.    
  52. F63AH  EF07H - Cursor column (1-40)   
  53.    
  54. F63BH  EF08H - Number of active rows (M100 1-8,M200 1-16)   
  55.    
  56. F63CH  EF09H - Number of active columns on screen (1-40)   
  57.    
  58. F63DH  EF0AH - Label line/8th line protect status (0=off)   
  59.    
  60. F63EH  EF0BH - Scroll disable flag (0-allow scrolling)   
  61.    
  62. F63FH        - Cursor status (0-off, 1-on)   
  63.    
  64. F640H  EF0DH - Cursor row (M100 1-8, M200 1-16)   
  65.    
  66. F641H  EF0EH - Cursor Column (1-40)   
  67.    
  68. F646H        - ESCape mode flag for RST 20H (0-normal video, not zero-ESCape  
  69.                mode)   
  70.    
  71. F648H  EF15H - Reverse video switch (0=off)   
  72.    
  73. F64EH        - X coordinate of last graphic point plotted   
  74.    
  75. F64FH        - Y coordinate of last graphic point plotted   
  76.  
  77. F650H  EF32H - ?
  78.  
  79. F652H  EF34H - ERRTRP
  80.    
  81. F656H  EF37H - Power off exit condition switch (0-return control back to    
  82.                program on power up, 1-return to menu on power up)   
  83.  
  84. F657H  EF38H - ?
  85.    
  86. F658H  EF39H - Full/half duplex switch (0-half duplex)   
  87.  
  88. F659H  EF3AH - ?
  89.    
  90. F65AH  EF3BH - Auto linefeed on RS232 output switch (0-auto linefeed option   
  91.  
  92.                off, not zero-automatically send a linefeed after every    
  93.                carriage return)   
  94.    
  95. F65BH  EF3CH - Start of textual RS232 parameter setting buffer.   This    
  96.                buffer is normally used to store the STAT setting for TELCOM 
  97.                (5)   
  98.    
  99. F660H        - Self modifying address called on CALL statement   
  100.    
  101. F661H  EF49H - Address last called (2)   
  102.    
  103. F667H  EF52H - Called on OUT statement   
  104.    
  105. F66AH  EF55H - Called on INP function   
  106.    
  107. F672H        - Error code of last error   
  108.    
  109. F674H        - Line printer head position   
  110.    
  111. F675H  EF60H - Output device for RST 20H (0=screen, 1=printer)   
  112.    
  113. F678H        - Start of string buffer for BASIC (2)   
  114.    
  115. F67AH  EF65H - Current executing line number, FFFFH if no program running.    
  116.                (2)   
  117.  
  118. F67BH  EF66H - ?
  119.    
  120. F67CH  EF67H - Start of BASIC program pointer (2)   
  121.    
  122. F680H  EF6BH - End of statement marker ':' or null   
  123.  
  124. F681H  EF6CH - INPBFR
  125.    
  126. F685H  EF70H - Start of keyboard buffer used by the keyboard line input    
  127.                routine at M100=4644H, M200=54F6H.   
  128.    
  129. F788H  F073H - Current horizontal position of cursor (0-39)   
  130.    
  131. F789H  F074H - Function key definition area (128)   
  132.  
  133. F7D9H  F0C4H - ?
  134.    
  135. F80AH  F0F5H - Function key definition area used by BASIC (128)   
  136.    
  137. F88CH        - End of used RAM for permanent storage (does not include    
  138.                variables, paste buffer, etc.) (2)   
  139.  
  140.        F20DH - Word wrap (0=no word wrap, 1=word wrap)
  141.    
  142. F923H  F212H - Seconds (ones)   
  143.    
  144. F924H  F213H - Seconds (tens)   
  145.    
  146. F925H  F214H - Minutes (ones)   
  147.    
  148. F926H  F215H - Minutes (tens)   
  149.    
  150. F927H  F216H - Hours (ones)   
  151.    
  152. F928H  F217H - Hours (tens)   
  153.    
  154. F929H  F219H - Date (ones)   
  155.    
  156. F92AH  F21AH - Date (tens)   
  157.    
  158. F92BH  F218H - Day code (0=Sunday, 1=Monday, etc.)   
  159.    
  160. F92CH  F21BH - Current month (1-12) (M100 1 byte, M200, 2 bytes)   
  161.    
  162. F92DH  F21DH - Year (ones)   
  163.    
  164. F92EH  F21EH - Year (tens)   
  165.  
  166. F92FH  F21FH - CSRITP
  167.  
  168. F930H  F220H - ?
  169.  
  170. F931H  F221H - ?
  171.  
  172. F932H  F222H - ?
  173.    
  174. F933H        - Seconds (ones)   
  175.    
  176. F934H        - Seconds (tens)   
  177.    
  178. F935H        - Minutes (ones)   
  179.    
  180. F936H        - Minutes (tens)   
  181.    
  182. F937H        - Hours (ones)   
  183.    
  184. F938H        - Hours (tens)   
  185.    
  186. F939H        - Date (ones)   
  187.    
  188. F93AH        - Date (tens)   
  189.    
  190. F93BH        - Day (0=Sunday, 1=Monday, etc.)   
  191.    
  192. F93DH        - Time for ON TIME interrupt (SSMMHH) (6)   
  193.    
  194. F944H  F234H - On Com flag (0=off, 255=on)   
  195.    
  196. F945H  F235H - Address of On Com routine (2)   
  197.    
  198. F947H  F237H - On time flag (0=off, 255=on)   
  199.    
  200. F948H  F238H - Address of on time routine (2)   
  201.    
  202. F94AH  F23AH - Function key vector table (24)   
  203.                  First byte - On/off status   
  204.                  Next 2 bytes - Vector address   
  205.    
  206. F962H  F252H - Start of RAM directory   
  207.                  Byte 1 - Directory flags.  A 255 specifies the end of the    
  208.                           directory.   
  209.                    Bit 7 - Set if valid entry   
  210.                        6 - Set for .DO file   
  211.                        5 - Set for .CO file   
  212.                        4 - Set for ROM file   
  213.                        3 - Set for invisible file   
  214.                        2-3 - Address of file   
  215.                  4-11 - Eight byte filename.  Filename must have extention    
  216.                         right justified and filename left justified.  Any    
  217.                         gaps should be filled with spaces (ex. "ADD.DO"    
  218.                         should be "ADD   DO")   
  219.    
  220. F99AH  F295H - Address of current BASIC program not saved (Suzuki) (2)   
  221.    
  222. F9A5H  F2A0H - Start of Paste buffer (Hayashi) (2)   
  223.  
  224. F9AFH  F2AAH - ?
  225.    
  226. FAACH        - ASCII character last output to printer   
  227.    
  228. FAADH  EF0AH - Label line enable flag (0=not enabled)   
  229.    
  230. FAAEH        - Contents of port 0A8H   
  231.    
  232. FAAFH  F4DDH - Start of IPL filename (8)   
  233.    
  234. FABAH        - Address where last BASIC list started (2)   
  235.    
  236. FABEH  F4ECH - Storage for stack pointer on power up/down for continued    
  237.                program execution after a power down (2)   
  238.    
  239. FAC0H        - Lowest RAM memory address used by system (8000H for a 32k    
  240.                system) (2)   
  241.  
  242. FAC2H  F4F0H - CAPTUR
  243.  
  244. FAC3H  F4F1H - ?
  245.  
  246. FAC6H  F4F4H - ?
  247.    
  248. FAC9H  F4F7H - Offset of last RST 38H call   
  249.  
  250. FACEH  F4FBH - TOP
  251.    
  252. FAD0H  F4FDH - Length of last program loaded or saved on tape   
  253.  
  254. FAD2H  F4FFH - EXE
  255.  
  256. FAD8H  F505H - ?
  257.    
  258. FADAH  F507H - Start of RST 38H vector table (256)   
  259.  
  260. FADCH  F509H - ?
  261.    
  262. FAE2H        - LCD character output RAM vector for 20H routine.  The address  
  263.                at this location is called everytime a character is sent to   
  264.                the LCD (note:This routine is called at 4317H). (2)   
  265.    
  266. FAE4H        - Printer output RAM vector.  The 2 byte address at this    
  267.                location is called everytime a character is output to the    
  268.                printer via the routine at M100=1470H, M200=1590H. (2)   
  269.  
  270. FAF0H  F51FH - ?
  271.  
  272. FAF4H  F523H - ?
  273.    
  274. FB00H  F52FH - EOF function RAM vector.   The 2 byte address at this    
  275.                location is called evertime an EOF function is performed. (2)  
  276.  
  277. FB08H  F537H - ?
  278.  
  279. FB0AH  F539H - ?
  280.    
  281. FB0CH  F53FH - TERM F6 RAM vector (2)   
  282.    
  283. FB0EH  F541H - TERM F7 RAM vector (2)   
  284.  
  285. FB12H  F545H - ?
  286.    
  287. FB14H  F547H - WIDTH statement RAM vector.  (2)   
  288.    
  289. FB1AH        - CRT open routine RAM vector (2)   
  290.    
  291. FB1EH        - CRT output file routine RAM vector (2)   
  292.    
  293. FB20H        - WAND Open routine RAM vector (2)   
  294.    
  295. FB22H        - WAND Close routine RAM vector (2)   
  296.    
  297. FB24H        - WAND Get routine RAM vector (2)   
  298.    
  299. FB26H        - WAND Special I/O routine vector (2)   
  300.    
  301. FB28H        - LOF function routine RAM vector (2)   
  302.    
  303. FB2AH        - LOC function routine RAM vector (2)   
  304.    
  305. FB2CH  F55DH - LFILES statement routine RAM vector (2)   
  306.    
  307. FB2EH        - DSKI$ routine RAM vector (2)   
  308.    
  309. FB30H        - DSKO$ routine RAM vector (2)   
  310.  
  311. FB32H  F563H - ?
  312.  
  313. FB34H  F565H - ?
  314.  
  315. FB36H  F567H - ?
  316.  
  317. FB38H  F569H - ?
  318.    
  319. FB64H        - Create/Locate switch for variables used in the main    
  320.                evaluation routine (Locate=0, Create>0).   
  321.    
  322. FB65H        - Type of last variable used (2-Integer, 3-String, 4-Single    
  323.                Precision, 5-Double Precision)   
  324.    
  325. FB67H        - Start address for file buffer area (2)   
  326.    
  327. FB94H        - Line number of current data statement   
  328.    
  329. FB96H        - 0 if no FOR/NEXT loop in progress   
  330.    
  331. FB99H        - Address of last variable assigned via a LET instruction.     
  332.                This address points to the variable description table as with  
  333.                a VARPTR(variable) instruction.   
  334.    
  335. FB9BH        - Pointer to most recent or currently running line (2).  This    
  336.                address points to the actual text skipping the line number    
  337.                and spaces.   
  338.    
  339. FB9DH F650H  - Stack pointer value used by BASIC to reinitialize the stack.   
  340.                This memory pointer is updated after each instruction by the   
  341.                routine at 0804H. (2)   
  342.    
  343. FB9FH  F652H - Line number of last error (2)   
  344.    
  345. FBA1H  F654H - Most recent used or entered line number (2)   
  346.    
  347. FBA3H  F656H - Pointer of where error occured (2)   
  348.    
  349. FBA5H  F658H - Address of ON ERROR routine (2)   
  350.    
  351. FBAAH  F65DH - Line where last break, END, or STOP occured (2)   
  352.    
  353. FBACH        - Address where program stoped on last break, END, or STOP (2)   
  354.    
  355. FBAEH  F661H - Pointer to the start of the DO files and end of the BA files.  
  356.                (2)   
  357.    
  358. FBB0H  F663H - Pointer to the start of CO files (2)   
  359.    
  360. FBB2H  F665H - Pointer to the start of variable table (2)   
  361.    
  362. FBB4H  F667H - Pointer to the start of array table (2)   
  363.    
  364. FBB6H  F669H - Pointer to the start of the systems unused memory (2)   
  365.    
  366. FBB8H        - Address where DATA search will begin on next READ statement    
  367.                (2)   
  368.    
  369. FBBAH  f66DH - 26 byte table for default variable types declared by the DEF   
  370.                statement.   Each entry corresponds to one of the letters    
  371.                A-Z.   The contents of each entry are 2 for an integer, 3 for  
  372.                a string, 4 for a single precision number, and 8 for a double  
  373.                precision number. (26)   
  374.  
  375. FBE8H  F69BH - NUMSTR - NUMBER STRING STORED HERE WHEN 18187 IS CALLED
  376.    
  377. FC18H        - Start of FAC1 for single (4) and double (8) precision number   
  378.                (8)   
  379.    
  380. FC1AH        - Start of FAC1 for integers (2)   
  381.    
  382. FC69H        - Start for FAC2 for single (4) and double (8) precision numbers 
  383.    
  384. FC6BH        - Start of FAC2 for integers (2)   
  385.  
  386. FC7AH  F72DH - SEEDRD
  387.    
  388. FC82H  F735H - Maximum number of open files (Maxfiles) (1)   
  389.    
  390. FC83H        - Pointer to the 30 byte file number description pointer    
  391.                table-2.  Each entry of the table points to the actual file    
  392.                description table (same as VARPTR(#x)).   
  393.    
  394. FC8CH  F73FH - Pointer to the file description table for the last file used  
  395.                (2)   
  396.  
  397. FC92H  F745H - ?
  398.    
  399. FC93H  F746H - Filename of current BASIC program (6)   
  400.  
  401. FC99H  F74CH - ?
  402.    
  403. FC9CH  F74FH - Filename of last program loaded from tape (6)   
  404.  
  405. FCA7H  F75AH - ?
  406.    
  407. FCC0H  F7B0H - Start of alternate LCD character buffer (M100=320, M200=640)   
  408.  
  409. FDA1H  F7C9H - ?
  410.  
  411. FDD5H  F8D5H - ?
  412.  
  413. FDD7H  F831H - ?
  414.  
  415. FDEEH  F848H - ?
  416.  
  417. FDEFH  F849H - ?
  418.    
  419. FDFFH  FA2FH - End of alternate LCD character buffer   
  420.    
  421. FE00H  FA30H - Start of LCD memory (M100=320, M200=640)   
  422.    
  423. FF40H  FCF0H - End of LCD memory  (8x40) 
  424.  
  425. N/A    FCAFH - End of LCD memory  (M200 16x40) 
  426.    
  427. FF42H  FCF2H - XON/XOFF enable flag.  If this byte is 0, XON/XOFFs are not    
  428.                significant for RS232 operations.  If this byte is greater    
  429.                than 0, XON/XOFFs are treated as normal.   
  430.    
  431. FF43H  FCF3H - RS232 initialization status (0-deactivated, >0- activated)   
  432.    
  433. FF44H  FCF4H - Sound flag (0=on) (1)   
  434.    
  435. FF45H        - Contents of port 0E8H (1)   
  436.    
  437. FF46H  F764H - Start of 64 character RS232 buffer (64)   
  438.    
  439. FF86H  F7A4H - Number of characters in the RS232 buffer (FF46H).  When this   
  440.                number reaches 40, a control S is automatically sent by the    
  441.                system.   
  442.    
  443. FF8AH        - Status of control S (1-Control S has been pressed, 0-no    
  444.                control S is active).   
  445.    
  446. FF8BH        - 8155 UART baud rate generator baud rate timer value (2)   
  447.    
  448. FF8EH        - High or low cassette level trigger flag for 6FDBH (1)   
  449.  
  450. FF8FH  FD03H - KBSITP
  451.    
  452. FF97H        - 8 bits for storing space, del, tab, esc, paste, label, print,  
  453.                and enter key recognition.   
  454.    
  455. FF98H        - 8 bits for storing function key recognition   
  456.  
  457. FF99H  FD0FH - PKGFF
  458.    
  459. FFA2H  FD16H - 8 bits for storing shift, ctrl, grph, code, num, and caps    
  460.                lock.   
  461.  
  462. FFA4H  FD18H - ?
  463.  
  464. FFA5H  FD19H - ?
  465.  
  466. FFA7H  FD1BH - ?
  467.  
  468. FFA8H  FD1CH - ?
  469.    
  470. FFAAH  FD1EH - Number of characters in keyboard buffer.   
  471.    
  472. FFABH  FD1FH - Start of keyboard typeahead buffer (32)   
  473.    
  474. FFECH        - Start of 5 byte table describing the bit pattern currently    
  475.                under the cursor (5)  
  476.  
  477. FFF3H  FEA1H - ?
  478.  
  479. <EOF>
  480.