home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / pg / pg200 / rammap.200 < prev    next >
Text File  |  2006-10-19  |  6KB  |  238 lines

  1. M200 Memory Map  MAXRAM=EEB0
  2.  
  3. EEB4+    Holds HIMEM value
  4. -------
  5. EEB9++    RST 5.5 vector (bar code)
  6. -------
  7. EEBF++    RST 6.5 vector
  8. EEC2++    RST 7.5 vector
  9. -------
  10. EEF4    Dialing method 0=tone,1,14
  11. EEF5    Active bank stored (in bank 1)
  12. -------
  13. EEFD    KEY ON/OFF FLAGS 8 bytes to...
  14. EF04    
  15. EF05    Current screen in use
  16. EF06    Current cursor row position
  17. EF07    Current cursor column position
  18. EF08    Max number of lines on screen
  19. EF09    Max screen width
  20. EF0A    LABEL LINE FLAG 0/off 255/on
  21. EF0B    Screen lock flag
  22. -------
  23. EF0D    Current LCD Y position
  24. EF0E    Current LCD X position
  25. -------
  26. EF32    0=BREAK 128=NO_BREAK
  27. -------
  28. EF34+    Error trap - 0/basic or use adr
  29. -------
  30. EF38    Power setting 0=cont.
  31. EF39    Full/Half Duplex (255=full)
  32. EF3A    Echo to Lpt:
  33. EF3B    Ignore LF
  34. -------
  35. EF3C    TELCOM parameters to...
  36. EF42
  37.  
  38. EF44    Orig/Ans mode 0=Orig  non-0=Ans
  39. -------
  40. EF49+    CALL target address
  41. -------
  42. EF52++    Code for OUT command
  43. EF55++    Code for INP commpnd
  44. -------
  45. EF60    Output flag  1=Lpt 0=Lcd
  46. -------
  47. EF65+    Holds line # being executed
  48. EF67+    Holds start adrs of BASIC pgm
  49. -------
  50. EF6B    End of BASIC stmt marker
  51. EF6C    Holds tokenized BASIC line
  52. -------
  53. EF70    Holds line from CALL 54F6
  54. -------
  55. F074    F1 - Table 1
  56. F084    F2 - Table 1
  57. F094    F3 - Table 1
  58. F0A4    F4 - Table 1
  59. F0B4    F5 - Table 1
  60. F0C4    F6 - Table 1
  61. F0D4    F7 - Table 1
  62. F0E4    F8 - Table 1
  63. F0F4
  64. F0F5    F1 - Table 2
  65. F105    F2 - Table 2
  66. F115    F3 - Table 2
  67. F125    F4 - Table 2
  68. F135    F5 - Table 2
  69. F145    F6 - Table 2
  70. F155    F7 - Table 2
  71. F165    F8 - Table 2
  72. -------
  73. F218    Day of week
  74. F219    Day of month - low digit
  75. F21A    Day of month - high digit
  76. F21B    Month - low digit
  77. F21C    Month - high digit
  78. F21D    Year - low digit
  79. F21E    Year - high digit
  80. F21F    Counter - Decrements 150 to 1
  81. F220    Counter - Decrements 12 to 1
  82. F221    Counter - Power Down
  83. -------
  84. F234    ON COM GOSUB status
  85. F235+    Adr of line# to GOSUB for COM
  86. F237    ON TIME$ GOSUB status
  87. F238+    Adr of line# to GOSUB for TIME$
  88. F23A    ON KEY 1 GOSUB status
  89. F23B+    Adr of line# to GOSUB for KEY 1
  90. F23D    ON KEY 2 GOSUB status
  91. F23E+    Adr of line# to GOSUB for KEY 2
  92. F240    ON KEY 3 GOSUB status
  93. F241+    Adr of line# to GOSUB for KEY 3
  94. F243    ON KEY 4 GOSUB status
  95. F244+    Adr of line# to GOSUB for KEY 4
  96. F246    ON KEY 5 GOSUB status
  97. F247+    Adr of line# to GOSUB for KEY 5
  98. F249    ON KEY 6 GOSUB status
  99. F24A+    Adr of line# to GOSUB for KEY 6
  100. F24C    ON KEY 7 GOSUB status
  101. F24D+    Adr of line# to GOSUB for KEY 7
  102. F24F    ON KEY 8 GOSUB status
  103. F250+    Adr of line# to GOSUB for KEY 8
  104. 
  105. F252    DIRECTORY OF FILE ENTRIES
  106.     Each enrty = 11 bytes. First byte is file attribute byte
  107.     Bit 7=1 if valid entry
  108.     Bit 6=1 if .DO file
  109.     Bit 5=1 if .CO file
  110.     Bit 4=1 if ROM file
  111.     Bit 3=1 if invisible
  112.     The next 2 bytes point to RAM storage area.
  113.     Last 8 bytes =filename no (.)
  114. F252    BASIC's file slot
  115. F25D    TEXT's file slot
  116. F268    TELCOM's file slot
  117. F273    ADDRSS's file slot
  118. F27E    SCHEDL's file slot
  119. F289    MSPLAN's file slot
  120. F294    UNSAVED BASIC PGRM's file slot
  121. F29F    PASTE BUFFER's file slot
  122. F2AA    BASIC EDITOR's file slot
  123. F2B5    user slot 1
  124. F2C0    user slot 2
  125. F2CB    user slot 3
  126. F2D6    user slot 4
  127.   |            |
  128. F4A4    user slot 46
  129. F4AF    End of directory flag
  130. --------
  131. F4BB+    Holds dir adrs of current BASIC program
  132. --------
  133. F4DD    IPL string to...
  134. F4E7
  135. --------
  136. F4EC+    Holds SP when power off occurs
  137. F4EE+    LOMEM - Adrs of 1st RAM byte
  138. --------
  139. F4F7    Holds offset into RST 7 jmp tbl
  140. --------
  141. F507    Branch table for RST 7
  142. F507  1    CLEAR vector
  143. F509  2    CLEAR x,HIMEM vector
  144. F50B  3    Keypress vector
  145. F50D  4    Keyscan vector
  146. F50F  5    LCD
  147.  
  148. F53D 28    To/From Menu
  149. F53F 29    F6 TELCOM (Term) vector
  150. F541 30    F7 TELCOM (Term) vector
  151.  
  152. F545 32    F8 TEXT (and Basic Editor)
  153.         --------------
  154. F547  1    Width a,b
  155. F549  2    Screen 1,x(0)
  156. F54B  3    Open/Save"crt:"(1)
  157. F54D  4    
  158. F54F  5    Open/Save"crt:"(2)
  159. F551  6    Open/Load"wand:"(1)
  160. F553  7    Open/Load"wand:"(2)
  161. F555  8    Open/Load"wand:"(3)
  162. F557  9    Open/Load"wand:"(4)
  163. F559 10    
  164. F55B 11    
  165. F55D 12    Lfiles(1)
  166. F55F 13    Lfiles(3)/dsko$=a$(2)/a$=dski$(0)
  167. F561 14    Lfiles(2)/dsko$=a$(1)
  168. F563 15    
  169. F565 16    
  170. -------
  171. F652+    line # where error occurred
  172. F654+    line # of last entered/listed
  173. F656+    mem adrs where error occurred
  174. F658+    address of "ON ERROR GOTO" line
  175. --------
  176. F65D+    line # where BREAK occurred
  177. --------
  178. F661+    points to 1st byte
  179. --------
  180. F665+    points to start of variable storage
  181. F667+    points to adrs for next variable data
  182. F669+    Holds location of first free byte in RAM
  183. --------
  184. F735    Holds MAXFILES value
  185. --------
  186. F745    File name #1
  187. F74F    File name #2
  188. --------
  189. F7B0    Holds day/date/time for menu display to...
  190. F7C8
  191. F7C9    Visible file adrs table to ...
  192. F830
  193. F831+    Pointer into VisFilTbl for next address
  194. F833    Holds Filename being searched for by 6E4F routine...to ...
  195. F83C
  196. --------
  197. F848    Holds # of file under cursor
  198. F849    Holds # of visible entries -1
  199. --------
  200. F854    Holds screen in use before returning to menu
  201. FA30    LCD screen image 640 bytes to..
  202. FCAF
  203. --------
  204. FCF4    SOUND ON/OFF flag. ON=0 OFF=175
  205. --------
  206. FD03    TIC for kbd scan
  207. FD05    KBD matrix buf a/b (18 bytes)
  208.  
  209. Buf1   7   6   5   4   3   2   1   0    Buf2
  210. ============================================
  211. FD05   L   M   N   B   V   C   X   Z    FD0E
  212. --------------------------------------------
  213. FD06   K   J   H   G   F   D   S   A    FD0F
  214. --------------------------------------------
  215. FD07   I   U   Y   T   R   E   W   Q    FD10
  216. --------------------------------------------
  217.        ?   >   <   "   :   ]
  218. FD08   /   .   ,   '   ;   [   P   O    FD11
  219. --------------------------------------------
  220.        *   &   ^   %   $   #   @   !
  221. FD09   8   7   6   5   4   3   2   2    FD12
  222. --------------------------------------------
  223.                        +   _   )   (
  224. FD0A  dwn up rght lft  =   -   0   9    FD13
  225. --------------------------------------------
  226. FD0B <cr> prt lbl pas esc tab del space FD14
  227. --------------------------------------------
  228. FD0C   F8  F7  F6  F5  F4  F3  F2  F1   FD15
  229. --------------------------------------------
  230. FD0D  brk     cap num cod grh ctl shf   FD16
  231. --------------------------------------------
  232. FD1E    # of keystrokes pending
  233. FD1F    Keyboard queue (64 bytes)
  234. -------
  235. FEA4+    Holds adrs of 8 byte pixel map
  236. FEAC+    Holds offset into map
  237. -------
  238.