home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / introduc / 1581 < prev    next >
Encoding:
Text File  |  1992-11-22  |  34.5 KB  |  789 lines

  1. Newsgroups: comp.sys.amiga.introduction
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!lindblat.cc.monash.edu.au!ins739l
  3. From: ins739l@lindblat.cc.monash.edu.au (William Fang)
  4. Subject: MONTHLY POSTING: Frequently Asked Questions and Answers V2.6.4
  5. Message-ID: <1992Nov23.081401.22332@monu6.cc.monash.edu.au>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: Monash University
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. Date: Mon, 23 Nov 1992 08:14:01 GMT
  10. Lines: 777
  11.  
  12.  
  13. ----------8<----------8<----------8<----------8<----------8<----------
  14.  
  15. MONTHLY POSTING: Frequently Asked Questions and Answers V2.6.4(August 1992)
  16.  
  17.           ** Last Changed: August 4, 1992 **
  18.  
  19. This article contains a list of frequently asked questions and
  20. answers. It is posted by me every month in
  21. comp.sys.amiga.introduction.
  22.  
  23. Pay attention to the version number of this article. It indicates what
  24. kind of changes are made to the contents compared to the previous
  25. posting.
  26.  
  27. First number changed:
  28.     New questions and answers added.
  29. Second number changed:
  30.     Answers to existing questions changed or updated.
  31.  
  32.  
  33. If you have suggestions about this article, feel free to mail them to
  34. me so I can improve this document.  You can reach me by e-mail:
  35. 10667547@eng2.eng.monash.edu.au
  36. kroddos@yoyo.cc.monash.edu.au
  37.  
  38. I'd like to thank the following people for their contributions:
  39. Kent Paul Dolan(xanthian@zorch.sf-bay.org)
  40.     For sending several parts of information for this article.
  41. Richard Gering(rgering@mentor.com)
  42. Edwin Hoogerbeets(ehoogerbeets@watyew.uwaterloo.ca)
  43. Mic Kaczmarczik(mic@emx.utexas.edu) UT Austin Computation Center
  44. Jerry J Trantow(trantow@csd4.csd.uwm.edu)
  45. Joe Smith(jms@tardis.tymnet.com)
  46.     For his article in c.s.a.games about display modes, I used.
  47.     And for his description of the Amiga's RAM Modes.
  48. Dan Zerkle(zerkle@iris.eecs.ucdavis.edu)
  49. Peter Kittel(cbmvax!cbmger!peterk@uunet.UU.NET)
  50.     For the part about driving printers in AmigaBasic.
  51. Leon Oninckx(rcleon@bs.win.tue.nl)
  52.     For info on Amiga manuals.
  53.  
  54.                   DISCLAIMER
  55. Use the information in this posting at your own risk and cost.
  56. All opinions expressed are mine, not necessarily those of my employer.
  57.  
  58.  
  59. ----------8<----------8<----------8<----------8<----------8<----------
  60.  
  61.           You can find answers to the following questions
  62.  
  63.                  HARDWARE
  64. 1.1.  Why does my battery backup-ed clock not work properly?
  65. 1.2   What are the 8520's?
  66. 1.3.  What hardware is broken and can I repair it myself?
  67. 1.4.  During a boot or RESET the screen changes. What does this mean?
  68. 1.5.  Can I replace the 68000 with an 68010 to get a higher performance?
  69. 1.6.  What is the difference between the A2000 and the B2000?
  70. 1.7.  What is the difference between al these kinds of memory?
  71. 1.8.  What is done upon boot time?
  72. 1.9.  What display modes are there?
  73. 1.10. How do I connect a trackball instead of a mouse to my amiga?
  74. 1.11. Can I change the speed of my battery-backup-ed clock?
  75.  
  76.                  SOFTWARE
  77. 2.1.  Who is Fred Fish and what are the AmigaLibDisks?
  78. 2.2.  What is CATS and how do I become a developer?
  79. 2.3.  What are RKM's?
  80. 2.4.  How do I controll a printer from AmigaBASIC?
  81.  
  82.                    COMMUNICATION
  83. 3.1.  How can I exchange disks between a UNIX system and the AMIGA?
  84. 3.2.  How can I ftp by mail?
  85. 3.3.  What file transfer protocols are there for a modem?
  86. 3.4.  In what forms can files be transferred if I load them with my modem?
  87. 3.5.  How does ftp work and what is the contents of several sites?
  88.  
  89.                    2.0 QUESTIONS
  90. 4.1   Is there any questions on 2.0?
  91. 4.2   What software does not run under 2.0?
  92.  
  93.                    OLD QUESTIONS
  94. 5.1.  On boot time on an AMIGA 2000 the first key pressed isn't read.
  95.  
  96.  
  97.  
  98.  
  99.              Answers about HARDWARE questions.
  100.  
  101.      1.1.     Why does my battery backup-ed clock not work properly?
  102.  
  103. Symptoms:      1. Clock is several minutes/hours early/late.
  104.            2. Clock is RESET to first day of the AMIGA's life.
  105.            3. Clock can't be read from and written to.
  106.  
  107. The battery backup-ed clock draws its power during power-off of the AMIGA
  108. from a small NiCd-battery.  There are two often occuring reasons for the
  109. strange behaviour of the clock:
  110.  
  111.      1. The battery is (almost) empty. This should normally only happen
  112.      after a very long power-off of the AMIGA. (Several weeks/months.)
  113.      2. The battery is old and can't supply the clock with the voltage or
  114.      current it needs to operate properly.
  115.  
  116. To solve the problem in the first case you should turn your AMIGA on for
  117. several hours to allow the battery to recharge. After this you can set the
  118. setclock command and everything should work OK.
  119.  
  120. The solution in the second case is to have the battery checked and replaced
  121. by your AMIGA dealer.
  122. In the third case your computer might be infected by a virus that puts some
  123. date in the Clock memory that makes it no longer respond. If you execute
  124. the command:
  125.            setclock reset
  126. everything should work normal again. NB. Use the setclock from your
  127. Workbench V1.2, the V1.3 version might not work always.
  128.  
  129.      1.2.    What are the 8520's?
  130.  
  131. The 8520 is a chip inside the AMIGA. In the 500/1000/2000 there are two of
  132. them. They are custom chips of the company that designed and built the
  133. AMIGA.
  134.  
  135.      1.3.    What hardware is broken and can I repair it myself?
  136.  
  137. Symptoms:      Printer doesn't work properly anymore.
  138.            Audio sampler produces one constant or random values.
  139.            Modem doesn't work properly anymore.
  140.            Joy-sticks seem not to be working.
  141.  
  142. All the previous mentioned devices are driven by the two 8520's in your
  143. AMIGA. These are very delicate chips and history has proven that they are
  144. very fragile. It might well be the case that one of them is broken. You can
  145. check this by exchanging them inside your AMIGA. (They are both socket-ed.)
  146. ONLY do this (Opening the AMIGA isn't allowed during the guarantee period!)
  147. if you know what you are doing. If exchanging does make a difference one of
  148. them is broken and you can replace the broken chip by a new one. You can
  149. buy them only at certain places eg. at your dealer. They cost about $10,-
  150. $15,- a piece.
  151. If you don't want to repair the machine yourself, bring your computer to a
  152. qualified repair company.
  153.  
  154.      1.4.    During a boot or RESET the screen changes. What does this
  155.      mean?
  156.  
  157. To indicate problems detected within the hardware, the screen is changed to
  158. one of the following colours: [See also question 1.9..]
  159.  
  160.     Colour     Diagnostic
  161.       dark gray    Hardware OK
  162.       light gray   Software OK
  163.       blue         Bad Custom Chips
  164.       green        Bad CHIP RAM
  165.       red          Checksumerror ROM (Bad ROM)
  166.       yellow       exception before a GURU-meditation could be given
  167.  
  168.      1.5.    Can I replace the 68000 with an 68010 to get a higher
  169.      performance?
  170.  
  171. Yes, in general you can replace the 68000 with an 68010. It is an operation
  172. that needs to be done with care because they are large chips and aren't
  173. very easy to get out/in the socket.
  174. NB Don't put the 68010 in the socked the wrong way around!
  175. Don't expect to much performance increase. Only programs with a lot of
  176. calculation might run a bit faster but the overall performance increase
  177. will be less than 5%.
  178.  
  179. Because of bad programming there are several programs that will stop
  180. running when you are using a 68010. Keep this in mind.
  181.  
  182.         List of known programs that won't run with an 68010
  183.         Silkworm IV
  184.         Populous I 
  185.             [Send updates to presto!faq@uunet.uu.net]
  186.  
  187.      1.6.    What is the difference between the A2000 and the B2000?
  188.  
  189. Commodore in Braunschweig (Germany) has built the A2000 based on the AMIGA
  190. 1000. They added the slots and 512 KBytes RAM. This was done in order to
  191. allow an XT-card inside the computer.
  192. Later Commodore developed the B2000 which was based on the new hardware
  193. also used in the AMIGA 500. It has 1 MByte of RAM and is prepared for 1
  194. MByte of CHIP RAM.
  195.  
  196. Although the B2000 is different from the A2000, both are called Amiga-2000.
  197. (Or even A2000.)  Both have the same case but are completely different
  198. inside. Also, from a software point of view small differences might be
  199. discovered.
  200.  
  201.      1.7.    What is the difference between al these kinds of memory?
  202.  
  203. These are the most common terms used that have to do with memory:
  204.  
  205. AutoConfig RAM = Expansion RAM that automatically identifies itself when
  206. the Amiga is booted.  It is designed to fit into the 8-meg address space
  207. between 0x200000 and 0x9FFFFF, and usually comes in 2-meg, 4-meg, or 8-meg
  208. sizes.  Memory boards for the A2000 are AutoConfig RAM.  NonAutoconfig RAM
  209. needs to be made available, which is usually done with programs like AddMem
  210. and AddRAM. With these you are telling the OS where in the addressing space
  211. the memory board can be found.
  212.  
  213. Fast RAM = Anything that is not Slow RAM.  This includes both Autoconfig
  214. RAM and 32-bit RAM.  Fast RAM is out of range of the Amiga's custom chips
  215. and can only be accessed by the Amiga's CPU.  Programs run faster when the
  216. executable code is loaded into Fast RAM, since the 68000 CPU is not
  217. competing with the custom chips.
  218.  
  219. Chip RAM = Memory that can be accessed by the Amiga's custom chips.  All
  220. graphics images (screens, windows, sprites, etc) must be in Chip RAM to be
  221. displayed.  Likewise, all audio samples must be in Chip RAM to be played.
  222. On the original Amiga, only the first 512K bytes of memory could be
  223. accessed by the custom chips.  Newer A500 and A2000 systems come with 1 meg
  224. of Chip RAM, and the A3000 can be upgraded to 2 meg of Chip RAM.
  225.  
  226. Slow RAM = Alias for Chip RAM.  Anytime the custom chips need to access
  227. Chip RAM, they have priority over the CPU's access to that memory.  In
  228. particular, displaying a hi-res screen of 640x400x16-colors will lock out
  229. the CPU about 80% of the time.
  230.  
  231. Slow-Fast RAM (aka C00000 RAM) = An unfortunate side effect in the original
  232. A500 and A2000 implementations.  They came out with a "Fat Agnus" that only
  233. knew how to talk to 512K, even when 1 meg of memory was installed.  This
  234. 2nd 512K was like Fast RAM in that it could not be used for graphics and
  235. sound, however, it was just as slow as Chip RAM.  The A501 RAM/Clock card
  236. for the A500 is Slow-Fast RAM on a machine without the "1-meg Agnus".
  237.  
  238. 32-bit RAM = High speed memory mounted on a 68020 or 68030 processor
  239. upgrade board.  It also applies to the Fast RAM on the A3000 motherboard,
  240. and memory boards conforming to the Zorro-3 specification.  It allows the
  241. 32-bit CPU to access 32-bit quantities in a single memory cycle, instead of
  242. as two 16-bit cycles.  Since one cycle is faster than two, the 68020 or
  243. 68030 CPU runs faster if it has 32-bit RAM available.  In most cases, 32-
  244. bit RAM cannot be accessed by A2000-compatible DMA devices (such as disk
  245. controllers) because Zorro-2 boards are limited to 24 address bits.
  246.  
  247. Expansion RAM = Additional memory, either AutoConfig RAM or AddMem RAM.
  248.  
  249. FastMemFirst = A program that optimizes things on an Amiga with a
  250. combination of Chip RAM, AutoConfig RAM, and Slow-Fast RAM.  It rearranges
  251. a system list such that when a program tries to allocate memory (and does
  252. not explictly ask for Chip RAM or Fast RAM), the memory will be allocated
  253. from Expansion RAM in preference to Slow-Fast RAM.  It keeps things running
  254. faster longer.
  255.  
  256. AddMem RAM = Expansion RAM that is not known to the Amiga until the AddMem
  257. (or similar) program is run.  Most memory boards for the A1000 are AddMem
  258. RAM, since the AutoConfig process was not defined when the A1000 came out.
  259.  
  260.      1.8.    What is done upon boot time?
  261.  
  262. The following things are done: [See also question 1.4..]
  263.          Clear Chips
  264.          Disable DMA and Interrupts
  265.          Clear the Screen
  266.          Check the Hardware
  267.          Pass or fail the Hardware to the Screen
  268.          Checksum the ROMs
  269.          Pass or fail the ROMs to the Screen
  270.  
  271.  
  272.          System setup
  273.          Check the for RAM at $C00000
  274.          Move SYS_BASE to $C00000 if it exists
  275.          RAM Test
  276.          Pass or fail the RAM to the Screen
  277.          Check the Software
  278.          Pass or fail the Software to the Screen
  279.          Set up the RAM
  280.          Link the Libraries
  281.          Find External RAM and link it to the list
  282.          Set up Interrupts and DMA
  283.          Start default Task
  284.          Check for 68010, 68020, and 68881
  285.          Check for an Exception
  286.          System Reset
  287.  
  288.      1.9.    What display modes are there?
  289.  
  290.       Mode              NTSC      PAL     E HF   #C
  291.       Lores           320x200  320x256    - 15K   32 4096
  292.   Lores-ExtraHalfBrite    320x200  320x256    * 15K   64 4096  (restricted)
  293.     Lores-HAM         320x200  320x256    - 15K 4096 4096  (restricted)
  294.       Hires           640x200  640x256    - 15K   16 4096
  295.        Super-Hires        1280x200 1280x256   + 15K    4   64  (35 ns)
  296.     Lores-Interlaced      320x400  320x512    - 15K   32 4096
  297.   Lores-EHB-Interlaced    320x400  320x512    * 15K   64 4096  (restricted)
  298.   Lores-HAM-Interlaced    320x400  320x512    - 15K 4096 4096  (restricted)
  299.     Hires-Interlaced      640x400  640x512    - 15K   16 4096
  300.  Super-Hires-Interlaced   1280x400 1280x512   + 15K    4   64  (35 ns)
  301.      VGA-ExtraLores       160x480  160x480    + 31K   32 4096
  302.     VGA-Lores         320x480  320x480    + 31K   16 4096
  303.       Productivity        640x480  640x480    + 31K    4   64
  304. VGA-ExtraLores-Interlaced 160x960  160x960    + 31K   32 4096
  305.   VGA-Lores-Interlaced    320x960  320x960    + 31K   16 4096
  306.  Productivity-Interlaced  640x960  640x960    + 31K    4   64
  307.        A2024-10Hz         1008x800 1008x1024  - sp.    4   16  (gray)
  308.        A2024-15Hz         1008x800 1008x1024  - sp.    4   16  (gray)
  309.  
  310. Notes:
  311.      - E stands for Enhanced Chip Set (new Agnus + Denise)
  312.      - HF stands for Horizontal Frequency.
  313.      * Some early A1000's did not have ExtraHalfBrite. It is easy to
  314.      upgrade.
  315.      * The 2nd 32 colours of EHB mode are restricted. They are the same as
  316.      the first 32 colours with the red, green, and blue values reduced to
  317.      one half.
  318.      * HAM mode (Hold And Modify mode) allows all 4096 colours to be
  319.      displayed, but has restrictions affecting adjacent pixels of differing
  320.      colours.
  321.  
  322.      1.10.   How do I connect a trackball instead of a mouse to my amiga?
  323.  
  324. With some modifications you can connect a trackball to your amiga to
  325. replace the mouse. There is a list with changes for the following
  326. trackballs:
  327. Atari 2600 trackball          Wico trackball
  328. If you don't have FTP access feel free to send e-mail to
  329. blgardne@javelin.sim.es.com (Blaine Gardner), he is the "keeper
  330. of the trackball hacks" and can send you (t)his list by e-mail.
  331. Make sure to give him a working '@' style (Internet) address.
  332.  
  333.      1.11.   Can I change the speed of my battery-backup-ed clock?
  334.  
  335. Yes you can, on the printed circuit board is a small trimmer (Usually
  336. yellow) that changes the clock-speed of the battery-backup-ed clock. Turn
  337. it slightly to change the clock speed.
  338. NOTE: This voids warranty, so only do this if you know what you are doing!
  339.  
  340.              Answers about SOFTWARE questions.
  341.  
  342.      2.1.    Who is Fred Fish and what are the AmigaLibDisks?
  343.  
  344. The AmigaLibDisks are disks with public-domain software and shareware
  345. programs (If possible with sources.) assembled by Fred Fish.  It is the
  346. largest set of public-domain disks available for the AMIGA. You can find
  347. hundreds of utilities and games on these disks often with their sources
  348. included.
  349. The contents of these disks can be found on the same sites mentioned in the
  350. following paragraph, in the magazine Amazing Computing and with the
  351. Aquarium database program (FishDisk #559)
  352. These disks are available from Fred Fish (See postings in
  353. comp.sys.amiga.announce.)  and are available by anonymous ftp on the
  354. following sites:
  355.        Name                  Address            Directory            Disks
  356. ux1.cso.uiuc.edu              128.174.5.59     amiga/fish/f#/ff***   (ff#001-700)
  357. nic.funet.fi                  128.214.6.100    /pub/amiga/fish       (ff#001-ff700)
  358. gatekeeper.dec.com            16.1.0.2         /pub/micro/amiga/fish (ff#000-ff680)
  359.  
  360.      2.2.    What is CATS and how do I become a developer?
  361.  
  362. CATS stands for Commodore Applications and Technical Support.
  363. (CATS) provides technical support to Amiga developers.  This is provided
  364. through a number of channels, including network suppport, phone support for
  365. commercial developers, and technical documentation.
  366.  
  367. CATS-Admin
  368. 1200 Wilson Drive
  369. West Chester, PA  19380
  370.  
  371. Ask for information on the developer support program if you want to become
  372. an developer.
  373. There are two developer levels, both require that you be working on a
  374. product that you believe will make it to market.
  375. Developer status includes a subscription to AmigaMail (our technical
  376. newsletter), access to beta software, access to developers conferences, and
  377. access to closed conferences on BIX.  Commercial status also includes phone
  378. support.
  379.  
  380.      Certified Developer, $75/year, no phone support, no other
  381.      requirements.  $25 signup cost.
  382.  
  383.      Commercial Developer, $450/year, phone support, requires that you have
  384.      an existing product on the market. $50 signup cost.
  385.  
  386.      2.3.    What are RKM's?
  387.  
  388. RKM stands for ROM Kernel Reference Manual. The RKM's are part of a serie
  389. of books describing the Amiga's Hardware and OS Software in detail. You can
  390. buy (or order) them in any bookstore.
  391.  
  392.      Amiga Hardware Reference Manual
  393.     Third Edition - 512 pages - ISBN 0-201-56776-8
  394.      Amiga ROM Kernal Reference Manual:  Includes And Autodocs
  395.     Third Edition - 1000 pages - ISBN 0-201-56773-3
  396.      Amiga ROM Kernal Reference Manual:  Devices
  397.     Third Editon - 512 pages - ISBN 0-201-56775-X
  398.      Amiga ROM Kernal Reference Manual:  Libraries
  399.     Third Edition - 960 pages - ISBN 0-201-56774-1
  400.      Amiga User Interface Style Guide
  401.     224 pages - ISBN 0-201-57757-7
  402.  
  403. All these books are published by Addison-Wesley.
  404.  
  405.      2.4.    How do I controll a printer from AmigaBASIC?
  406.  
  407. There are two ways the Amiga Operating System can access a printer:
  408. a) via the printer driver you selected in Preferences
  409. b) directly via the (parallel or serial) port driver without any
  410.    driving software inbetween.
  411. What does the printer driver in case a)? Two things: It translates the
  412. special Amiga characters to character codes (plus control sequences) which
  413. this 'special' printer understands, and secondly it translates all other
  414. control sequences (for bold print, underline, but also for all graphics
  415. output) to the language your printer speaks. Those control sequences for
  416. bold print and those things are standardized on the Amiga, they are called
  417. "ANSI sequences", and you should find them in an appendix of your user
  418. manual (as well as in the official documentation, the ROM Kernel Manuals.
  419. See question 2.3..). The idea behind this is that any application program
  420. on the Amiga uses these ANSI sequences as standards, and as soon there is a
  421. printer driver available for your special printer, all these applications
  422. can use this printer. So the application programmer does not need to
  423. provide hundreds of printer drivers with his program, but can simply build
  424. on ONE standard.
  425. How does all this affect AmigaBASIC? Well, the normal command to access a
  426. printer is the LPRINT statement. This uses method a), the printer driver.
  427. Thus it can talk to any printer of the world, if it comes with a printer
  428. driver. But it only "understands" ANSI control sequences, and NOT those
  429. escape sequences you find in your printer manual! LPRINT has also a not so
  430. nice feature: If you have once used it in one program execution, then the
  431. printer channel is occupied by it and can't be freed unless you END the
  432. program regularly. (If your program breaks, it's a good idea to give an END
  433. command by hand in the Output Window to reset this printer channel; else
  434. every following access would result in an error.)
  435.  
  436.         So, the first recommendation is: DO NOT USE LPRINT!
  437.  
  438. But what else? You can access the printer in two ways: as device named
  439. "PRT:" (like LPRINT via printer driver, but you can CLOSE it properly), or
  440. as device "PAR:" (or "SER:", if connected to the serial port), where no
  441. driver program gets into your way. You use the printer in this way if:
  442. 1. Output of normal text
  443. OPEN "PRT:" FOR OUTPUT AS 1:PRINT#1,"your stuff": .. :CLOSE 1 This way you
  444. are sure that every character is translated to the printer's alphabet (you
  445. know we Germans have those umlauts...).
  446. 2. Output of standard control sequences (ANSI) Just like in 1., but with
  447. those CHR$(27);"[1m"; like commands.  You need no extra OPEN to separate
  448. this from normal text output.
  449. 3. Output of printer-own control sequences (Generally try to avoid this
  450. whereever you can, because this program will be restricted to be used only
  451. on this very brand of printer and will fail on any other one!)  If the
  452. printer channel is already open from 1. or 2.:
  453. CLOSE 1 : OPEN "PAR:" FOR OUTPUT AS 1 :  PRINT#1,CHR$(27);..; : .. : CLOSE
  454. 1
  455. So, unlike the examples in the printer manuals, use PRINT# instead of
  456. LPRINT!  If your printer is connected to the serial port, use "SER:"
  457. instead of "PAR:" (plus make sure you have set up the serial interface
  458. properly in Preferences).
  459.  
  460.           Answers about COMMUNICATION questions.
  461.  
  462.      3.1.    How can I exchange disks between a UNIX system and the AMIGA?
  463.  
  464. The most common [and only?] way to exchange floppies between a UNIX machine
  465. and the AMIGA is by writing them in MS-DOS format.
  466.  
  467. Programs and utilities for this are:
  468.  
  469. UNIX utilities:
  470.      MTOOL          (Available via anonymous ftp at:)
  471.       Name              Address                   Directory
  472.    gatekeeper.dec.com    16.1.0.2        pub/comp.sources.misc/*11/*mtools/*
  473.    cerl.cecer.army.mil   129.229.1.101   pub/mtools/* [Version 2.0.3]
  474.      Usage:
  475.      1) Log into a SUN 3/80 or SPARCstation and add the directory of mtools
  476.      to your path:
  477.             set path = ($path [path to mtools]) ; rehash
  478.      or                 PATH=$PATH:[path to mtools]
  479.  
  480.      2) Insert a floppy into the drive. To format the disk at high-density
  481.      and install an MS-DOS file system on it, type:
  482.             mkdfs -f -h
  483.      If you want to use a low-density 720K disk instead (what you normally
  484.      want if you use if for AMIGA conversion), type:
  485.             mkdfs -f
  486.      You only need to put a file system on the disk the first time you use
  487.      it as an MS-DOS diskette; you definitely want to reformat the disk if
  488.      it has previously been used for another filesystem.
  489.  
  490.      3) To copy files to and from a formatted and initialized floppy, use
  491.      the mcopy program. For example, to copy the files file1, file2, and
  492.      file3 to the root of the MS-DOS file system on the floppy, type:
  493.             mcopy file1 file2 file3 a:/
  494.      To copy a single file on the MS-DOS floppy to your Unix directory,
  495.      type:
  496.             mcopy a:/file1 .
  497.      The data in the file is copied AS-IS, with no format translation; you
  498.      can use the -t option to mcopy to translate text files into the MS-DOS
  499.      notion of a text file, and vice versa.
  500.  
  501.      4) You can use the mdir command to list files on the MS-DOS floppy
  502.             mdir
  503.  
  504.      5) You can also remove files
  505.             mdel mdsos-filename
  506.  
  507.      6) To eject the disk, type:
  508.             eject [Not part of mtools but a SUNOS command.]
  509.  
  510.  
  511. AMIGA utilities:
  512.      Dos2dos:           (Available as a commercial product)
  513.      CrossDos:          (Available as a commercial product US$40)
  514.  
  515.      This product allows you to mount drives as MSDOS and Amiga format and
  516.      recognizes either. Comes with some TextFilters and other utilities.
  517.  
  518.      MSH(messydos):     (Available on FishDisk #382)
  519.  
  520.      This is a utility that gives you the needed files and programs so you
  521.      can add a device to your Mountlist which makes any floppy drive use-
  522.      able with MS-DOS formatted disks.
  523.  
  524.      3.2.    How can I ftp by mail?
  525.  
  526. If don't have ftp access you can send mail to a special server that
  527. processes the ftp commands in your mail message and sends you back the
  528. result, also in mail messages.  For an explanation send mail to:
  529.  
  530.            FTPMAIL@decwrl.dec.com
  531. With a subject line containing the text Help. This will send you
  532. information.  Place the word help in the body of the message.
  533.  
  534.      3.3.    What file transfer protocols are there for a modem?
  535.  
  536. The absolutely simplest way for an executable file to come to you is in
  537. raw, binary mode, exactly the file you want to execute. This is most
  538. unusual. Normally they are converted [See question 3.6..].
  539. To download such a file, you have to start getting concerned with the
  540. method you use to download it, called the protocol, since many (most)
  541. communications lines are not directly capable of transporting a raw binary
  542. file. (They tend to use some of the possible bit combinations as control
  543. signals for the line software and hardware.)
  544.  
  545. Here are some protocols your terminal program may support: ASCII, xmodem,
  546. ymodem, zmodem, umodem, kermit. (There are others.)
  547.  
  548. ASCII protocol is used to transmit only printable characters. The eight
  549. bits that form a character can represent decimal integer values from zero
  550. to two hundred fifty five. The printable ones are the ones from 32 (space)
  551. to 126 (tilda), plus the codes for tab, newline, and carriage return (the
  552. latter only in older systems). This won't work for raw binary data, whether
  553. your executable files or other kinds of binary.
  554.  
  555. The x,y,z,u-modem protocols are a family of ever more capable protocols,
  556. which are capable (with some tricks you can ignore) of transmitting all 256
  557. possible character values. One, xmodem, is not especially good for
  558. transmitting executable Amiga programs, though. It is left over from the
  559. days of the old CP/M operating system, when all files were allocated in
  560. blocks of 128 bytes (characters), with a special code in the last block at
  561. the correct point after the last data character (byte) to indicate the end
  562. of file, and junk after that mark filling out the rest of the block. This
  563. extra junk makes the Amiga executable program loader program "sick",
  564. because it does "scatter loading" (puts parts of programs in parts of
  565. memory that don't necessarily "touch"), and it tries to interpret the junk
  566. (it doesn't know about the old CP/M file format) as scatter loading
  567. instructions. This problem with xmodem can be one of the reasons a file you
  568. download doesn't "work" after it is downloaded.
  569. The next difficulty can come because these programs are written to do file
  570. transfers among both MS-DOS and Unix computers. It happens that, for
  571. printed text, many older systems, including the IBM-PC MS-DOS ones, use two
  572. characters (carriage return, line feed) to indicate the end of a line,
  573. while newer systems, including Unix and AmigaOS, use a single character
  574. (now called "newline", but the same code as the old line feed) to indicate
  575. the end of a line. To "simplify" transferring text files, the x,y,z,u-modem
  576. and kermit transfer protocols automatically translate the two characters to
  577. the one character when copying files between certain systems, and this
  578. translation is the _default_ operation of these protocols. In each one, to
  579. transfer an archive (below) or an executable file, you have to do whatever
  580. is appropriate to the protocol to specify *binary* or *image* transfer
  581. mode.
  582.  
  583.      3.4.    In what forms can files be transferred if I load them with my
  584.      modem?
  585.  
  586. To make it easier to transfer files they might be stored in special ways.
  587. For example with only printable characters. (For ASCII transfer.)  More
  588. often several program are packed together in a special large archive to be
  589. able to transfer them in one go.
  590.  
  591. Because so many older communications systems had trouble transferring raw
  592. binary data, there are a couple of ways to translate raw binary files into
  593. (bigger) printable files, move the printable files from computer to
  594. computer until at the destination or the next host above it, and then
  595. translate the printable data back to raw binary data. There are two common
  596. translation pairs:
  597.                uuencode <-> uudecode
  598.                    btoa <-> atob
  599. you will rarely see the latter, even though it is a few percent more
  600. efficient.
  601.  
  602. You can recognize a uuencoded (and now printable) file, often embedded in a
  603. larger file such as a news article, by a first line like:
  604.  
  605.                 begin nnn filename
  606.  
  607. where "nnn" is some three digit octal number for the Unix file protection
  608. bits to apply to the back-translated raw binary file, and "filename" is the
  609. name the file should have when it is translated back to binary. Sometimes
  610. there are two lines ahead of this one with the keyword "table" and some
  611. characters that require special care when transporting a file from ASCII
  612. machines to EBCDIC (IBM mainframe) machines, but again, except for
  613. including it in what you pass to the uudecode program, you can ignore this
  614. most times.
  615.  
  616. Where the uuencoded file is not part of a larger file, it will almost
  617. always have a name ending in either "uu" or "uue" (depending on a minor
  618. difference in which flavor of uuencode is used to create it - ignorable);
  619. more on this below.
  620.  
  621. Three other considerations affect the way you find a file packaged.  First,
  622. files contain lots of "redundant" information, which causes them to take up
  623. a larger than necessary amount of storage space and transfer time. So
  624. called "compression" programs attempt to squeeze files into less space
  625. using various tricks. In almost every case, the output is a smaller, raw
  626. binary file which is not executable. Common programs used to compress files
  627. that you might want to transfer to the Amiga for your use are:
  628.  
  629.               compress <-> uncompress
  630.                     arc
  631.                     zoo
  632.                     lha
  633.                    lharc
  634.                   lhwarp
  635.                   pkazip
  636.                 
  637.  
  638. Second, files often occur in groups, which should be kept together, such as
  639. the source, documentation, executable, icon, data, and control files for
  640. the same program. Many archive methods exist to group many small files into
  641. one larger file. Ones you are likely to encounter trying to get software to
  642. your Amiga are:
  643.  
  644.                   shar <-> unshar
  645.                     arc
  646.                     zoo
  647.                     lha
  648.                    lharc
  649.                   lhwarp
  650.                   pkazip
  651.  
  652. Third, groups of files often have some (tree shaped) file structure, just
  653. like the directory of your disk, which you would like to preserve from
  654. where the files are packaged in an archive to where they are unpackaged for
  655. use. Archive methods that can recreate a directory structure that you will
  656. encounter are:
  657.  
  658.             shar <-> unshar (sometimes)
  659.                     zoo
  660.                     lha
  661.                    lharc
  662.                   pkazip
  663.     lhwarp (it actually packages a whole floppy disk trackwise)
  664.  
  665. Moreover, combinations of the various packaging methods can be used; among
  666. the most common combinations are:
  667.  
  668. FILES -> uuencode -> shar -> TRANSFER -> unshar -> uudecode -> USE
  669.  
  670. FILES -> shar -> compress -> TRANSFER -> uncompress -> unshar -> USE
  671.  
  672. FILES -> arc -a -> uuencode -> TRANSFER -> uudecode -> arc -x -> USE
  673.  
  674. FILES -> zoo a -> uuencode -> TRANSFER -> uudecode -> zoo e// -> USE
  675.  
  676. FILES -> lharc a -> uuencode -> TRANSFER -> uudecode -> lharc x -> USE
  677.  
  678. Normally, shar files have names ending in .sh, compressed files in .Z,
  679. compressed uuencoded files in .Z.uu (or .Z.uue), arced files in .arc, arced
  680. uuencoded files in .arc.uu, (or rarely .auc), zooed files in .zoo, zooed
  681. uuencoded files in .zuu, lharced files in .lzh, lharced uuencoded files in
  682. lzh.uu, lhwarped files in .lzw, and pkazipped files in .zip.
  683.  
  684. Since the uuencoded file includes the other file's name, sometimes the
  685. compound names like .arc.uu are not used and just .uu is used instead.
  686. So if you have one of the news articles with a uuencoded file in it, your
  687. first step, on your host system, is to edit it and cut off the news article
  688. header and any introductory material, and any signature file at the end. If
  689. the file was published in several news articles (many comp.binary.amiga
  690. file archives are), you have to trim the trash off all the articles, then
  691. join the files that result into one file. On a Unix system, this is done by
  692. saying something like:
  693.      cat filename1 filename2 filename3 > wholefilename.uu
  694. while on an Amiga, this would be done by saying:
  695.      join filename1 filename2 filename3 as wholefilename.uu
  696. instead.
  697.  
  698. When you have a file that starts with (the optional table and) a begin
  699. line, and ends with an end line, you can then say, on a Unix system:
  700.      uudecode wholefilename.uu
  701. and it will create a file with whatever name and permissions are on the
  702. begin line, while, if you have the Amiga uudecode program, it works just
  703. the same, but the permissions are ignored (they're wrong for an Amiga).
  704.  
  705. While if the file was instead a shar file, you would have started with:
  706.      unshar filename
  707. perhaps after trimming off the news header depending upon how clever your
  708. unshar program is. This is the usual way to do the comp.sources.amiga
  709. articles.
  710.  
  711. If you are still on your host system, you will either have, if uudecoding,
  712. created (normally) a .zoo or .lzh file, or, if unsharing, created a
  713. (subdirectory tree) of files. If the latter, and your host site has zoo or
  714. the Unix lharc patched for the Amiga, get in the top directory created
  715. by/from the shar, and say either:
  716.      find * -print | zoo aI somefilename.zoo
  717. or
  718.      lharc aA *
  719. to make respectively a .zoo or .lzh archive of all the files.
  720.  
  721. Transfer it to your machine using one of y,z,umodem or kermit, in binary
  722. mode.
  723.  
  724. Use the zoo or lharc program from the directory/disk where you want the
  725. program files to live, like
  726.      zoo e// pathtofile/somefilename.zoo
  727. or
  728.      lharc -x -m x pathtofile/somefilename.lzh
  729. (for files packed on a Unix system, or
  730.  
  731.      lharc -a -x -m x pathtofile/somefilename.lzh
  732. for files packaged on an Amiga).
  733.  
  734. You can find all of the programs and documentation for them on the Fred
  735. Fish public domain software collection. [See question 2.1..]
  736.  
  737.      3.5.    How does ftp work and what is the contents of several sites?
  738.  
  739. For an explanation of ftp(1) see the UNIX manualpages. The basic operations
  740. are:
  741.   o 128.174.5.59 [Make connection with host 128.174.5.59]
  742.   [asks for Name]anonymous
  743.   [asks for passwd/Here you should type your e-mail address]myname@mysite
  744.   binary [For transfering programs etc.]
  745.   ls [Directory contents]
  746.   cd newdirectory
  747.   get filename [Copy the file to your machine.]
  748.   close [End the connection with the other machine.]
  749.   bye [Exit ftp.]
  750.  
  751. Remember that anonymous ftp is a service, use it only during off-work hours
  752. or during week-ends.
  753.  
  754. A list of anonymous ftp sites with their contents is regularly posted in
  755. comp.misc.
  756.                    2.0 QUESTIONS
  757.      4.1     Is there any questions on 2.0?
  758.  
  759. Well 2.04 has been out now for awhile.  If you have anything to add to this
  760. section please send me mail and let me know.
  761.     
  762.      4.2     What software does not run under 2.0?
  763.  
  764. This is a list of programs that do not run under AmigaDos 2.0.
  765. If you have any to add to this list, please send the name of the
  766. program to presto!faq@uunet.uu.net.  
  767.  
  768. Include the version number of the program, the version number on
  769. AmigaDos, the machine and CPU the program fails on.
  770.  
  771. 1.
  772.  
  773.                    OLD QUESTIONS
  774. These are questions that I think have out lived there usefulness.  Any 
  775. question found in this section will have a life span of just over 2 months.
  776. If you think I have added a question that does not belong here let me 
  777. know and I will put it back in the list.
  778.  
  779.      5.1.    On boot time on an AMIGA 2000 the first key pressed isn't read.
  780.  
  781. This can be caused by the fact that the computer thinks that a special key
  782. is being held down. E.g. CTRL or LEFT-A, in the last case the m and n
  783. (LEFT-A n and m swap screens.) won't work. This can be solved by pressing
  784. the CTRL or LEFT-A key yourself.
  785. To permanently solve the problem it might be needed to adjust the computer
  786. hardware. (Cutting two capacitors on the motherboard.)  Your dealer should
  787. be able to help you with this.
  788.  
  789.