home *** CD-ROM | disk | FTP | other *** search
/ Millennium Time Capsule / AC2000.BIN / disks / ac10disk / stostuff / for_ac.txt next >
Encoding:
Text File  |  1998-04-14  |  16.6 KB  |  361 lines

  1. **************************************************************************
  2. *                                                                        *
  3. *                       D e t a i l s  o f  t h e                        *
  4. *                                                                        *
  5. *                S T ( e )  /  T T  /  F a l c o n  0 3 0                *
  6. *                                                                        *
  7. *                      E x t e n s i o n  S u i t e                      *
  8. *                                                                        *
  9. *                       ©   M a r c h  1 9 9 8                           *
  10. *                                                                        *
  11. *                           Anthony Hoskin.                              *
  12. *                           45 Wythburn Road,                            *
  13. *                           Newbold,                                     *
  14. *                           Chesterfield,                                *
  15. *                           Derbyshire,                                  *
  16. *                           S41 8DP. (U.K.)                              *
  17. *                                                                        *
  18. *         A SPECIAL EDITION FOR SUBSCRIBERS OF ATARI COMPUTING.          *
  19. *                                                                        *
  20. **************************************************************************
  21.  
  22.  
  23.                        ***************************
  24.                        *                         *
  25.                        * I N T R O D U C T I O N *
  26.                        *                         *
  27.                        ***************************
  28.  
  29. This  document  is  a  description of STOS  extensions  I  have  currently 
  30. submitted for inclusion on the AC reader disk. It is only intended for the 
  31. use  of the Atari Computing magazine publishing team and its  reader  disk 
  32. editor and as such should not be included in the distribution of the  said 
  33. STOS extension suite.
  34.  
  35. A little bit of history...
  36.  
  37. Wayback  in early 1994 my brother and I had just bought our  Falcon  030's 
  38. and  as  a  result  of my brother  complaining  about  STOS  not  behaving 
  39. particularly  well on the Falcon we decided to try to do  something  about 
  40. it.  As  a  result  over  the last 4 years  I  developed  a  comprehensive 
  41. extension  suite and patched STOS library files which made using  STOS  on 
  42. the Falcon more than just a possibility but a great pleasure. Now with the 
  43. extra video modes and colours available a much greater diversity grew into 
  44. how the programs could be presented when running on the Falcon.
  45.  
  46. Then in late 1997/early 1998 I had to do some major updating on my  Falcon 
  47. extensions  -  each STOS extension has a limited number  of  new  commands 
  48. available to it and mine had rapidly reached their limits some time ago. I 
  49. decided  that  some commands would be better off in  their  own  dedicated 
  50. extensions  -  the  Gemtext commands from my Falcon  Video  extension  for 
  51. example. So out of this major restructuring new extensions have been born. 
  52.  
  53. A major side benefit of this is that some facilities previously  available 
  54. only from the Falcon extensions are available in extensions which are  now 
  55. compatible with the ST(e) and TT machines. This has now opened the door to 
  56. all those ST'ers out there looking for that bit extra for their  machines. 
  57.  
  58.  
  59.                                Continued...
  60.  
  61. **************************************************************************
  62. *                                                                        *
  63. *   A  D e s c r i p t i o n  o f  t h e  S T O S  e x t e n s i o n s   *
  64. *                                                                        *
  65. *    a s  s u b m i t t e d  f o r  t h e  A C  r e a d e r  d i s k     *
  66. *                                                                        *
  67. **************************************************************************
  68.  
  69. Extension :-   ST(e)/TT/Falcon 030 System Control Extension v0.9
  70.  
  71. Machine   :-   All ST(e), TT 030, Falcon 030 machines.
  72.  
  73. Commands  :-   Currently over 50,  those preceded by  a '!' are compatible 
  74. available      with  machines featuring the enhanced joystick  ports  [STe 
  75.                and Falcon 030].  Those preceded by a '*' are  specifically 
  76.                for  the  Atari  Falcon 030.  All the  other  commands  are 
  77.                available to all machines. 
  78.  
  79. System commands;              coldboot            warmboot
  80.  
  81. Cookie commands;              cookieptr           cookie
  82.  
  83. Keyboard commands;            caps on             kbshift
  84.                               caps off
  85.  
  86.                                Continued...
  87.  
  88. ST Mouse commands;            st mouse on         st mouse colour
  89.                               st mouse off        st mouse stat
  90.                               st mouse            _limit st mouse
  91.  
  92. CPU/Blitter control commands; * _cpuspeed         * _busmode
  93.                               * _blitterspeed     * _stebus
  94.                               * _cpucache on      * _falconbus
  95.                               * _cpucache stat    * _nemesis
  96.                               * _cpucache off
  97.  
  98. Paddle/Jagpad commands;       ! _jagpad direction ! paddle x
  99.                               ! _jagpad fire      ! paddle y
  100.                               ! _jagpad pause     ! lpen x
  101.                               ! _jagpad option    ! lpen y
  102.                               ! _jagpad key$
  103.  
  104. Arithmetic commands;          _add cbound         _add ubound
  105.                               _sub cbound         _sub lbound
  106.                               odd                 even
  107.  
  108. String commands;              code$               lset$
  109.                               uncode$             rset$
  110.  
  111. File management commands;     _fileselect$        _file attr
  112.                               _file exist
  113.  
  114. Required  :-   SPRIT101.BIN [STOS interpreter library file]
  115. patch(s)       SPRIT101.LIB [STOS compiler library file]
  116.  
  117.  
  118.  
  119.                                Continued...
  120.  
  121. What does :-   This extension comprises over 50 new instructions/functions 
  122. it do?         for  enhancing system control of the Atari  ST(e)/TT/Falcon 
  123.                030.  Also provides STOS with a new 3D effect file-selector 
  124.                which  although  originally coded for  the  Falcon's  extra 
  125.                video modes will also work in the ST's native modes,  i.e., 
  126.                ST Low/Med/Hi resolutions.
  127.  
  128.                This  3D  effect fileselector requires  the  above  patches 
  129.                because the main STOS library files contain routines  vital 
  130.                to the support of this feature. If you are running an ST(e) 
  131.                and never intend using the 3D effect fileselector then  the 
  132.                patched library files need not be installed.
  133.  
  134. --------------------------------------------------------------------------
  135.  
  136. Extension :-   ST(e)/TT/Falcon 030 3D Menus & Alerts v0.6
  137.  
  138. Machine   :-   All ST(e), TT 030, Falcon 030 machines.
  139.  
  140. Required  :-   WINDO102.BIN [STOS interpreter library file]
  141. patch(s)       WINDO102.LIB [STOS compiler library file]
  142.  
  143.                SPRIT101.BIN [STOS interpreter library file]
  144.                SPRIT101.LIB [STOS compiler library file]
  145.  
  146.                ST(e)/TT/Falcon 030 System Control Extension => v0.9
  147.  
  148.                The  patches and extension(s) listed above  contain support 
  149.                routines  which  the 3D Menu & Alerts extension  calls  for 
  150.                most of its functions.
  151.  
  152. Commands  :-   Currently 10, a few are listed below.
  153. available
  154.                _fmenu init         _fmenu$ on
  155.                _fmenu on           _fmenu$
  156.                _fmenu select       _fmenu freeze
  157.                _fmenu item         _fmenu kill
  158.                _fmenu$ off         _fmenu height
  159.  
  160. What does :-   This extension originally intended for the Falcon 030,  but 
  161. it do?         now ST(e) compatible allows an all new 3D effect Menu strip 
  162.                to  be  invoked  from  within  any  of  the   ST's/Falcon's 
  163.                2/4/16/256  colour and Trucolour video  modes.  Keeping  to 
  164.                convention  as  much as I possibly can,  the  new  commands 
  165.                follow a very similar syntax to the old STOS Menu commands. 
  166.                This  allows simple conversion of programs using the  older 
  167.                STOS  Menu commands.  This extension also has the  facility 
  168.                for programming 3D effect Alert Dialogs.
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179. --------------------------------------------------------------------------
  180.  
  181. Extension :-   ST(e)/TT/Falcon Gemtext Extension v0.8.
  182.  
  183. Machine   :-   All ST(e), TT 030, Falcon 030 machines.
  184.  
  185. Required  :-   No patch file(s) or other extension(s) required.
  186. patch(s)
  187.  
  188. Commands  :-   Currently over 12, a few are listed below.
  189. available
  190.                gemfont load        gemfont stringwidth
  191.                gemtext init        gemfont cellwidth
  192.                gemtext font        gemfont cellheight
  193.                gemtext color       gemtext scale
  194.                gemtext style       gemfont name$
  195.                gemtext angle       gemtext
  196.                gemtext mode
  197.  
  198. What does :-   The  Gemtext extension provides STOS with the  facility  to 
  199. it do?         use GEM/GDOS fonts (without GEM or GDOS installed even!).
  200.  
  201. IMPORTANT :-   This  extension only supports uncompressed GEM/GDOS  fonts, 
  202.                don't try to use SpeedoGDOS fonts - they are NOT  supported 
  203.                and will most certainly cause the machine to crash.
  204.  
  205. --------------------------------------------------------------------------
  206.  
  207. Extension :-   ST(e)/TT/Falcon 030 STARS v1.4
  208.  
  209. Machine   :-   All ST(e), TT 030, Falcon 030 machines.
  210.  
  211. Required  :-   No patch file(s) or other extension(s) required.
  212. patch(s)
  213.  
  214. Commands  :-   Currently 5, a few are listed below.
  215. available
  216.                stars cmds          wipe stars on
  217.                set stars           wipe stars off
  218.                go stars
  219.  
  220. What does :-   This  new (greatly improved) STARS extension provides  STOS 
  221. it do?         with  the facility to setup multilayered starfields and  is 
  222.                now compatible on ST(e) , TT and Falcon machines.
  223.  
  224.                A  little while ago in late(ish)  1997,  Chris  Swinson,  a 
  225.                registered user of my STOS-Falcon extension suite mentioned 
  226.                that it would be nice to have a starfield on the Falcon  in 
  227.                a  similar fashion to the ST(e) using the STARS  extension. 
  228.  
  229.                I already had Lee Upcraft's STARS extension installed on my 
  230.                Falcon so I thought why not - let's have a shuffty with  it 
  231.                and see how it behaves on the Falcon. This new extension is 
  232.                the result.  This extensively modified version of the STARS 
  233.                extension  is based upon  Lee Upcraft's  original code  and 
  234.                remains  compatible  with the  ST/STe and keeps  the  exact 
  235.                same command set.  OK, so what's new in the ST(e)/TT/Falcon 
  236.                030 Stars extension? Well the improvements are as follows;
  237.  
  238.  
  239.                                Continued...
  240.  
  241.                1)   The  upper  limit on the number of  'stars'  has  been 
  242.                     increased from 200 to 512.
  243.  
  244.                2)   Works in the Falcon's 16/256 colour video modes  (when 
  245.                     used  in conjunction with my STOS - Falcon  Extensions 
  246.                     Suite of course) - the Falcon's TRU-Colour mode is not 
  247.                     yet supported by this extension.
  248.  
  249.                3)   Commands  remain fully backwardly compatible with  the 
  250.                     original  STARS  extension  and  still  works  on  the 
  251.                     ST/STE.
  252.  
  253.                4)   My modified version uses the LINE_A routines (and  the 
  254.                     Blitter  chip when available) and now erases ONLY  the 
  255.                     area  bounded  by the  SX,SY,EX,EY  coordinates.  This 
  256.                     means  that it is now possible to display the  'stars' 
  257.                     inside  a  spaceship window for example and  to  erase 
  258.                     only  that window and therefore unnecessary to  redraw 
  259.                     the whole screen.
  260.  
  261. --------------------------------------------------------------------------
  262.  
  263. Extension :-   Falcon 030 GRAFIX (III) Extension v0.2
  264.  
  265. Machine   :-   ST(e)/Falcon 030 machines.
  266.  
  267. Required  :-   WINDO102.BIN [STOS interpreter library file]
  268. patche(s)      WINDO102.LIB [STOS compiler library file]
  269.  
  270.                SPRIT101.BIN [STOS interpreter library file]
  271.                SPRIT101.LIB [STOS compiler library file]
  272.  
  273.                The patches listed above contain support routines which the 
  274.                Falcon  030  GRAFIX (III) extension calls for most  of  its 
  275.                functions.
  276.  
  277. What does :-   ST(e)  users should also take note of this extension  which 
  278. it do?         is responsible for the printing of STOS characters and  the 
  279.                drawing of graphics on the Falcon's 16/256 colour and TRUE-
  280.                COLOUR  screen.  A quick summary of the commands is  listed 
  281.                below:
  282.                             Printing commands
  283.                             =================
  284.  
  285.                     _falc pen                _falc print
  286.                     _falc paper              _falc locate
  287.                     _falc xcurs              _stosfont
  288.                     _falc ycurs              _charset addr
  289.                     _falc multipen status    _stos charwidth
  290.                     _falc multipen on        _stos charheight
  291.                     _falc multipen off
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.                                Continued...
  300.  
  301.                Although, strictly speaking this extension was specifically 
  302.                written  for the Falcon 030,  ST(e) users may find this  an 
  303.                invaluable  asset.  How  many times for  example  have  you 
  304.                wished  you  could use multi-coloured  STOS  characters  on 
  305.                screen?  With  the _falc multipen command this is not  only 
  306.                possible but also very easy! See the following example;
  307.  
  308.                100 _falc pen 5 : _falc paper 0 : STEP=1
  309.                110 _falc multipen on STEP
  310.                120 _falc print "A"
  311.                130 _falc multipen off
  312.  
  313.                In the above example the string "A" is output to the screen 
  314.                with each of the characters scanlines in the colours:-
  315.  
  316.                Character Scanline       Colour index
  317.  
  318.                      *****         Colour #5 (initially set by _falc pen).
  319.                     **   **        Colour #6 (_falc pen colour+STEP)
  320.                     **   **        Colour #7
  321.                     **   **        Colour #8      and so on .....
  322.                     *******        Colour #10
  323.                     **   **        Colour #11
  324.                     **   **        Colour #12
  325.  
  326.                In  simple terms the pen colour index is incremented  after 
  327.                the output of each scanline of the character.
  328.  
  329.                              Drawing commands
  330.                              ================
  331.  
  332.                This  is where this extension really becomes  useful.  With 
  333.                these  commands/functions we can utilise the  Falcon  030's 
  334.                16/256 colour and Tru-colour video modes.
  335.  
  336.                     _falc ink                _falc plot
  337.                     _falc draw mode          _falc line
  338.                     _def linepattern         _falc box
  339.                     _def stipple             _falc bar
  340.                     _get pixel               _falc polyfill
  341.                     _falc polyline           _falc contourfill
  342.                     _falc circle             _falc ellipse
  343.                     _falc earc               _falc arc
  344.  
  345.                These  drawing commands are only compatible with the  video 
  346.                hardware  of the Falcon 030 [even in the  ST  compatibility 
  347.                modes]. Any attempt to use them on non-Falcon machines will 
  348.                result in an error report - 'Command/Function not supported 
  349.                by the video hardware'.
  350.  
  351.                Using  the above commands we can now draw real graphics  in 
  352.                the Falcon's 2/4/16/256 colour and TRUE-COLOUR video modes. 
  353.                Unless   specifically  stated  otherwise,   all   of   this 
  354.                extensions commands are compatible with the Falcon 030's ST 
  355.                compatibility resolutions.
  356.  
  357. --------------------------------------------------------------------------
  358.  
  359.                             End of this doc'.
  360.  
  361.