home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / utility / megmatic / megmatic.doc < prev    next >
Encoding:
Text File  |  1987-12-11  |  22.4 KB  |  444 lines

  1.  
  2.           
  3.           
  4.                                MEGA-Matic  (v1.11)
  5.                                     (c) 1987
  6.  
  7.                                  T.I.F. Software
  8.                                   a division of
  9.                               T&L Enterprises, Inc.
  10.                               3826 W. Missouri Ave.
  11.                              Phoenix, Arizona  85019
  12.  
  13.                           Author: Lloyd E. Pulley, Sr.
  14.  
  15.  
  16.  
  17.  
  18.                Disclaimer of Warranty and/or Liability
  19.                (aka..if anything goes wrong, it ain't my fault)
  20.  
  21.              Try  It First Software (hereafter known as  TIF  Software) 
  22.           makes  no warranty,  either expressed or implied,  as to  the 
  23.           usability of the enclosed programs, the documentation and any 
  24.           other related items.
  25.  
  26.              TIF  Software  will  not  be held  liable  for  direct  or 
  27.           incidental  damages resulting from any defect or omission  in 
  28.           these  programs or the documentation.   These  programs  have 
  29.           been  tested  thoroughly  but TIF Software can  not  be  held 
  30.           liable if it doesn't work on your system.
  31.  
  32.              MegaMatic has been tested to run on the 520 ST,  1040  ST, 
  33.           Mega ST2 and the Mega ST4.   It works on an all floppy system 
  34.           and on a system with hard drives.  It works on the older roms 
  35.           and  the  new ones.   It works with or  without  the  blitter 
  36.           installed.  I've even tested it on a 1040 ST that was running 
  37.           2 1/2 megs and the new roms.  But that doesn't mean it'll run 
  38.           on  your system.   Long ago I reached a conclusion that  "all 
  39.           ST's are not created equal".
  40.  
  41.              The  documentation  and programs included  in  this  arced 
  42.           file,  are copyrighted by TIF Software.   These programs  are 
  43.           NOT public domain, they are shareware.
  44.  
  45.              Since  MegaMatic is shareware,  please feel free  to  make 
  46.           copies of these programs for you,  your users groups,  BBS's, 
  47.           ect.   But  please,  make sure that you include  these  files 
  48.           everytime  you distribute it.  There is nothing that  I  hate 
  49.           worse,  than  not  getting  all the files needed  to  make  a 
  50.           program perform properly.
  51.           
  52.                MEGMATIC.PRG
  53.                CONFIG.PRG
  54.                MEGMATIC.DOC
  55.  
  56.              As I said earlier, MegaMatic is shareware.  If you like it 
  57.           and  use it,  send TIF Software a few bucks.   If  you  don't 
  58.           like, let us know why.
  59.  
  60.              Now, on to the good stuff.
  61.           
  62.           
  63.           
  64.                                     Page -1-
  65.           
  66.           
  67.  
  68.                Introduction
  69.                (or "where did I come up with this idea")
  70.  
  71.              When  I first bought my ST,  I didn't know anything  about 
  72.           the AUTO folder and how to use it.   But before too  long,  I 
  73.           had 5-6 programs in my AUTO folder that 'I just had to have'.  
  74.           Between these 5-6 programs and 3-4 accessories, it was taking 
  75.           forever to boot up my computer (even with a hard drive).   So 
  76.           to make life easier (and faster),  I decided to take the best 
  77.           ideas from each of these 'AUTO programs' and incorporate them 
  78.           into one program.
  79.  
  80.              The first problem that I ran into was that I HATE 'all-in-
  81.           one' programs.   Usually there was only 1 or 2 parts of these 
  82.           'all-in-one'  programs  that I used.   All the  rest  of  the 
  83.           program  (along with my computers memory) was wasted.   So  I 
  84.           decided  to make MegaMatic a 'all-in-one' program  where  the 
  85.           USER (that's you!) could decide what parts of it THEY  wanted 
  86.           to use.  In other words, much of MegaMatic is configurable by 
  87.           the user.   The parts that are not configurable (listed later 
  88.           in the docs) do not take up any memory after boot  up.   Once 
  89.           they do their job, they disappear from the computers memory.
  90.  
  91.              Also,  I HATE AUTO programs that 'asks questions' and then 
  92.           sits there until the user gives an input.   I want to be able 
  93.           to  turn  on my system and go do anything I want and  when  I 
  94.           come back,  it's all up and ready to go.  MegaMatic at bootup 
  95.           has  two  areas where it asks for user input (more  on  these 
  96.           later).  At each spot, MegaMatic will wait for approximately. 
  97.           1 second for an input.   If no input is  received,  MegaMatic 
  98.           will then continue on and just use the default input.
  99.  
  100.              Since I don't know C,  Pascal or Modula,  I was forced  to 
  101.           write  MegaMatic in pure 68000 assembly code (it  was  either 
  102.           that  or  GfA Basic).   MegaMatic was written  with  HiSoft's 
  103.           DevPac  Editor/Assembler.   Since  MegaMatic was  written  in 
  104.           68000  code,  you'll find it short (less than 4k)  and  fast.  
  105.           Also, once MegaMatic has been booted and is running,  it only 
  106.           takes 1k of your precious memory to run (that does not  count 
  107.           the memory needed for the ramdisk or print spooler however).
  108.  
  109.              To  make  the program user configurable,  I also  wrote  a 
  110.           CONFIG.PRG that goes along with MegaMatic.   You HAVE to  use 
  111.           the CONFIG.PRG on MegaMatic before using MegaMatic.  (more on 
  112.           CONFIG.PRG later)
  113.           
  114.  
  115.  
  116.                 How to install Mega-Matic
  117.                 (or "if you don't follow instructions, don't blame me")
  118.  
  119.              ALWAYS make a backup of all the files before attempting to 
  120.           use any of them.
  121.  
  122.              MEGMATIC.PRG  HAS to be configured with CONFIG.PRG  before 
  123.           using i⇧ij≡p≡pנננננננננננננÉ⑧⑧⓪⇧Æ@çäÿOôß⇦OüÇOêOéüÇOüâêOß⇧ÉOêÇ⇧ëê⇦נêé⇦ä⇧ijננבä⇦äéO≡pננננננננננê⇩⇦AננîÇ⇧ננÆOנâÄêOנüÇOÇÇOÇ⇨Ä⇧נä✓P7ø⓪⓪:42çτijij⇦⇩gτij⇦⇩A'°8gτττττττττו⇦גאD⇩⇩$⇩'τו⇩D'τהD⇦@⇩D'א⇦'τijIJג⇩gτבא@⇦⇩G'τij$IJ⇦A⇦⇩ ╱⇧וD⇦⇩'°8mporarily configured  to 
  124.           different   sizes.    During  the  first  pass   (see   above 
  125.           paragraph), MegaMatic will display a prompt................
  126.                'Input:'
  127.           for  about  a second.   If you temporarily need  a  different 
  128.           sized ram disk from your normal one, all you have to do press 
  129.           certain  keys and the system will re-configure the  ram  disk 
  130.           size  for you.   This size will last through resets and  will 
  131.           only disappear when you power down.
  132.           
  133.           Here's  the  keys that you can press to  change  the  ramdisk 
  134.           size.   (remember,  all these sizes will be less 24k for  the 
  135.           'overhead')
  136.              1 - 128k        2 - 192k        3 - 256k        4 - 320k
  137.              5 - 384k        6 - 448k        7 - 512k        8 - 576k
  138.              9 - 640k        0 - 704k      ESC - 768k    SHIFT - 832k       
  139.  
  140.           (for you math types, just add 1 to the number and multiply by 
  141.           64)
  142.           
  143.                  The   resettable  ram  disk  is   configurable   (with 
  144.           CONFIG.PRG) as to which drive identifier that you want it set 
  145.           up as.   Your choices will be C-P.  I always use P for my ram 
  146.           disk  because  I haven't ever found anything else  that  uses 
  147.           that drive letter.   The only program that ever had  problems 
  148.           with  my  ram  disk  as drive P  was  DCopy.   He  uses  some 
  149.           nonstandard figuring and uses drive P as a printer drive.  So 
  150.           if you use DCopy,  you might not want to use P as your  drive 
  151.           indentifier.
  152.           
  153.           
  154.           
  155.                                     Page -3-
  156.           
  157.  
  158.              2)  PRINT SPOOLER **
  159.                  MegaMatic also gives you a configurable print spooler.  
  160.           This  print  spooler can be configured in size  from  16k  to 
  161.           144k.   (In  the CONFIG.PRG you just enter a value from  1-9.  
  162.           MegaMatic then figures the print spooler size by  multiplying 
  163.           16k times the figure you inputted.
  164.           
  165.                  If while printing, you want to stop the print spooler, 
  166.           just  press the CNTL/SHIFT/ALT-0 keys (the '0' is the one  on 
  167.           the keypad,  not at the top of the keyboard) all at the  same 
  168.           time.   This will zero out the print buffer.  If you've got a 
  169.           print  buffer in your printer,  this won't stop the  printing 
  170.           until your printers buffer is empty.
  171.  
  172.              3)  Disk VERIFY On/Off
  173.                  This feature allows you to turn the disk write  verify 
  174.           off or leave it on (on is the system default).   You'll  find 
  175.           your disk writes are speeded up with VERIFY off.   NOTE:   Be 
  176.           careful if you have VERIFY turned off.   Some drives can give 
  177.           bad writes if there is no VERIFY on.  You'll usually know how 
  178.           dependable your drives are.
  179.  
  180.              4)  WHICH DRIVES
  181.                  MegaMatic  will display which drives are connected  to 
  182.           the system at powerup (including ram disk).
  183.  
  184.              5)  SCREEN SAVER **
  185.                  A  screen saver will turn your screen 'off'  (turn  it 
  186.           black  on color systems,  reverse colors on mono)  if  you've 
  187.           left  your  system unattended for a certain period  of  time.  
  188.           Once you touch the mouse or a key,  the screen will return to 
  189.           normal.  This is supposedly to stop the monitors  from  being 
  190.           'burned  in'  by displaying the same screen for  hours  at  a 
  191.           time.
  192.           
  193.                  This  screen saver will work on either color  or  mono 
  194.           systems.  You  can configure (using CONFIG.PRG) how long  the 
  195.           system  will  wait before it turns the screen saver  on  (2-9 
  196.           minutes).
  197.           
  198.                  I like my screen saver to keep 'flipping'.  Going from 
  199.           off to on to off to on...etc.  I use it as a timer as well as 
  200.           a  screen saver.   When I see the screen go dark,  I  know  7 
  201.           minutes  have passed (my default) and when I see it  go  back 
  202.           normal again,  I know another 7 minutes have passed.  You can 
  203.           configure  the screen saver to 'flip' or just stay dark  with 
  204.           the CONFIG.PRG.
  205.  
  206.              6)  FREE RAM
  207.                  This  feature displays the total memory of the  system 
  208.           and how much memory is free after booting up.   This does not 
  209.           include  the memory used by accessories or other auto  folder 
  210.           programs booted up after MegaMatic.
  211.  
  212.              7)  MEMORY CHECK **
  213.                  Does a two pass memory check (a fast and a slow memory 
  214.           check), every time you boot up the system.
  215.           
  216.           
  217.           
  218.           
  219.           
  220.           
  221.                                     Page -4-
  222.           
  223.  
  224.              8)  AUTO DESK **
  225.                  This   feature  allows  for  the   automatic   desktop 
  226.           selection  of  either a low,  medium or high res  desktop  at 
  227.           bootup (LOWDESK.INF, MEDDESK.INF and HIGHDESK.INF).
  228.           
  229.                  MegaMatic  looks to see which monitor you're using  at 
  230.           boot up and if you're using a mono monitor,  it will boot  up 
  231.           the mono .INF file (HIGHDESK.INF).   If you're booting up  in 
  232.           color,   MegaMatic  automatically  chooses  the   MEDDESK.INF 
  233.           (medium res).   You can choose to go into low res at  powerup 
  234.           by simply pressing any key when you see the following prompts 
  235.           displayed  during MegaMatic's second pass (see  paragraph  in 
  236.           ram disk section describing the two passes)............
  237.                          'Hooking in Auto-Desktop selector'
  238.                          'Installing  '
  239.           After the word 'Installing',  MegaMatic will wait for a short 
  240.           period of time for a keypress.   If it see's it, it'll bootup 
  241.           the  LOWDESK.INF file.   If no key is pressed,  it'll  bootup 
  242.           MEDDESK.INF.
  243.           
  244.                  To create each file, you simply go to the res that you 
  245.           want,  set  the desktop up how you want it and then save  the 
  246.           desktop.  Just rename the DESKTOP.INF file to name needed (in 
  247.           low res - LOWDESK.INF,  in med res - MEDDESK.INF and in  high 
  248.           res - HIGHDESK.INF)
  249.  
  250.              9)  COLD/WARM RESET
  251.                  Once  I  got my Mega,  I found out that was  a  'major 
  252.           pain' to get to the RESET and ON/OFF switch on it (not one of 
  253.           Atari's better ideas).   And with the incompatibility of some 
  254.           programs  on the Mega,  I found myself needing the RESET  and 
  255.           ON/OFF  button more than ever.   So I added two  special  key 
  256.           combinations  that would allow me to do a warm or cold  start 
  257.           from the keyboard.  Here's the two key combinations..........
  258.           
  259.                  ALT/SHIFT/CNTL-*  (the '*' is  the one on  the  keypad 
  260.                  only) will give you a cold start (POWER OFF)
  261.                  ALT/SHIFT/CNTL-.  (the '.' is  the one on  the  keypad 
  262.                  only) will give you a warm start (RESET)
  263.           
  264.           
  265.           
  266.           
  267.           
  268.           
  269.           
  270.             
  271.           ** If  you  don't  want  this  feature,   you  can  configure 
  272.           MegaMatic so that it won't be attached.
  273.           
  274.           
  275.           
  276.           
  277.           
  278.           
  279.           
  280.           
  281.           
  282.           
  283.           
  284.           
  285.           
  286.           
  287.                                     Page -5-
  288.           
  289.  
  290.                How to use the CONFIG.PRG
  291.                (or "aren't we done yet?")
  292.  
  293.              As stated earlier,  you HAVE to use the CONFIG.PRG  before 
  294.           using  MegaMatic.   All  the  defaults are  set  to  zero  in 
  295.           MegaMatic until CONFIG.PRG sets them.
  296.  
  297.              I didn't make CONFIG.PRG too smart,  so makêOäz¨2É:40´⓪⓪4´⓪╱à⓪⓪⓪⓪⓪⓪⓪⓪⓪⓪0Ã2  MegaMatic  are on the same directory (they can be  in  a 
  298.           folder  as  long as both programs are in  the  same  folder).  
  299.           Also,  there is minimal error trapping done.  Any errors will 
  300.           run  through  one of two routines,   either  the  READ  error 
  301.           routine or the WRITE error routine.  If you make any mistakes 
  302.           or  just  want to quit CONFIG.PRG at any time,  I  put  in  a 
  303.           'panic' key.  Just press the ESC key at any time and you will 
  304.           be sent back to the desktop without anything happening.
  305.  
  306.              When  you  double-click  on  the  CONFIG.PRG  name,  it'll 
  307.           automatically load in a file called MEGMATIC.PRG.   MegaMatic 
  308.           HAS  to  be named this or CONFIG.PRG  won't  load  it.   Then 
  309.           CONFIG.PRG  will check to make sure that the correct  version 
  310.           of MegaMatic has been loaded.   (This version is  1.1x.   The 
  311.           last  digit is not checked.   It's just there to let me  know 
  312.           which  revision you have)  Also,  you CAN configure the  same 
  313.           version  of MegaMatic over and over  again.   The  CONFIG.PRG 
  314.           automatically  sets all the defaults back to zero  when  it's 
  315.           loaded into memory.
  316.  
  317.              You'll  be asked a series of questions concerning how  you 
  318.           want MegaMatic configured.   If you've read the  descriptions 
  319.           above, the questions are all pretty much self-explanatory (if 
  320.           you haven't,  you should).   After you answer each  question, 
  321.           you'll then be prompted with a "Correct?   <Y>es  <N>o".   If 
  322.           you want to redo your answer,  just press 'N' and  CONFIG.PRG 
  323.           will take you back through the question so you can answer  it 
  324.           again.   A  'Y' will take you to the next question.   If  you 
  325.           later decide that you configured one of the earlier questions 
  326.           wrong,   don't  worry.   Before  CONFIG.PRG  will  write  the 
  327.           MEGMATIC.PRG back out to disk,  it'll ask you "Is  everything 
  328.           correct?  <Y>es <N>o".   At that point, you can press 'N' and 
  329.           you'll  start all over again.   Pressing 'Y' will  write  the 
  330.           modified  MEGMATIC.PRG back to disk and take you back to  the 
  331.           desktop.
  332.  
  333.              A special note.   Do to CONFIG.PRG's limited intelligence, 
  334.           when you are entering the size for your ram disk, you'll have 
  335.           a choice of entering 2-32 (2*64k=128k  ramdisk,  32*64k=2048k 
  336.           ramdisk).   If  you're  entering a one  digit  number  (2-9), 
  337.           you'll  have to press RETURN when done.   You don't  have  to 
  338.           press RETURN for a two digit number.
  339.           
  340.           
  341.           
  342.           
  343.           
  344.           
  345.           
  346.           
  347.           
  348.           
  349.           
  350.           
  351.           
  352.                                     Page -6-
  353.           
  354.  
  355.                Final comments
  356.                (or "it looks like we're almost done!")
  357.  
  358.              MegaMatic  has  been  tested for several  months  with  no 
  359.           noticeable  bugs  but  there is no doubt  in  my  mind,  that 
  360.           someone out there is going to find one.   If they do,  let me 
  361.           know.   Tell  me  how your system is  configured,  what  AUTO 
  362.           programs you're running, what accessories that you're running 
  363.           and what happened when you had the problem.  I'll try to test 
  364.           the  problem out if possible (I don't have all  the  programs 
  365.           available for the ST though).
  366.  
  367.              The only two programs that I've had any problems with are:
  368.  
  369.              PUBLISHING PARTNER - On the Mega ST ONLY. If you have both 
  370.           the  print spooler AND the screen saver configured to be  ON, 
  371.           Publishing  Partner  will  give you garbage  on  the  screen.  
  372.           HOWEVER,  there is no problem on the 520/1040 ST's NO  MATTER 
  373.           which rom's you're using.   It has to be something to do with 
  374.           either  the  hardware in the Mega or the blitter  chip  (even 
  375.           though  I've tried it with the blitter OFF) because I had  no 
  376.           problem with a 1040 ST that was running 2 1/2 meg and the new 
  377.           roms.
  378.  
  379.              NEO-CHROME - You'll get some slight flicker at the  bottom 
  380.           of  the  screen.   They  must  be  using  some  of  the  same 
  381.           interrupts  that  MegaMatic uses and the timing  is  slightly 
  382.           off.
  383.  
  384.              
  385.              Remember,  this is Share Ware.  If you like it and use it, 
  386.           send  TIF  Software  a donation (none  too  small,  none  too 
  387.           large).   People  that  send donations will get  upgraded  to 
  388.           future  versions free.   (Future versions will NOT  be  Share 
  389.           Ware and will NOT be allowed to be freely distributed.
  390.  
  391.              Lloyd E. Pulley
  392.              MADMODIFIER - Delphi
  393.              LEPULLEY    - Genie
  394.           
  395.           
  396.                Acknowledgments
  397.                (or "without these people, it wouldn't have got done)
  398.           
  399.              I'm a converted 6809 programmer.   This was my first major 
  400.           programming test on the 68000.  Many things were very similar 
  401.           to  the 6809 and other things were radically  different  (the 
  402.           6809  don't  have  any 'cmp.b #3,#0(a1,d2)'  type  of  code).  
  403.           Also,  the  68000  is serious about  the  difference  between 
  404.           address and data registers, the 6809 isn't.
  405.           
  406.              Without  the following people's assistance,  I'd still  be 
  407.           trying to figure out how to get this program to work.
  408.           
  409.           Dan L. Moore (author of PaperClip)
  410.           Charles F. Johnson (programmer, reviewer and musician)
  411.           Mat Ratcliff (programmer and reviewer for Analog)
  412.           Dave Mumper  (author of TINYVIEW/TINYSTUFF........without his 
  413.                         help and code, I'd never got the keyboard reset 
  414.                         routine done)
  415.           and  all the others who put out fine p/d software that I  was 
  416.           able to get ideas from.
  417.           
  418.           
  419.           
  420.           
  421.           
  422.           
  423.           
  424.           
  425.           
  426.           
  427.           
  428.           
  429.           
  430.           
  431.           
  432.           
  433.           
  434.           
  435.           
  436.           
  437.           
  438.           
  439.           
  440.           
  441.           
  442.                                     Page -7-
  443.  
  444.