home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / MRFiles / GS3DVPAK.ARC / SHELLEQUATES (.txt) < prev   
Encoding:
GEOS ConVerT  |  2019-04-13  |  7.0 KB  |  243 lines

  1. ShellEquates
  2. PRG formatted GEOS file V1.0
  3. CONVERTED WITH GEOSHELL V2.2
  4. Write Image V2.1
  5. geoWrite    V2.1
  6. ;****************************************************************
  7. ;        ShellEquates
  8. ;    Copyright 1994 by Maurice Randall
  9. ;    Charlotte, Mich. 48813
  10. ;    For Use Only By Registered Owners Of The
  11. ;    geoSHELL Programmer's Development Package
  12. ;****************************************************************
  13. ;.included in GSVariables
  14. TRANSCOMM    =    21    ;the GEOS filetype assigned to 
  15.             ;geoSHELL commands.
  16. ;The fol
  17. TRANSCOMM    =    21    ;the GEOS filetype assigned to 
  18.             ;geoSHELL commands.
  19. ;The following define colors that may be used on the 128's 80 column screen.
  20. BLACK80    =    0
  21. DK80GREY    =    1
  22. DK80BLUE    =    2
  23. LT80BLUE    =    3
  24. DK80GREEN    =    4
  25. LT80GREEN    =    5
  26. DK80CYAN    =    6
  27. LT80CYAN    =    7
  28. DK80RED    =    8
  29. LT80RED    =    9
  30. DK80PURPLE    =    10
  31. LT80PURPLE    =    11
  32. DK80YELLOW    =    12
  33. LT80YELLOW    =    13
  34. LT80GREY    =    14
  35. WHITE80    =    15
  36. ;Miscellaneous equates:
  37. maxlines    = 12    ;number of lines in the window.
  38. ;Miscellaneous equates:
  39. maxlines    = 12    ;number of lines in the window.
  40. buff_size    = 81    ;size of certain buffers.
  41. wind_left    = $08    ;pixels from left of screen.
  42. wind_top    = $20    ;pixels from top of screen.
  43. firstrow    = wind_top+30    ;first text row.
  44. shell_height    = 136    ;pixels.
  45. shell_width    = 37    ;bytes.
  46. top_window    = wind_top+16    ;top of pad area.
  47. bot_window    = wind_top+shell_height-9 ;bottom of pad area.
  48. row0    = firstrow
  49. Quit_X    = (wind_left+$ff)/8 ;x position for icon (bytes from left 
  50.             ;of screen)
  51. Quit_Y    = wind_top+2    ;y position for icon (pixels from top)
  52. Quit_Wide    = 3    ;icon width
  53. Quit_Height    = 14    ;and height.
  54. ActHLeft    = 5
  55. ActHHeight    = 16
  56. LODRIVE    = 8    ;drive A.
  57. HIDRIVE    = 11    ;drive D. (highest number allowed)
  58. TComCk    = $6700    ;used when searching for a transient.
  59. EnOfShell    = $6700    ;error channels are transferred here.
  60. HotKeyArea    = $6c00    ;this is where the hotkeys are loaded
  61.             ;in from disk whenever the user types
  62.             ;a two-letter command. geoSHELL then
  63.             ;checks this area for a matching
  64.             ;hotkey definition. Whenever this is
  65.             ;done, if a transient command is
  66.             ;present, it is flushed from memory
  67.             ;since it would corrupt the area.
  68. STOP_KEY    = 63
  69. CTRL_KEY    = 58
  70. PAUSE_KEY    = 87
  71. XSCAN    = $d02f
  72. Y_KEY    = 25
  73. N_KEY    = 39
  74. SEQfile    = 0    ;equates used to identify the type
  75. SCRAPfile    = 1    ;of file for use with the 'type'
  76. WRITEfile    = 2    ;command.
  77. VLIRfile    = 3
  78. ALBUMfile    = 4
  79. drv64path    = $c3e9    ;specifies the drive to use for the 
  80.             ;path when searching for a 
  81.             ;transient command.
  82. drv128path    = $c9d7 
  83. part64string    = $c3ea    ;and this is the partition to use.
  84.             ;It is in the form of a 3 byte ascii string.
  85. part128string = $c9d8
  86. ;these are equates used for message displaying.
  87. ;lda with any of these values before ca
  88. ;these are equates used for message displaying.
  89. ;lda with any of these values before calling 'Message' and 'OtherMessage'.
  90. ;A routine would look like this:
  91. ;      ...
  92. ;      LoadW    r0,#texttodisplay ;point to the text.
  93. ;      lda    #(IN_TWO|TR_CR)    ;insert 2 spaces, add a carriage return.
  94. ;      jsr    OtherMessage    ;go display it.
  95. ;      ...
  96. texttodisplay:
  97. ;      .byte    "This Text Will Be Displayed!",0
  98. ;      ...
  99. IN_CR    = %10000000    ;initial carriage return.
  100.             ;otherwise begin at present cursor
  101.             ;location.
  102. TR_CR    = %01000000    ;carriage return after text.
  103.             ;otherwise leave cursor at next
  104.             ;character past text.
  105. IN_ONE    = %00000001    ;one leading space
  106. IN_TWO    = %00000010    ;two leading spaces...
  107. IN_THREE    = %00000011    ;etc...
  108. IN_FOUR    = %00000100
  109. IN_FIVE    = %00000101
  110. IN_SIX    = %00000110
  111. IN_SEVEN    = %00000111
  112. TR_ONE    = %00001000    ;one trailing space
  113. TR_TWO    = %00010000    ;two trailing spaces...
  114. TR_THREE    = %00011000    ;etc...
  115. TR_FOUR    = %00100000
  116. TR_FIVE    = %00101000
  117. TR_SIX    = %00110000
  118. TR_SEVEN    = %00111000
  119. The Jump Table:
  120. InitgeoSHELL    =    $1700
  121. Only128    =    $1703
  122. OpenGS    =    $1706
  123. NoMoreCmds    =    $1709
  124. ResetScreen    =    $170c
  125. ClearScreen    =    $170f
  126. ClearWindow    =    $1712
  127. EraseWindow    =    $1715
  128. The Jump Table:
  129. InitgeoSHELL    =    $1700
  130. Only128    =    $1703
  131. OpenGS    =    $1706
  132. NoMoreCmds    =    $1709
  133. ResetScreen    =    $170c
  134. ClearScreen    =    $170f
  135. ClearWindow    =    $1712
  136. EraseWindow    =    $1715
  137. Asc_3_Byte    =    $1718
  138. ReDoWindow    =    $171b
  139. R_Icons    =    $171e
  140. OpenWrFile    =    $1721
  141. PushStuff    =    $1724
  142. PopStuff    =    $1727
  143. ResetFromPath    =    $172a
  144. CkForDisk    =    $172d
  145. ParamName    =    $1730
  146. DoRun    =    $1733
  147. IncCmdPointer    =    $1736
  148. CkPath    =    $1739
  149. DriveLetter    =    $173c
  150. DispLetter    =    $173f
  151. OpenPathPartition    =    $1742
  152. Switch    =    $1745
  153. ;$1748 is currently unused
  154. ClrKeyData    =    $174b
  155. YesKeypress    =    $174e
  156. NoKeypress    =    $1751
  157. nogood    =    $1754
  158. yesgood    =    $1757
  159. DsplyLine    =    $175a
  160. DsplyString    =    $175d
  161. CarrReturn    =    $1760
  162. set_XY_pos    =    $1763
  163. save_XY_pos    =    $1766
  164. ClearLine    =    $1769
  165. ClearBoth    =    $176c
  166. ClearRemainder    =    $176f
  167. StripRulers    =    $1772
  168. AdjTxtPointer    =    $1775
  169. ReDisplayWindow    =    $1778
  170. Message    =    $177b
  171. OtherMessage    =    $177e
  172. GetMessage    =    $1781
  173. Asc_Byte    =    $1784
  174. ByteWZ_Ascii    =    $1787
  175. ByteNZ_Ascii    =    $178a
  176. ConvertK    =    $178d
  177. Asc_BCD    =    $1790
  178. CkESC_RULER    =    $1793
  179. DispText    =    $1796
  180. GetMess    =    $1799
  181. execStartup    =    $179c
  182. CkPathOrder    =    $179f
  183. FindParName    =    $17a2
  184. Wait    =    $17a5
  185. ExitCommand    =    $17a8
  186. unsetPrompt    =    $17ab
  187. ColorScreen    =    $17ae
  188. SetBrdrColor    =    $17b1
  189. SetThisDevice    =    $17b4
  190. SetDrName    =    $17b7
  191. Wait    =    $17a5
  192. ExitCommand    =    $17a8
  193. unsetPrompt    =    $17ab
  194. ColorScreen    =    $17ae
  195. SetBrdrColor    =    $17b1
  196. SetThisDevice    =    $17b4
  197. SetDrName    =    $17b7
  198. FileNotAvail    =    $17ba
  199. Searching    =    $17bd
  200. MissgFilename    =    $17c0
  201. NotFound    =    $17c3
  202. Dir    =    $17c6
  203. CkTerminators    =    $17c9
  204. CkTermNoSpace    =    $17cc
  205. MissDisk    =    $17cf
  206. CkAllDrives    =    $17d2
  207. ;this spot is currently unused ($17d5)
  208. CkKeyboard    =    $17d8
  209. CkPresdrive    =    $17db
  210. CkThisDrive    =    $17de
  211. PurgeAllTurbos    =    $17e1
  212. CkOtherDrives    =    $17e4
  213. DateDisplay    =    $17e7
  214. Byte_Time    =    $17ea
  215. ;$17ed is currently unused
  216. FixColors    =    $17f0
  217. MskCtrlCodes    =    $17f3
  218. ConvToAscii    =    $17f6
  219. GetHeader    =    $17f9
  220. LoadProblem    =    $17fc
  221. OpenGSIndex    =    $17ff
  222. RdFnKeyDefs    =    $1802
  223. Open_GC_Channel    =    $1805
  224. Send_GC_Byte    =    $1808
  225. SaveToREU    =    $180b
  226. ClrTrnsName    =    $180e
  227. CkDrvLetter    =    $1811
  228. Status    =    $1814
  229. SendCmd    =    $1817
  230. ReadChannel    =    $181a
  231. SendListen    =    $181d
  232. SendTalk    =    $1820
  233. FindRamLink    =    $1823
  234. GetCMDType    =    $1826
  235. FindCMDType    =    $1829
  236. OpenPartition    =    $182c
  237. SetPartParams    =    $182f
  238. InitCurPartition    =    $1832
  239. OpenCurPartition    =    $1835
  240. CkModeFlag    =    $1838
  241. GetRealDriveNum    =    $183b
  242. ;room for 3 more jump addresses for future use.
  243.