home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / misc / 17265 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  2.8 KB

  1. Path: sparky!uunet!decwrl!waikato.ac.nz!comp.vuw.ac.nz!amigans!acheron!alien
  2. Newsgroups: comp.sys.amiga.misc
  3. Subject: Re:  Why doesn't Amiga core-dump? *sigh*
  4. Message-ID: <alien.01c3@acheron.amigans.gen.nz>
  5. From: alien@acheron.amigans.gen.nz (Ross Smith)
  6. Date: 22 Nov 92 12:09:47 GMT+12
  7. References: <92323.003545BGT101@psuvm.psu.edu> <1992Nov18.133139.21744@ifi.unizh.ch> 
  8.  <92323.182614BGT101@psuvm.psu.edu> <1992Nov19.142226.27864@sophia.smith.edu>
  9. Distribution: world
  10. Organization: Wanganui Amigans, Wanganui, NZ
  11. Lines: 47
  12.  
  13. In article <1992Nov19.142226.27864@sophia.smith.edu> jfieber@sophia.smith.edu (John Fieber) writes:
  14. >
  15. >...BUT, how is the OS going to know what memory constitues the
  16. >message?  If I use a message to pass a pointer to a structure
  17. >full of pointers to other bits of data, there could be dozens of
  18. >little pieces of message floating around.  The only thing that
  19. >can know for sure the extent of the message is the application
  20. >sending it.  The receiving application can usually find out but
  21. >even it has to have some pre-programmed knowledge of what to look
  22. >for.
  23.  
  24. The OS is going to know which memory constitutes the message because the
  25. programmer knows what they're doing and has marked it with MEMF_PUBLIC.
  26.  
  27. >Sure, I can now use MEMF_PUBLIC when I allocate that memory but
  28. >that still leaves about 99% of current programs that would fall
  29. >flat on their face.  Though I will never say never, I cannot at
  30. >this moment see any way to (1) make protected memory happen (2)
  31. >not break existing software and (3) not take a huge performance
  32. >hit in the process.
  33.  
  34. I think that 99% is ridiculous, unless you're counting all the toy programs
  35. beginning Amiga programmers write. Personally I'm always careful to use
  36. MEMF_PUBLIC correctly in my programs, in the expectation that one day they
  37. might have to run on a PM machine, even though it doesn't make any difference
  38. now. I'm sure most serious programmers feel the same way.
  39.  
  40. Remember how all the dimwits whinged about their favourite games breaking
  41. when 2.0 came out, and kept blaming Commodore? Fortunately Commodore had
  42. enough sense to ignore them and go ahead with the upgrade anyway. I think
  43. that whole procedure will simply be repeated when the Amiga goes PM. The
  44. people who used the correct, clearly documented procedures will have no
  45. problems; the people who didn't will either have to wake their ideas up
  46. pretty smartly, or go out of business, and serves them right.
  47.  
  48. But I doubt whether that will be a serious problem. I suspect that most
  49. Amiga developers learned their lesson with 2.0/ECS, and now they're a lot
  50. more careful about following the rules.
  51.  
  52. --
  53. ...... Ross Smith (Wanganui, NZ) ...... alien@acheron.amigans.gen.nz ......
  54.    Mine is the ship bound for Alpha Centauri
  55.    We must be out of our minds
  56.    For though we are shipmates bound for tomorrow
  57.    Everyone here's flying blind                          (Crystal Gayle)
  58. --
  59.  
  60.