Results 1 to 9 of 9

Thread: TurboMMU040+ released!

  1. #1
    VIP
    Amibayer!
    SpeedGeek's Avatar
    Join Date
    Jan 2011
    Country
    USA
    Region:
    Wisconsin
    Age
    55
    Posts
    900
    Feedback
    21 (100%)

    Lightbulb TurboMMU040+ released!

    TurboMMU040+ 1.0 ©SpeedGeek 2018

    INTRODUCTION:
    TurboMMU040+ is an MMU tool to maximize the MMU performance of
    most* 68040 and 68060 libraries. The MMU is a most excellent
    and valuable feature of advanced 68K CPUs. Unfortunately, it's
    usage does not come without any performance loss. How much
    performance is lost depends on many factors, but this tool
    deals specifically with the MMU configuration factors.

    FEATURES:
    - Enables 8K page mode MMU operation!
    - Converts existing 4K page tables to 8K page tables
    - Does NOT increase memory usage for MMU tables
    - Enables (optional) ITTx management for 32GB of address
    space!
    - Uses 68040/060 library detection code
    - 100% Assembler code

    REQUIREMENTS:
    - Amiga with 68040 or 68060 CPU and MMU
    - 68040.library or 68060.library

    PERFORMANCE AND TECHNICAL ISSUES:
    The 8K page size provides a 2x increase in the address space
    which resides in the ATC. When a page address "Hits" in the
    ATC it provides a "Zero" wait state address translation.
    When a page address "Misses" in the ATC the MMU performs a
    table search in memory to find the page address. Hence, many
    wait states are incurred which result in a performance loss.
    Both the 68040 and 68060 have a 64 entry ATC so 64 x 4K = 256K
    and 64 x 8K = 512K.

    The ITTx registers manage the instruction page descriptors
    for a 16MB - 32GB size of address space. They are typically
    disabled but may be enabled for part of the address space by a
    few libraries. TurboMMU040 optionally enables it for the full
    32GB of address space. This effectively bypasses the MMU
    and provides "Zero" wait state performance for all instruction
    translations. The ITTx usage trade off is the loss of the of
    the performance benefit (if any) from remapping the Kickstart
    ROM(s) into Fast memory. Also, if the library has already
    enabled the ITTx you may want to keep the default settings.

    WARNINGS:
    Failure to disable or unmap MMU remapped Kickstart ROM(s)
    will result in a loss of memory which can NOT be reclaimed
    after conversion to 8K pages (YOU HAVE BEEN WARNED!).

    Attempted usage of this tool with existing 4K MMU tools is
    VERY risky! Some tools will check the page size and safely
    exit, but others will just assume the page size is correct
    and proceed to crash your system! Likewise, libraries which
    have a built in API (e.g. Phase 5) should be used with
    caution.

    This tool does NOT always provide an identical memory map to
    the original. Specific cases when mapping will change are:

    1) MMU remapping of the Zero page area is disabled.
    2) SRP table differs from URP table (URP table replaces SRP
    table).
    3) The Kickstart MMU remap warnings have been ignored (All
    physical ROM addresses are restored).

    *Compatibility support for most 68040 and 68060 libraries does
    NOT mean all of them!

    NOTES:
    The executable file name excludes the "+" character to avoid
    problems with the Amiga Shell. See TurboMMUtools.txt for info
    on the initial support tools.

    HISTORY:
    v1.0 - First release

    Here is the link:

    http://eab.abime.net/showthread.php?p=128823

  2. #2
    VIP
    Amibayer!
    SpeedGeek's Avatar
    Join Date
    Jan 2011
    Country
    USA
    Region:
    Wisconsin
    Age
    55
    Posts
    900
    Feedback
    21 (100%)

    Default

    ** NEWS UPDATE **

    TurboMMU040+ 1.1 released

    v1.1 - Added code to keep the Zero page remapping if it meets
    the 8K alignment requirement (So you got a 50/50 chance)

    EDIT:
    Joe Regulars (TM) kolla require a benchmark tool to convince themselves anything is worthwhile. So TurboMMUbench 1.1 has been released! See image in post #1.
    Last edited by SpeedGeek; 3rd December 2018 at 22:53.

  3. #3
    VIP
    Amibayer!
    SpeedGeek's Avatar
    Join Date
    Jan 2011
    Country
    USA
    Region:
    Wisconsin
    Age
    55
    Posts
    900
    Feedback
    21 (100%)

    Default

    * 2ND NEWS UPDATE **

    TurboMMU040+ 1.2 released.

    v1.2 - Added code to compare Page table address at 8K blocks
    vs. 4K blocks. This might improve indirect mapping accuracy only since direct mapping is always converted to the physical address.

  4. #4
    VIP
    Amibayer!
    SpeedGeek's Avatar
    Join Date
    Jan 2011
    Country
    USA
    Region:
    Wisconsin
    Age
    55
    Posts
    900
    Feedback
    21 (100%)

    Default

    ** 3RD NEWS UPDATE **

    TurboMMUtools 1.1 released

    - 1.1 Added RemapZero 1.0

  5. #5
    Asking the questions because I DON'T KNOW Amibayer!
    Staff Moderator
    slk486's Avatar
    Join Date
    Apr 2010
    Country
    Denmark
    Region:
    Sealand
    Posts
    6,279
    Feedback
    134 (100%)

    Default

    This sounds very cool. In what software have you noticed this make a tangible difference?
    ^^^ IMHO... Always IMHO ^^^

    r0jaws is my hero
    Keropi is my supreme being

  6. #6
    VIP
    Amibayer!
    SpeedGeek's Avatar
    Join Date
    Jan 2011
    Country
    USA
    Region:
    Wisconsin
    Age
    55
    Posts
    900
    Feedback
    21 (100%)

    Default

    All software including the OS will have a tangible benefit. But large memory hungry apps (e.g. web browsers) will benefit the most.

  7. #7
    VIP
    Amibayer!
    SpeedGeek's Avatar
    Join Date
    Jan 2011
    Country
    USA
    Region:
    Wisconsin
    Age
    55
    Posts
    900
    Feedback
    21 (100%)

    Default

    ** 4TH NEWS UPDATE **

    TurboMMU040+ 1.3 released.

    v1.3 - Updated code to allow indirect mapping of the "Extended"
    Zero page area. Added NOITTx option so the libraries default ITTx
    settings can be maintained.

  8. #8
    Asking the questions because I DON'T KNOW Amibayer!
    Staff Moderator
    slk486's Avatar
    Join Date
    Apr 2010
    Country
    Denmark
    Region:
    Sealand
    Posts
    6,279
    Feedback
    134 (100%)

    Default

    Quote Originally Posted by SpeedGeek View Post
    All software including the OS will have a tangible benefit. But large memory hungry apps (e.g. web browsers) will benefit the most.
    Great! Will try to get a feel for before and after
    ^^^ IMHO... Always IMHO ^^^

    r0jaws is my hero
    Keropi is my supreme being

  9. #9
    VIP
    Amibayer!
    SpeedGeek's Avatar
    Join Date
    Jan 2011
    Country
    USA
    Region:
    Wisconsin
    Age
    55
    Posts
    900
    Feedback
    21 (100%)

    Default

    ** 5TH NEWS UPDATE **

    UPDATE:
    Added MapConTM060 1.0 to archive. MapConTM060 supports the
    very proprietary TekMagic 68060.library. See MapConTM060.txt
    for more info.

    TurboMMUtools 1.2 released.

    - 1.2 TurboRom040+ 1.4 released

    EDIT:
    ************************************************************
    Systems configured with a DMA driver MUST install
    FastCache040+ before using this tool! Otherwise, the
    CachePreDMA/PostDMA API of the 68040/060 library will assume
    the 4K page size and fail to modify the correct pages
    resulting in eventual data transfer errors!
    ************************************************************
    Last edited by SpeedGeek; Today at 01:24.

Similar Threads

  1. FastRomWP released!
    By SpeedGeek in forum Programming
    Replies: 0
    Last Post: 29th October 2018, 15:42

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •