Future-proof addresses
  • Order of the Butterfly
    Order of the Butterfly
    Samurai_Crow
    Posts: 173 from 2009/12/10
    From: Minnesota, USA
    Cross-post from the AmigaOS 3 forum:

    Greetings! It just occurred to me that message port handles being addresses are always on even numbers due to alignment constraints. After looking at Gunnar von Boehn's additions to the 68080 and SAGA softcores, it occurred to me that using bit zero as a flag could be used to switch to a different message port encoding such as an enumeration. Once that is no longer address constrained, it could allow 64-bit addressing both on AmigaOS 3+ and ApolloOS. If MorphOS follows suit, great!
  • »19.07.25 - 11:37
    Profile
  • MorphOS Developer
    Piru
    Posts: 596 from 2003/2/24
    From: finland, the l...
    What was the problem you try to solve with 64-bit messageports? This sounds like a solution looking for a problem.

    Using some bits of addresses for "magic" information is asking for trouble. Just ask how easy it's to run AmigaBASIC on Amigas with 32-bit memory. Or how convenient it is that AllocEntry() uses bit 31 to indicate error condition.

    Also, this isn't a generic solution to encode 64-bit addresses as many addresses can be odd.

    If you go 64-bit do it properly with real 64-bit addressing everywhere. 32-bit legacy stuff can be run in a runtime environment.

    No, MorphOS will not adopt stupid concepts.
  • »19.07.25 - 13:15
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Georg
    Posts: 123 from 2004/4/7
    Quote:

    can be run in a runtime environment.


    So the "boxes = evil" era is over?
  • »19.07.25 - 15:17
    Profile