-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3i
mQBtAzNbtlwAAAEDAOsilyHKFPvoEV0ZCb2jIiGChE1W1PNmR23qFeKA/qrwrWuU
uY7dkgRf+RetV8OT0G9wJCZE1eZt5LqLVhI5oOTd2w2cOBHz+HguVHNJ/sPQ5x6q
aC6heD2iT7dQ0YfMsQAFEbQdVmlydHVhbCBDb3dib3kgdmljdGhjQGlibS5uZXSJ
AHUDBRAzW7Zdok+3UNGHzLEBAd7nAv9A5HmpaHmX/ccQTZEALe3olMvMR5nw5+Y7
6kBHlWxFCVMbbXL+KPiuc0sa+pfoLJZpyDtPXPS+X4sgdneb6JIoL7kD1PIBamAE
nDay87lcUgHv36M0f03xomNNV6H+DEU=
=X+2D
-----END PGP PUBLIC KEY BLOCK-----
It's not possible if you want to keep 100% compatability with
existing applications, and not easily implemented by just patching
some functions.
-> This should be left to the people working on AmigaOS (if any), or
the ones working on a replacement.
Christian
Hi, Virtual Cowboy , on 12-May-97 21:00:30 you scribbled....
VC> is there a good programmer out there who wants to write a
VC> memory-protection patch... ? That lets me remove crashed tasks like in
VC> (ARHG, &/(%ง) Windoze... C'ya
"memory protection patch" -not possible
but you can get similar functionality with enforcer (needs mmu) or MCP
and something like sysinspector(to remove task,windows,screens allocated)
now if we could tie these together you'd get something nice or something
horrible ;)
Mike
--
---------------------------------------------------------------------------
Mike Redrobe - mailto:mi...@redrobe.demon.co.uk MikeRR on #Amiga
http://www.redrobe.demon.co.uk
---------------------------------------------------------------------------
and yes, a kill instruction would be handy!
is there maybe a handy too out there where I get a list of all tasks
to select the one I want to kill ?
--- fisc...@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) =:) ---
> Many people say that it isn't possible to implement MP/VM on the Amiga without breaking lots of applications.
I use VMM for Virtual Memory... and it works fine!
It would be very very nice if there is a program wich can do MP.
Regards,
--
__|||||__
(o o)
+-----------------------oOO-(_)-OOo------------------------+
| email: e...@stack.nl (MIME/PGP welcome!) |
| www: http://www.stack.nl/~eka/ (Visit it!) |
+----------------------------------------------------------+
A Welcoming Smile
A Sympathetic Ear
A Kind Word
Can Show God's Love
> at least you could protect unallocated memory.
Very difficult. Amiga programs don't care about page sizes, so how
do you protect half a page?
> is there maybe a handy too out there where I get a list of all tasks
> to select the one I want to kill ?
Verz dangerous. If the program you want to kill has outstanding
messages, is waiting for signals or other things, killing it
will trash memory (best case) when any of these events happen,
and the OS tries to signal/restart a non-existing task.
Now, why do you want to kill a program, anyway? You'll have to
reboot anyway, since a) you don't know what the program has done
to the system, and b) killing it won't free allocated resources.
Christian
--
Christian Stieber sti...@informatik.tu-muenchen.de
Fortune cookie of the day:
They say that once upon a time xans would never scratch your boots.
There's plenty, but the problem is not killing the task (no problem there)
but freeing the resources it allocated when it was running, and killing it's
childtasks, things like that. This is why we need Resource Tracking more than
MP or VM, folks! It's much easier to implement, also.
--
Stuart 'Kyzer' Caie - Kyzer/CSG |undergraduate of Aberdeen University |100%
http://www.abdn.ac.uk/~u13sac |My opinions aren't those of Aberdeen |Amiga -
ky...@4u.net ky...@hotmail.com |University or AUCC, thankfully.***** |always!
--
Random sig of the day:
BONUS: Present this .sig at Tesco for a 15% discount.
The Kill from muFS does some trickery to try and shut down windows and
screens etc. but obviously can't free up any memory alloc'ed by the
program itself, since this isn't pointed to by the Task* or Process*
pointers -- how about rewriting malloc (and similar functions) to use
the MemList pointer in the Task structure? We would be one step nearer
resource tracking...
--
Wez - Electronics Undergraduate at the University of York
URL : http://www.twinklestar.demon.co.uk/
Insult Of The Day: Thou unmuzzled swag-bellied apple-john!
ARTM, aka Amiga Real Time Monitor. Lets you kill and tinker with system
objects as much as you want.
Hans
> pointers -- how about rewriting malloc (and similar functions) to use
> the MemList pointer in the Task structure? We would be one step nearer
> resource tracking...
This will break existing programs, too --- it is perfectly okay to
allocate memory from one task, terminate that task, and free the
memory from another task.
Christian
> the MemList pointer in the Task structure? We would be one step nearer
> resource tracking...
Only 1000 more miles to go ...
Martin.
-------------------------------------------------- mre...@cscip.uni-sb.de
On 13-Maj-97 10:57:02, Christian Stieber wrote the following about "Re: Memory
protection...":
> Virtual Cowboy (vic...@ibm.net) wrote:
>> is there a good programmer out there who wants to write a memory-protection
>> patch... ? That lets me remove crashed tasks
> It's not possible if you want to keep 100% compatability with
> existing applications,
But the whole point of memory protection is that you _don't_ want to stay
100% compatible with existing applications ;-)
Seriously, obviously the broken programmes will break. As long as the
programmes that play by the OS rules still work, fine.
Regards,
/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen | E-mail: mailto:ra...@kampsax.dtu.dk |
| Registered Phase5 developer | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/030, 16 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC |
| I'm only paranoid because everyone's against me. |
> Hmmm, why don't we rewrite the OS?.... :-)
What do you think is AROS? :-)
> IIRC, the AROS team have implemented memory protection fairly recently,
Your're mixing something up here. Ressource tracking is partially
implemented. No MP yet. To many open questions ...
> its a shame that they haven't got a full replacement for all of the OS
> yet. *sigh*
You're welcome to join the AROS team and write what you're missing :-)
Martin.
-------------------------------------------------- mre...@cscip.uni-sb.de
If I had the time (and a magic supply of money)... :-)
--
Wez - Electronics Undergraduate at the University of York
URL : http://www.twinklestar.demon.co.uk/
Insult Of The Day: Thou lumpish tardy-gaited flirt-gill!
And then lock up and kill the computer 20 minutes later when you LEAST EXPECT
IT! :)
--
Stuart 'Kyzer' Caie - Kyzer/CSG |undergraduate of Aberdeen University |100%
http://www.abdn.ac.uk/~u13sac |My opinions aren't those of Aberdeen |Amiga -
ky...@4u.net ky...@hotmail.com |University or AUCC, thankfully.***** |always!
--
Random sig of the day:
This sig is under arrest! It has the right to remain silent!
> Virtual Cowboy (vic...@ibm.net) wrote:
> > is there a good programmer out there who wants to write a memory-protection
> > patch... ? That lets me remove crashed tasks
>
> It's not possible if you want to keep 100% compatability with
> existing applications, and not easily implemented by just patching
> some functions.
I think it is possible, when 98% compatibility and <75% protection are
enough. Just develop a cooperative memprot library. Then supply the users
with system patches to make old apps use the library for most of their
memory. High compatibility can be reached by restricting usage to known
apps, much like GIGAMEM does it.
New apps can directly interface to the library, having identified
themselves beforehand to the patch system.
100% users install the library system only (no patches) and get 100%
compatibility in return for most (but not all) benefits.
> > It's not possible if you want to keep 100% compatability with
> > existing applications,
>
> But the whole point of memory protection is that you _don't_ want to stay
> 100% compatible with existing applications ;-)
>
> Seriously, obviously the broken programmes will break. As long as the
> programmes that play by the OS rules still work, fine.
OS rules don't cazre about memory protection -> broken programs will
no longer work. Many non-broken programs will no longer work.