Welcome, Guest. Please login or register.

Author Topic: Interview with Pavel Fedin  (Read 930 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: Interview with Pavel Fedin
« on: October 24, 2011, 08:45:00 PM »
MEMF_PUBLIC has been there since 1.0 but Commodore never documented where or how it must be used.

In the 2.x release Commodore finally screwed it up and unintentionally (?) rendered MEMF_PUBLIC obsolete.
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: Interview with Pavel Fedin
« Reply #1 on: October 24, 2011, 08:52:08 PM »
Quote from: Fats;664928
You could attach a pool to a message port so that sender can allocate memory that is also accessible by receiver but not by other memory spaces. It is true that programs not using these features won't be protected and can bring down themselves and all non-protected programs. I do think it should be possible to have programs using the MP protected and not be brought down by other programs by implementing proper exception handling when they receive wrong data.


I dont know how AROS implements dos.library in current version but does it work if I try to save private memory block using Write()? If I try to Open("ram:foobar", MODE_OLDFILE) is it making sure filename is passed properly to fs? And does it guarantee my ExAll() hook is working?

After all there are many issues you can run into.

Of course you can always workaround those issues but I dont see it being trivial in a system that is built using shared memory concept. Ideally all memory should be protected and app writers should not care about stupid memory flags.
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show all replies
Re: Interview with Pavel Fedin
« Reply #2 on: October 25, 2011, 08:45:27 AM »
@Georg

In this case MP is not implemented in AmigaOS API but in the system hosting AmigaOS sandbox.

(OTOH, side effect is it allows transparent memory paging to AmigaOS.)
My Amigas: A500, Mac Mini and PowerBook