checks for a working MMU

   Author:       mbergmann-sh at 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
   Date:         2023-03-25
   Readme:       http://aminet.net/util/cli/hasMMU.readme
   Downloads:    0

http://aminet.net/util/cli/hasMMU.lha

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

Contents of util/cli/hasMMU.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  824    1530  53.9% -lh5- 0922 Mar 25 11:46 hasMMU/hasMMU.readme
[unknown]                 1086    1376  78.9% -lh5- c095 Mar 24 14:38 hasMMU/hasMMU.readme.info
[unknown]                  380     698  54.4% -lh5- 4bc3 Mar 24 16:18 hasMMU/INSTALL.txt
[unknown]                 1381    1656  83.4% -lh5- e443 Mar 24 16:06 hasMMU/Scripts.info
[unknown]                  111     171  64.9% -lh5- d1c9 Mar 24 14:36 hasMMU/Scripts/checkit.exe
[unknown]                 1091    1376  79.3% -lh5- 8da1 Mar 24 14:38 hasMMU/Scripts/checkit.exe.info
[unknown]                  586    1389  42.2% -lh5- 6fbc Mar 24 17:25 hasMMU/Scripts/mudebug
[unknown]                 1193    3366  35.4% -lh5- 7ec4 Mar 24 13:48 hasMMU/source/showMMU/showMMU.c
[unknown]                  391     831  47.1% -lh5- e410 Mar 24 14:38 hasMMU/showMMU.info
[unknown]                 1378    1656  83.2% -lh5- 74e2 Mar 24 14:38 hasMMU/source.info
[unknown]                 1023    2667  38.4% -lh5- 9a2c Mar 24 13:51 hasMMU/source/checkMMU/checkMMU.c
[unknown]                  156     289  54.0% -lh5- b5d9 Mar 24 08:27 hasMMU/source/checkMMU/mmu.txt
[unknown]                  119     155  76.8% -lh5- 8b50 Mar 24 13:58 hasMMU/source/checkMMU/smakefile
[unknown]                  156     289  54.0% -lh5- b5d9 Mar 24 08:27 hasMMU/source/showMMU/mmu.txt
[unknown]                  117     151  77.5% -lh5- 2967 Mar 24 13:45 hasMMU/source/showMMU/smakefile
[unknown]                 1379    1656  83.3% -lh5- 5f4a Mar 24 14:38 hasMMU.info
[unknown]                 4165    6320  65.9% -lh5- 7392 Mar 24 13:50 hasMMU/checkMMU
[unknown]                  395     831  47.5% -lh5- 5a69 Mar 24 14:38 hasMMU/checkMMU.info
[unknown]                 1091    1376  79.3% -lh5- 2c5f Mar 24 14:38 hasMMU/INSTALL.txt.info
[unknown]                 6021    9548  63.1% -lh5- c97e Mar 24 13:48 hasMMU/showMMU
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        20 files   23043   37331  61.7%            Mar 26 04:47

Aminet © 1992-2023 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>