Hangar.La tienda de software del Amiga

hasMMU 1.0

checks for a working MMU

Short:        checks for a working MMU
Author:       mbergmann-sh@web.de (Michael Bergmann)
Uploader:     mbergmann-sh web de (Michael Bergmann)
Type:         util/cli
Version:      1.0
Requires:     util/libs/MMULib.lha, dev/c/StormWizard2_3.lha (wizard.library v45.1)
Architecture: m68k-amigaos >= 2.0.4
Distribution: Aminet
Kurz:         prüft auf vorhandene MMU

This is about checkMMU and showMMU, two Shell programs
that test for a working MMU in your Amiga or emulator
setup.

Both programs require mmu.library to be installed on your
system.

1. checkMMU
===========
This Program is intended to be used from within
Shell scripts (example provided) and does not
output any visible informations. Instead, it returns
RETURN_OK if a MMU is detected and RETURN_ERROR if not.

Typicall usage would be to test for a working MMU in
S:Startup-Sequence before loading certain debugging
tools that require a MMU:

failat 15
if exists C:checkMMU
    c:checkMMU
    if ERROR
        ;echo "No MMU!" <- remove comment to be bothered, breaks startup if no MMU
    ELSE
        segtracker &
    endif
else
    echo "checkCPU not found!"
endif 


2. showMMU
==========
This program is a bit more noisy than checkMMU.
It outputs some basic information about the MMU type
If no MMU is found, it will also report that.

In fact, showMMU was the prototype for checkMMU. ;)


3. Sources and License
======================
Full sources are provided. They may be used however
you like, as long as no one gets hurt.


Michael Bergmann, March 2023

Gratis

Descargar 24 KB

Desde el Amiga: abre Hangar y busca hasMMU.

Autormbergmann-sh@web.de (Michael Bergmann)
Categoríautil/cli
Tamaño24 KB
Fecha2026-05-04
Param68k-amigaos >= 2.0.4
Necesitautil/libs/MMULib.lha, dev/c/StormWizard2_3.lha (wizard.library v45.1)
OrigenAminet