home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / arm3detect / Docs < prev    next >
Encoding:
Text File  |  1994-01-18  |  2.6 KB  |  72 lines

  1.  
  2.  • ARM 3 Detection routines  (version 1.00 - 8th September 1993)
  3.    ------------------------
  4.  
  5. • Why?
  6. Some programs (eg. games) need to know whether an Arm3 chip is present.
  7. I saw a version of E-Type that didn't recognise an Arm3, and resulted in
  8. average speeds of well over 400mph! (I don't know if that's been fixed
  9. yet)
  10.  
  11. • Why haven't Acorn produced a detection routine?
  12. They have! But it only works on machines fitted with an Arm3 - making it
  13. slightly less useful than a biodegradeable life raft.
  14.  
  15. • How do I use them?
  16. There are 4 routines, in various languages:
  17. Assembler : a small routine that, when called, sets r0 to 0 if Arm 3 is NOT
  18.             present, or &ffffffff if it IS present.
  19. Basic     : a function that returns TRUE if Arm 3 IS present or FALSE if it
  20.             isn't.
  21. C         : a function that returns TRUE if Arm 3 IS present or FALSE if it
  22.             isn't. (Note that it needs the SWI veneer from Jason Williams
  23.             excellent DeskLib)
  24. Obey      : Sets the system variable Arm3$Present to Yes or No.
  25.  
  26. All except the obey file version actually check whether the Arm3 is
  27. enabled, and if it isn't return as if the Arm3 is not present.
  28.  
  29. • May I use them in my own programs?
  30. Of course you can! These routines may be freely used in any program, PD,
  31. freeware, shareware, commercial, rhubarbware (tm), pizzaware,
  32. postcardware, or any other type of program you like. IT WOULD BE NICE IF
  33. you sent me a free copy of whatever you use it in, or at least put a
  34. thankyou message in the final product, but you don't have to.
  35.  
  36. • Can I give these to all my friends?
  37. So long as you give them all the files included within the archive and
  38. these documents, and so long as you don't alter any files, then yes, you
  39. can give these files to whoever you like (or don't like). The files
  40. which must be in this archive are:
  41.  
  42.           Assembler
  43.           Basic
  44.           C
  45.           Docs
  46.           Obey
  47.  
  48. • Are you sure they'll work though?
  49. No, I'm not. I only have an Arm3 machine to test them on, but I'm pretty
  50. sure about all except the C one. If anyone wants to test all the
  51. routines on Arm2 and Arm3 machines, then please tell me whether they
  52. work or not.
  53.  
  54. • So who wrote them then?
  55. Ainsley M. Pereira (thats Amp or Ampy if you prefer) of ARMFul Software.
  56.  
  57. snail mail: 'Al Sirat'
  58.             Chapel Road
  59.             Swanmore
  60.             Hants SO3 2QA
  61.             ENGLAND
  62.  
  63. netmail   : 2:251/16.50@fidonet.org
  64.  
  65. (or you can contact me on The Digital Databank BBS (0707) 329306, ANSI
  66. 8N1, but the netmail will be faster)
  67.  
  68. Until next time,
  69.        /\
  70.       (--)insley
  71.  
  72. === Where there's a will, there's an inheritance tax. ===