home *** CD-ROM | disk | FTP | other *** search
/ Falcon 030 Power 2 / F030_POWER2.iso / ST_STE / MAGS / ICTARI10.ARJ / ictari.10 / ICTARI.TXT next >
Text File  |  1994-05-16  |  13KB  |  268 lines

  1.  
  2.  
  3.     ICTARI USER GROUP             ISSUE #10                       May 1994
  4.  
  5.          ___   ______     ___       _________   _________   ___
  6.          \__\  \   __\    \  \__    \______  \  \   _____\  \__\
  7.            ___  \  \       \  __\     _____\  \  \  \         ___
  8.            \  \  \  \       \  \      \  ____  \  \  \        \  \
  9.             \  \  \  \_____  \  \____  \  \__\  \  \  \        \  \
  10.              \  \  \       \  \      \  \        \  \  \        \  \
  11.               \__\  \_______\  \______\  \________\  \__\        \__\
  12.  
  13.                      *   m   a   g   a   z   i   n   e   *
  14.  
  15.      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  16.                        I C T A R I   U S E R   G R O U P
  17.        63 Woolsbridge Road, Ringwood, Hants, BH24 2LX   Tel. 0425-474415
  18.      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  19.  
  20.  
  21.                               INDEX FOR ISSUE 10
  22.                               ==================
  23.  
  24.     FOLDER                          SUBJECT
  25.     ¯¯¯¯¯¯                          ¯¯¯¯¯¯¯
  26.     ASSEMBLY       Complete set of floating point arithmetic routines.
  27.                    Routine to read command line text string.
  28.                    The event_multi 'right button' problem solved at last.
  29.                    Twist scroll program, updated version.
  30.  
  31.     C              Boink, a Break-out type game with source code.
  32.                    The event_multi 'right button' problem solved at last.
  33.  
  34.     GFA            Code to read command line on TTP programs.
  35.                    GEM Window handling routines.
  36.                    Colour scroller routines.
  37.                    Corrections to bit maps article (see issue 8).
  38.  
  39.     PASCAL         Pipe monitor. Displays AES messages.
  40.  
  41.     STOS           Moving block puzzle game.
  42.  
  43.     MISC           Atari Explorer Online Programmers Journal  Issue 2.
  44.                    Various GEM bugs discussed.
  45.                    Program to display active GEM/TOS/BIOS/AES/VDI  calls.
  46.                    The LZW and GIF compression algorithms explained.
  47.                    Membership list.
  48.                    Index for issues 1-9.
  49.  
  50.     In next months issue of ICTARI (this may change) :-
  51.  
  52.     ASSEMBLY       Conversion of number to binary string.
  53.                    Conversion of number to hex string.
  54.                    Binary to decimal conversion routine.
  55.                    Decimal to binary conversion routine.
  56.                    Routine to input hex number from keyboard.
  57.                    Chip music playing routines.
  58.                    Auto folder time set routine.
  59.  
  60.     C              GEM Tutorial by J White.  Part 1. Introduction.
  61.                    Porting IBM PC RSC/Doodle to Atari GEM.
  62.                    Floating dialogue library for Lattice C.
  63.  
  64.     GFA            Circles and spheres code.
  65.                    Picture image cutter and saver program.
  66.  
  67.     PASCAL         Program to display boolean expressions as a Karno map.
  68.  
  69.     STOS           Number guessing game that talks to you.
  70.  
  71.     MISC           Blitter Chip manual.
  72.                    Click anywhere title box using Resource File editor.
  73.  
  74.     For future issues :-
  75.  
  76.     Polyline drawing routines in machine code.
  77.     Bezier curve drawing routines.
  78.     Picture decompression routines for IMG, Degas, Tiny, PCX, PAC, etc.
  79.     Picture compression routine for IMG pictures.
  80.     HP DeskJet/LaserJet compression routines (Mode 2 TIFF).
  81.     Using the Xbtimer chip.
  82.     Tutorial for using GEM commands from machine code and C.
  83.     Playing sound samples on non STE machines.
  84.     Picture switching techniques.
  85.     VBL queue information.
  86.     Printer driver code for printing mono/colour images.
  87.     Sprite tutorial and code.
  88.     Complete GFA Basic manual.
  89.  
  90.     -----------------------------------------------------------------------
  91.                                    EDITORIAL
  92.                                    ¯¯¯¯¯¯¯¯¯
  93.     MEMBERSHIP
  94.     ¯¯¯¯¯¯¯¯¯¯
  95.     As a result of  our  adverts  in  MicroMart  magazine  we  have had ten
  96.     enquiries and 4 new  members  so  far.  Please  send  in more MicroMart
  97.     advert pages to us if you don't  need  them.  We have also had four new
  98.     members as a result of other letters sent to various User Groups and we
  99.     would like to welcome them. ST Format  have mentioned the group in this
  100.     months issue of the magazine  which  may  bring  in more members. Total
  101.     membership (excluding the committee) is now 33 members.
  102.  
  103.     We don't like to  keep  nagging  but  were  are  going to anyway. Would
  104.     members who prefer to send  us  a  disk  each  month PLEASE return them
  105.     BEFORE the 10th of next month otherwise it entails a lot of work for us
  106.     in the few days before publication on the 17th. If you decide to cancel
  107.     your membership (heaven forbid) we would appreciate it if you would let
  108.     us know so that we don't waste time  and phone calls trying to find out
  109.     what you want. Also, if  you  do  send  in  a  disk, please put a short
  110.     letter on it for the correspondence  section,  just  a note on what you
  111.     would like to see, not like  to  see, programming problem, etc, etc. If
  112.     we don't get ANY feedback we might  feel that we are not providing what
  113.     members want. Also  we  still  need  programming  articles or routines,
  114.     especially in C, GFA and STOS so  if  you have anything which may be of
  115.     interest to other members, please send it in to us. You can always ring
  116.     us first on the number above if you  are  not sure if it will be of use
  117.     or if it has been done before.
  118.  
  119.     LZW GIF Compression
  120.     ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  121.     On this disk is  a  useful  document  file  explaining  the LZW and GIF
  122.     compression formats. Unfortunately, as far  as  we are concerned, it is
  123.     written in a foreign language, double dutch. Would anybody care to have
  124.     a go at writing some  code  which  can  convert  files  from or to this
  125.     format for general use.
  126.  
  127.     DOCUMENTATION
  128.     ¯¯¯¯¯¯¯¯¯¯¯¯¯
  129.     We are planning a number of tutorial type articles for future issues in
  130.     which diagrams could be used to  explain various points. Obviously with
  131.     a pure ASCII text  file  it  is  very  difficult  to  draw a diagram or
  132.     display a picture and trying to  use  just the ASCII line characters is
  133.     not very  satisfactory.  We  would,  therefore,  like  to  explore  the
  134.     possibility of incorporating images in these document files.
  135.  
  136.     There are two main alternatives :-
  137.  
  138.     1. Use a pure ASCII format for  the  text  as we do now and provide any
  139.     pictures as .IMG files separately so  that  the  reader can make up his
  140.     own printed document using whatever Word-processor/DTP program he uses.
  141.  
  142.     2. Publish the  article  in  a  Word-processor  format  which can store
  143.     images and which all members can  use. Possible programs would be First
  144.     Word Plus, Write-On, Thats-Write, Redacteur  and Calligrapher. Of these
  145.     we would think Calligrapher would be  favourite since it was given away
  146.     free on  the  Atari  ST  Review  cover  disk  (Issue  24)  and  should,
  147.     therefore, be available to most members.  One problem with this program
  148.     is that the printing is abysmally slow, even on our Laser printer.
  149.  
  150.     Would all members please let us know when they send their disk back for
  151.     next months issue or if you  have  already  paid for next month perhaps
  152.     you would drop us a postcard or  ring  us.  If we don't get a unanimous
  153.     decision on any Word-processor we will probably go for option 1.
  154.  
  155.     Incidentally if you send in a text  file and you have access to Protext
  156.     it would help us if you could send  it  to us in Protext format. If you
  157.     don't have Protext then you can  send  it  in ASCII format as usual. We
  158.     try, where possible, to  format  text  files  with  a  4 character left
  159.     margin (so that the print-outs  can  be  stored in ring binders without
  160.     making holes in the text) and with  the  right margin set to 75 so that
  161.     text editors that have a scroll bar on the right side of the screen can
  162.     still show the whole line.
  163.  
  164.     TWIST SCROLL PROGRAM
  165.     ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  166.     In issue 9 we provided a Twist  Scroll program (in M/C) which failed to
  167.     work on  machines with more than 1Mb  of memory and Ian Hancock (alone)
  168.     kindly fixed it to work  properly.  We  have  included it again in case
  169.     anyone would like to use it and, perhaps, to improve it still further.
  170.     -----------------------------------------------------------------------
  171.                                 CORRESPONDENCE
  172.                                 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  173.     To *.*
  174.     From Peter Hibbs
  175.  
  176.     Does anyone have any information on writing CPX accessory programs (for
  177.     XCONTROL) in machine code. There  were  a  number published on a recent
  178.     cover disk which were quite useful but  some were in German and I think
  179.     it  would  be  useful  to  write   some  additional  ones.  The  'Atari
  180.     Compendium' book does have a shell CPX  program  but  it is all in C, a
  181.     machine code version of this would be handy, if it is possible.
  182.     -----------------------------------------------------------------------
  183.     To *.*
  184.     From Ian Hancock [morf]
  185.  
  186.     QUESTION: Is anyone interested  in  a  program  which converts spectrum
  187.     emulator SNAP (SNA) files back  into  sound  signals for recording onto
  188.     tape. These can then be loaded  back  into  the spectrum !!! If you are
  189.     let ICTARI know and I'll send  in  the  code  -  Oh yeah it's STE ONLY.
  190.     Currently it won't convert snaps which use  IM 2 on the speccy. I don't
  191.     know why at the moment either :  By  the  way the code is VERY untidy -
  192.     I'm pretty ashamed of it. Just wondered ?
  193.     -----------------------------------------------------------------------
  194.     To *.*
  195.     From Steve Gale
  196.  
  197.     I am writing a simple text editor  in  machine code (Hi Rez) which uses
  198.     the normal mouse arrow cursor AND  the VT52 flashing block text cursor.
  199.     The problem is that whenever the  mouse  cursor  is moved over the text
  200.     cursor the text cursor block gets corrupted until it is moved. Is there
  201.     any way of avoiding this or will I have to write my own cursor flashing
  202.     routine and if so how.
  203.     -----------------------------------------------------------------------
  204.     To ICTARI
  205.     From Kevin Preece
  206.  
  207.     Have you considered  advertising  in  ST  Applications,  a magazine for
  208.     serious users, published by the ST Club.
  209.  
  210.     */ We have sent STA details of ICTARI and they have promised to publish
  211.     a full page article about the group sometime. ICTARI /*
  212.     -----------------------------------------------------------------------
  213.     To *.*
  214.     From Dick Teuber
  215.  
  216.     I would like to write a program which  uses a Resource File but I don't
  217.     want it as a  separate  file  on  the  disk.  Does  anyone  know how to
  218.     incorporate the .RSC file within a program in C or machine code.
  219.     -----------------------------------------------------------------------
  220.     TO: Nick Bates
  221.     FROM: Ian Baker
  222.  
  223.     > Everyone  wants  to   make   sure   their   programs  are  compatible
  224.     with other  machines and  all  TOS  versions,   does  anyone  have  any
  225.     general rules to follow in order to ensure compatibility - particularly
  226.     with the Falcon ?
  227.  
  228.     Your program should either be a full  GEM application or use text only,
  229.     otherwise it will not work with MultiTOS.
  230.  
  231.     Get the screen size from the VDI,  do  not assume it is a standard size
  232.     and do not use Getrez().
  233.  
  234.     Our Family  Tree  program  worked  unchanged  on  the  Falcon  and with
  235.     SpeedoGDOS. It needed a change for  MultiTOS  due to a silly mistake in
  236.     programming, when  -1  was  passed  instead  of  1.  Standard  TOS only
  237.     recognised 0 and not  0,  whereas  -1  meant  something  to MultiTOS, a
  238.     function extension we did not mean to call.  Check  parameters  to  O/S
  239.     calls.
  240.  
  241.     Generally the compatibility is excellent.
  242.  
  243.     TO: All
  244.     FROM: Mark Baker
  245.  
  246.     The  article  on   Pexec   was   interesting,   but  incomplete.  Under
  247.     MiNT/MultiTOS  six more modes were added.
  248.  
  249.     Modes 100, 104 and 106 work  like  modes  0,  4 and 6 respectively, but
  250.     asynchronously (ie. multitasking). I can't remember now how you get the
  251.     child's return value since obviously Pexec returns before the child
  252.     finishes.
  253.  
  254.     Modes 200, 204 and 206 work like modes  0, 4 and 6 respectively but are
  255.     for overlays, they remove your program from memory and run the new one.
  256.     Therefore they never return.
  257.  
  258.     However if you intend to write programs for MultiTOS the shel_write AES
  259.     call has been extended - it  now  works  for  one  thing - and launches
  260.     programs correctly, with TOS programs  under  miniwin or toswin and GEM
  261.     programs running as if launched from the desktop.
  262.  
  263.     */ Thanks for the update, if  anyone  has more info on writing programs
  264.     that are compatible  with  the  modern  Operating  Systems  we would be
  265.     pleased to hear about them.  ICTARI /*
  266.     -----------------------------------------------------------------------
  267.                               +++ End of file +++
  268.