home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17849 < prev    next >
Encoding:
Text File  |  1992-12-28  |  2.6 KB  |  59 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!peora!tous!bilver!alex
  3. From: alex@bilver.uucp (Alex Matulich)
  4. Subject: ASL and GadTools under 1.3 - can this work?
  5. Organization: W. J. Vermillion - Winter Park, FL
  6. Date: Mon, 28 Dec 1992 03:23:15 GMT
  7. Message-ID: <1992Dec28.032315.6457@bilver.uucp>
  8. Summary: A couple of ideas for supporting 1.3 users with 2.0 software
  9. Keywords: 2.0 compatible 1.3 compatibility
  10. Lines: 47
  11.  
  12.  
  13. Hello.  I have an idea about how it might be possible to write software
  14. for AmigaDOS 2.04, that uses 2.0-specific features, and yet still runs
  15. under 1.3, with the same features!.  Someone please tell me if this will
  16. work.  (I'm new to 2.0).
  17.  
  18. Specifically, my application must use many gadgets, of different kinds.
  19. The task of writing this program in a 1.3-compatible way is much too
  20. daunting for me, and I would MUCH rather use the gadtools.library.  I will
  21. also be using the ASL library for a file requester.
  22.  
  23. Neither of these libraries are available under 1.3.  BUT... tell me if
  24. these workarounds will actually work.
  25.  
  26. ASL.library
  27. -----------
  28. This is actually disk-based, so I assume that by merely having the
  29. asl.library file in the LIBS: directory, a 1.3 user can use this library.
  30. The only problem is that I suspect the ASL library makes calls into the
  31. gadtools library....
  32.  
  33. gadtools.library
  34. ----------------
  35. This is in ROM.  My proposal is to link this library at compile time.
  36. I notice that if I use the pragma include files, the linker (SAS 5.10b)
  37. will NEVER link amiga.lib.  If I leave out the pragmas, it gets linked in.
  38. Upon using OML to list the contents of amiga.lib, I notice that it
  39. contains all Amiga functions, including the gadtools.library functions!
  40.  
  41. This would imply that amiga.lib contains duplicates of the 2.0 ROM
  42. functions, and linking it with my software would make my software bigger,
  43. but the extra baggage would be all the 2.0 stuff it needs to run in a 1.3
  44. environment.  I would, of course, provide in my package a "real" 2.0
  45. program without the baggage; the fat prongram would be for 1.3 only.
  46.  
  47. Will this work?  My 1.3 beta testers are clamoring to keep my software
  48. compatible with 1.3.  But I dearly want to use GadToolsBox to design my
  49. user interface, which works only in 2.0.
  50.  
  51. Thanks in advance for any replies.  PLEASE shoot down my suggestions, and
  52. make your own!  This has got to be possible somehow.
  53.  
  54. -- 
  55.  _ |__  Alex Matulich    alex.matulich@oau.org
  56.  /(+__>  Unicorn Research Corp, 4621 N Landmark Dr, Orlando, FL 32817
  57. //| \     UUCP:  alex@bilver.uucp   {peora|ge-dab|uunet!tous}!bilver!alex
  58. ///__)     Internet:  alex@bilver.oau.org | alex%bilver@peora.sdc.ccur.com
  59.