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