home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11489 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  3.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!cbmvax!mks
  2. From: mks@cbmvax.commodore.com (Michael Sinz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Please crash my machine (was Re: Correct number to use as VERSION)
  5. Message-ID: <33242@cbmvax.commodore.com>
  6. Date: 22 Jul 92 16:20:16 GMT
  7. References: <50339@dime.cs.umass.edu> <paulk.0oy8@terapin.com> <1992Jul13.193348.1@vaxr.llnl.gov> <1992Jul14.155112.9967@rz.uni-karlsruhe.de> <mykes.0920@amiga0.SF-Bay.ORG>
  8. Reply-To: mks@cbmvax.commodore.com (Michael Sinz)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 61
  11.  
  12. mykes@amiga0.SF-Bay.ORG (Mike Schwartz) writes:
  13. >In article <1992Jul14.155112.9967@rz.uni-karlsruhe.de> ry53@rz.uni-karlsruhe.de (Angela Schmidt) writes:
  14. >> In article <1992Jul13.193348.1@vaxr.llnl.gov>, yurick@vaxr.llnl.gov writes:
  15. >>
  16. >> |> I would gladly give up a little extra room on
  17. >> |> my disk or hard-drive, if a program was written with ALL of the
  18. >> |> potential users in mind.
  19. >>
  20. >> You won't loose any bytes - except one single byte in your sourcecode
  21. >> since you have to replace 0L by 33L. That's all. But I think we should
  22. >> give up: They'll NEVER get it. Let them use 0L if they think that's a
  23. >> good style. We've told them the better way, but if they don't believe
  24. >> us...
  25. >>
  26. >
  27. >There's more to changing the code.  You have to test it!  So to test it,
  28. >you have to search high and low for a system that can run 1.0 or 1.1
  29. >(or even 1.2) and test your software.
  30. >
  31. >Now for the real question:  What do you think there is to 1.1 that isn't
  32. >in 1.3?  A few graphics functions - elipses and such - that are likely to
  33. >not be used in MOST software.  So the software _should_ work under 1.1
  34. >anyhow.  As long as you can keep 1.1 from Guruing on you that is.
  35. >
  36. >Before people start pointing out the several differences, I am not concerned
  37. >about autobooting and the like.  Only OS calls that are there in 1.3 that
  38. >aren't in 1.1.
  39.  
  40. So, let me just start with one of the most important ones from EXEC:
  41.  
  42. ObtainSempahore(), ReleaseSemaphore(), InitSemaphore(), AttemptSemaphore(),
  43. ObtainSemaphoreList(), ReleaseSemaphoreList(), FindSemaphore(),
  44. RemSemaphore(), (and the broken AddSemaphore())
  45.  
  46. AddMemList() (used to add memory to the memory list)
  47. CopyMem(), CopyMemQuick()
  48.  
  49. And last, SumKickData() (for Kickmem support)
  50.  
  51. Now, in a multitasking system, semaphores are absolutely vital.
  52. I know lots of things that uses CopyMem()/CopyMemQuick() (since it
  53. really helps)
  54.  
  55. If you want the intuition changes, they are:
  56.  
  57. RefreshGList(), AddGList(), RemoveGList(), ActivateWindow(),
  58. RefreshWindowFrame(), ActivateGadget(), NewModifyProp(), and
  59. GetScreenData().
  60.  
  61. Of these, a number are required by most every GUI application.
  62.  
  63. If you want more, please let me know and we will list those from other
  64. parts of the OS.
  65.  
  66. /----------------------------------------------------------------------\
  67. |      /// Michael Sinz  -  Senior Amiga Systems Engineer              |
  68. |     ///                   Operating System Development Group         |
  69. |    ///   BIX:  msinz      UUNET:  mks@cbmvax.commodore.com           |
  70. |\\\///                     Luck sometimes visits a fool,              |
  71. | \XX/                      but never sits down with him.              |
  72. \----------------------------------------------------------------------/
  73.