home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / reference / amiga_mail_vol1 / program / swforall < prev    next >
Text File  |  1990-01-26  |  6KB  |  148 lines

  1. (c)  Copyright 1989 Commodore-Amiga, Inc.   All rights reserved.
  2. The information contained herein is subject to change without notice, and 
  3. is provided "as is" without warranty of any kind, either expressed or implied.  
  4. The entire risk as to the use of this information is assumed by the user.
  5.  
  6.  
  7.  
  8.                   Writing Software For All the Amigas
  9.  
  10.                            by Dan Baker
  11.  
  12.      The Amiga 500 and 2000 models are software compatible with the
  13.  Amiga 1000.  The new machines are not just work-alikes.  They even 
  14.  use the same 1.2 Kickstart, version 33180, now in ROM.
  15.  
  16.      The designers of the new machines were very careful to make
  17.  sure that the new features added would not prevent old software from
  18.  working properly.  Despite this, some developers have products for 
  19.  the A1000 which do not work on the A500 or A2000. 
  20.  
  21.  
  22.  MEMORY
  23.  ------
  24.  
  25.  Many developers have expansion memory problems.  The original
  26.  Amiga 1000 comes with 512K of memory which means that ALL Amiga memory
  27.  is "chip" memory.   It is called "chip" memory because the custom chips 
  28.  can only get DMA access to the first 512K of RAM ($00000-$7FFFF).
  29.  
  30.      In contrast, all Amiga 2000s (and many Amiga 500s) have 1 meg of
  31.  memory.  This means that half of memory is good old "chip" memory and
  32.  the other half is "fast" memory - NOT accessible by the custom chips.
  33.  Unfortunately, if you do not specify which kind of memory you want, 
  34.  the DOS will scatter load your program into "fast" memory as long as there
  35.  is "fast" memory available.  Then it will start using "chip" memory.
  36.  
  37.     Because of this, you may find that your program does not work the
  38.  same on the A2000 (or A500) as on the A1000.  Any bit-image or audio
  39.  data defined explicitly in your program must be in chip memory, not
  40.  fast memory.   The program NoFastMem on the A2000 and A500 Workbench
  41.  disks provide a quick fix for this problem.  NoFastMem changes the
  42.  system so that all programs will be scatter loaded into "chip" memory
  43.  first, if it is available.  A better solution is to use ATOM on your
  44.  object files to change the DOS load flags from PUBLIC to CHIP.
  45.  
  46.  
  47.  DRIVES
  48.  ------
  49.  
  50.     Another A2000 problem some developers have discovered is the default
  51.  volume names for the 3.5" drives.  On the A2000, the 2 internal floppy
  52.  drive slots are designated df0: and df1:.  Many users however have only
  53.  one internal drive and use a 1010 external drive as their second floppy.
  54.  In this case the drives will be configured by the system as df0: and
  55.  df2:.  There would be no drive df1:.  This causes problems for programs
  56.  which have made assumptions about the Amiga configuration.  Hard disk
  57.  volume names on the A2000 can cause similar problems.
  58.  
  59.      For a quick fix, you can run the AsssignDev program from Fish
  60.  Disk #79.  This allows you to change the default volume names of the
  61.  drives.  A better solution is to interrogate the system to find out
  62.  which drives are present.  See the Getdisks program in the Amiga Mail
  63.  article "Programming for Portability and Compatability" for more on this.
  64.  
  65.  
  66.  KEYBOARD
  67.  --------
  68.  
  69.  Other developers have problems with the European version of the
  70.  A2000.  Some applications handle keyboard I/O at the lowest level by
  71.  going to I/O registers directly.  Unfortunately, in European versions
  72.  of the A2000, the keyboard processor used is different, so the
  73.  keyboard handshake timing is slightly different and these applications
  74.  do not run right.
  75.  
  76.       There are other keyboard issues to consider.  In the U.S., the
  77.  A2000 and A500 keyboards have 94 keys, 5 more keys than the A1000.
  78.  The extra keys are all on the numeric keypad.  So, five new keycodes
  79.  have been added to the keymap for the A2000 and A500.  Other than this
  80.  the keymaps are the same.
  81.  
  82.       In Europe, this is not the case.  The European A2000 and A500
  83.  have 96 keys.  And their key maps have changed significantly from the
  84.  A1000.  For more on this, see the Amiga Mail article "International
  85.  Keyboard Input".
  86.  
  87.  
  88.  WORKBENCH
  89.  ---------
  90.  
  91. The Workbench for the A2000 and A500 is different than the Workbench for
  92. the A1000.  Here is a brief summary of the changes which may affect
  93. your applications:
  94.  
  95.       1) There are two new commands:
  96.  
  97.            SetClock - sets the real time clock
  98.            and Ask  - allows a script to ask the user
  99.                       a Yes/No question
  100.  
  101.       2) There are 3 new system utilities:
  102.  
  103.            System/NoFastMem    - locks out fast memory.
  104.            System/FastMemFirst - moves C00000 memory last
  105.                                  on the memory list.
  106.            System/InitPrinter -  sends a "Read from Preferences"
  107.                                  command to the printer.
  108.  
  109.  
  110.       3) There are changes in the devs directory:
  111.  
  112.            Printer.device has a new TRUST_ME flag to prevent resets
  113.                during graphic dumps.
  114.            Printer.device no longer crashes on a null printer name.
  115.            All printer graphic waits were retimed to work with PageSetter.
  116.            All printers now support the TRUST_ME flag.
  117.            The extra form feed in the HP Laserjet graphic dump is fixed.
  118.            Parallel.device no longer crashes when LPT1: is run.
  119.            The keymaps have been extensively revised - see the
  120.                July/August 87 Amiga Mail for more info.
  121.  
  122.       4) Other changes:
  123.  
  124.            The clock had the date and mode-change bugs fixed. A new
  125.                digital title bar mode was added.
  126.            The preferences date bug is fixed.  New default preferences
  127.                are: CLI is on, generic printer and fastest mouse speed.
  128.            The start-up sequence now creates a RAM disk and uses
  129.                AddBuffers to speed up disk access.  The real time
  130.                clock is used to set the time, if present.
  131.  
  132.  
  133. DOCUMENTATION
  134. -------------
  135.        
  136.       For a detailed explanation of all the new features of the A2000
  137.  and A500, see the Commodore Amiga A500/A2000 Technical Reference
  138.  Manual available now from CATS.  This manual features over 200 pages of
  139.  current technical information on the two new machines including
  140.  30 pages of schematics.  The cost is $40.00.  Send check or money order
  141.  made out to Commodore Business Machines to:
  142.  
  143.              Commodore
  144.              CATS Orders
  145.              1200 Wilson Dr.
  146.              West Chester PA 19380
  147.  
  148.