Short: MuLib aware 68060, 68040, 68030 and 68030.libraries Author: thor@math.tu-berlin.de (Thomas Richter) Uploader: thor@math.tu-berlin.de (Thomas Richter) Version: 40.12 Type: util/sys Requires: Os 2.04, an 68060, 040, 030 or 68020. Replaces: 68040Lib.lha ----------------------------------------------------------------------------- This archive replaces the 68040Lib archive of former releases. It contains all processor libraries for the complete motorola CISC family, from the 68020 up to the 68060. ----------------------------------------------------------------------------- These are processor libraries that make use of the MMU.library to setup its MMU tree. Hence, the setup logic of this library has been streamlined as the complete MMU setup logic has been removed. Since it does not build an MMU tree itself, it will save approximately 200K of memory for an initial MMU tree which would be wasted otherwise. Moreover, this library makes use of the latest FPSP motorola FPU emulation core for both the 68040.library resp. 68060.library, and has been carefully hand-optimized. It does not include questionable patches, but is still configurable thru the mmu.library "MMU-Configuration" file. All libraries within this archive are VMM aware and will emulate non-implemented instructions even if placed in virtual memory. Special care must be taken to use this library on P5 hardware which is, unfortunately, not always auto-configuring. A setup script is included in the archive. This library *IS NOT* a must if you want to use the mmu.library. It is an option which was written to reduce memory usage. A new 680x0.library and a patch for SetPatch is included to get rid of the 68040 dummy libraries which are still in use. The libraries provide LVOs to control the FPU exception processing, and a shell tool, named "FPU", to configure it. Moreover, the 68040.library and 68060.library add a new resource to your system, the "fpsp.resource". This resource provides the emulation routines for unimplemented instructions of the 68040 and the 68060. It is installed by the libraries on startup and made use of as soon as the 68040/060 detects an FPU instruction it can't handle itself. It is also used by an external tool, FastIEEE, which redirects the mathieeee...library vectors to this resource which hence avoids an unecessery emulation exception the libs would have to handle otherwise. The math libraries included in Os 3.9 will detect and use this resource themselves, so FastIEEE is not required for the latest Os release. Note that a higher version number does not always mean better code... ------------------------------------------------------------------------------ This library is part of the MMULib distribution. To find out more about the mmu.library and its goals, download util/libs/MMULib.lha. ------------------------------------------------------------------------------ Quick installation notes: - Copy LIBS/mmu.library to LIBS: - Copy LIBS/680#?0.library to LIBS: - Optionally: Read the MMU.guide how to patch SetPatch and how to install the 680x0.library. - Copy ENVARC/MMU-Configuration to ENVARC: ------------------------------------------------------------------------------ The THOR-Software Licence (v2, 24th June 1998) This License applies to the computer programs known as the "mmu.library", the "680x0.library" and the "68040.library V40" The "Program", below, refers to such program. The "Archive" refers to the package of distribution, as prepared by the author of the Program, Thomas Richter. Each licensee is addressed as "you". The Program and the data in the archive are freely distributable under the restrictions stated below, but are also Copyright (c) Thomas Richter. Distribution of the Program, the Archive and the data in the Archive by a commercial organization without written permission from the author to any third party is prohibited if any payment is made in connection with such distribution, whether directly (as in payment for a copy of the Program) or indirectly (as in payment for some service related to the Program, or payment for some product or service that includes a copy of the Program "without charge"; these are only examples, and not an exhaustive enumeration of prohibited activities). However, the following methods of distribution involving payment shall not in and of themselves be a violation of this restriction: (i) Posting the Program on a public access information storage and retrieval service for which a fee is received for retrieving information (such as an on-line service), provided that the fee is not content-dependent (i.e., the fee would be the same for retrieving the same volume of information consisting of random data). (ii) Distributing the Program on a CD-ROM, provided that a) the Archive is reproduced entirely and verbatim on such CD-ROM, including especially this licence agreement; b) the CD-ROM is made available to the public for a nominal fee only, c) a copy of the CD is made available to the author for free except for shipment costs, and d) provided further that all information on such CD-ROM is redistributable for non-commercial purposes without charge. Redistribution of a modified version of the Archive, the Program or the contents of the Archive is prohibited in any way, by any organization, regardless whether commercial or non-commercial. Everything must be kept together, in original and unmodified form. Limitations. THE PROGRAM IS PROVIDED TO YOU "AS IS", WITHOUT WARRANTY. THERE IS NO WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE THE PROGRAM, THE ARCHIVE AND ALL DATA OF THIS ARCHIVE FROM YOUR STORAGE SYSTEM. YOU ACCEPT THIS LICENCE BY USING OR REDISTRIBUTING THE PROGRAM. Thomas Richter ----------------------------------------------------------------------------- So long, Thomas (March 2001) ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 628 269 57.1% 14-Nov-99 16:49:54 +Autodocs.info 2912 1246 57.2% 15-Apr-01 18:43:38 +68040.doc 3142 1316 58.1% 15-Apr-01 18:43:38 +68060.doc 5762 2049 64.4% 15-Apr-01 18:43:38 +680x0.doc 9301 2498 73.1% 15-Apr-01 18:43:38 +fpsp.doc 628 272 56.6% 14-Nov-99 16:49:54 +C_Sources.info 6222 1298 79.1% 31-Oct-99 12:45:26 +FPU.c 4510 2874 36.2% 28-Jan-00 19:17:38 +Dependencies 951 543 42.9% 14-Nov-99 16:49:54 +Dependencies.info 628 272 56.6% 14-Nov-99 16:49:54 +EnvArc.info 6147 2013 67.2% 15-Apr-01 23:32:10 +MMU-Configuration 6153 2015 67.2% 15-Apr-01 23:32:28 +MMU-Configuration.P5 628 271 56.8% 14-Nov-99 16:49:54 +Fixes.info 11789 3614 69.3% 12-Apr-01 19:20:18 +Fixes.ReadMe 168 156 7.1% 05-Sep-99 12:26:08 +SetPatch.pch 1248 801 35.8% 24-Oct-99 14:15:14 +SetPatch_44.pch 156 147 5.7% 21-Jun-00 21:25:08 +SetPatch_44_13.pch 164 154 6.0% 22-Sep-00 22:58:58 +SetPatch_44_16.pch 180 179 0.5% 07-Apr-01 21:33:26 +SetPatch_44_17.pch 908 817 10.0% 29-Dec-99 13:38:08 +SetPatch_44_6.pch 14688 9310 36.6% 27-Aug-99 23:39:48 +spatch 628 272 56.6% 14-Nov-99 16:49:54 +Include.info 794 258 67.5% 31-Oct-99 12:34:24 +68040_lib.fd 794 258 67.5% 29-Mar-01 22:25:24 +68060_lib.fd 783 249 68.1% 31-Oct-99 12:34:46 +680x0_lib.fd 384 238 38.0% 29-Mar-01 22:33:28 +68040_protos.h 385 239 37.9% 29-Mar-01 22:33:16 +68060_protos.h 450 267 40.6% 31-Oct-99 12:14:50 +680x0_protos.h 475 283 40.4% 31-Oct-99 12:13:20 +disassembler_protos.h 5319 1225 76.9% 26-Mar-00 00:22:08 +mmu_protos.h 782 246 68.5% 31-Oct-99 12:34:00 +disassembler_lib.fd 2088 683 67.2% 31-Oct-99 12:37:02 +68040.h 2107 692 67.1% 31-Oct-99 12:37:24 +68040.i 2089 683 67.3% 29-Mar-01 22:34:58 +68060.h 2108 693 67.1% 29-Mar-01 22:35:28 +68060.i 2817 921 67.3% 31-Oct-99 12:38:24 +680x0.h 2640 886 66.4% 31-Oct-99 12:38:46 +680x0.i 2609 905 65.3% 31-Oct-99 12:36:34 +disassembler.h 2757 926 66.4% 31-Oct-99 12:36:00 +disassembler.i 105 77 26.6% 28-Aug-99 16:30:44 +68040_lvo.i 105 78 25.7% 29-Mar-01 22:36:18 +68060_lvo.i 215 112 47.9% 28-Aug-99 16:30:28 +680x0_lvo.i 68 64 5.8% 02-Jul-99 20:05:54 +disassembler_lvo.i 2105 615 70.7% 26-Mar-00 00:24:20 +mmu_lvo.i 4684 1598 65.8% 08-Apr-01 18:46:10 +alerts.h 4668 1613 65.4% 08-Apr-01 18:46:02 +alerts.i 2072 663 68.0% 08-Apr-01 18:46:30 +config.h 2436 723 70.3% 08-Apr-01 18:46:24 +config.i 8726 3272 62.5% 08-Apr-01 18:46:46 +context.h 8706 3279 62.3% 08-Apr-01 18:46:40 +context.i 2016 772 61.7% 08-Apr-01 18:47:30 +descriptor.h 2112 831 60.6% 08-Apr-01 18:47:16 +descriptor.i 11180 3774 66.2% 28-Apr-01 19:43:08 +exceptions.h 11248 3774 66.4% 08-Apr-01 18:48:02 +exceptions.i 1818 594 67.3% 08-Apr-01 18:48:56 +mmubase.h 1935 622 67.8% 08-Apr-01 18:48:40 +mmubase.i 7741 2629 66.0% 08-Apr-01 19:00:20 +mmutags.h 7631 2668 65.0% 08-Apr-01 19:00:04 +mmutags.i 3006 982 67.3% 26-Mar-00 00:19:56 +mmu_lib.fd 412 225 45.3% 12-Aug-99 20:07:24 +68040_pragmas.h 412 225 45.3% 29-Mar-01 22:38:02 +68060_pragmas.h 724 283 60.9% 31-Oct-99 12:30:08 +680x0_pragmas.h 587 268 54.3% 12-Aug-99 20:06:20 +disassembler_pragmas.h 7440 1436 80.6% 26-Mar-00 00:24:36 +mmu_pragmas.h 220 125 43.1% 12-Aug-99 20:05:58 +68040.h 220 124 43.6% 29-Mar-01 22:38:38 +68060.h 220 128 41.8% 31-Oct-99 12:31:34 +680x0.h 270 135 50.0% 12-Aug-99 20:04:56 +disassembler.h 141 106 24.8% 06-Sep-98 13:37:58 +mmu.h 628 275 56.2% 14-Nov-99 16:49:54 +Install.info 7164 4108 42.6% 31-Mar-00 23:16:20 +BPPCFix 14689 3839 73.8% 29-Jul-00 19:05:08 +BuildMMUConfig.rexx 3764 2042 45.7% 17-Jan-00 21:32:08 +FastIEEE 360 302 16.1% 05-Oct-00 08:30:38 +FindDevice 348 293 15.8% 05-Oct-00 08:30:48 +FindPort 348 290 16.6% 18-Sep-99 22:07:48 +FindResident 78331 19218 75.4% 16-Apr-01 00:58:26 +Install 516 289 43.9% 08-Oct-00 02:31:04 +Install.info 1132 708 37.4% 26-Mar-00 01:40:08 +MemModes 2584 1518 41.2% 03-Feb-01 18:37:42 +MuScan 344 280 18.6% 12-Apr-00 21:21:56 +P5Identify 1836 1140 37.9% 09-Mar-01 22:58:24 +P5Init 276 251 9.0% 12-Apr-00 21:16:12 +PPCIdentify 388 296 23.7% 26-Feb-00 18:15:10 +PrintMMUPort 320 264 17.5% 11-Dec-99 23:36:58 +ScanMMUPort 14128 4050 71.3% 13-Apr-00 19:59:18 +ScanToConfig.rexx 6444 4134 35.8% 15-Oct-00 00:37:26 +Sed 688 496 27.9% 20-Sep-99 19:55:08 +ShowBoards 628 273 56.5% 14-Nov-99 16:49:54 +Libs.info 2164 1270 41.3% 27-Mar-01 21:37:00 +68020.library 2180 1284 41.1% 27-Mar-01 21:36:52 +68030.library 43548 23447 46.1% 08-Apr-01 15:39:24 +68040.library 64812 30404 53.0% 08-Apr-01 15:39:28 +68060.library 924 657 28.8% 04-Apr-01 20:32:32 +680x0.library 43788 23215 46.9% 28-Apr-01 19:30:34 +mmu.library 1836 1140 37.9% 09-Mar-01 22:58:24 +P5Init 182027 59191 67.4% 07-Apr-01 23:50:38 +MMU.guide 523 274 47.6% 14-Nov-99 16:49:54 +MMU.guide.info 6388 2734 57.2% 27-Mar-01 22:04:24 +Mu680x0Libs.readme 65251 25185 61.4% 28-Apr-01 19:44:36 +ReadMe 628 274 56.3% 14-Nov-99 16:49:54 +Shell_Only.info 376 295 21.5% 21-Aug-99 14:47:14 +CheckFPU 84 74 11.9% 02-Jul-99 18:57:50 +ClearTTx 3764 2042 45.7% 17-Jan-00 21:32:08 +FastIEEE 1060 625 41.0% 28-Aug-99 18:22:22 +FPU 168 164 2.3% 02-Jul-99 19:15:34 +PrintBusError 728 426 41.4% 17-Sep-98 21:43:20 +PrintTTx 232 204 12.0% 02-Jul-99 20:47:26 +ResetBusError 628 273 56.5% 14-Nov-99 16:49:54 +VBCC.info 45 45 0.0% 31-Aug-99 03:34:32 +68040_lib.FD_lvo.s 45 45 0.0% 30-Nov-99 18:56:28 +68040_lvo.s 170 84 50.5% 31-Aug-99 03:34:34 +680x0_lib.FD_lvo.s 170 84 50.5% 30-Nov-99 18:57:10 +680x0_lvo.s 104 73 29.8% 31-Aug-99 03:34:32 +disassembler_lib.FD_lvo.s 104 73 29.8% 30-Nov-99 18:58:02 +Disassembler_lvo.s 2810 696 75.2% 30-Nov-99 18:51:46 +MMU_lib.FD_lvo.s 45 45 0.0% 31-Aug-99 03:34:32 +68040_lib.FD_lvo.s 45 45 0.0% 30-Nov-99 18:56:34 +68040_lvo.s 170 84 50.5% 31-Aug-99 03:34:34 +680x0_lib.FD_lvo.s 170 84 50.5% 30-Nov-99 18:57:14 +680x0_lvo.s 104 73 29.8% 31-Aug-99 03:34:32 +disassembler_lib.FD_lvo.s 104 73 29.8% 30-Nov-99 18:58:06 +Disassembler_lvo.s 2810 696 75.2% 30-Nov-99 18:52:22 +MMU_lib.FD_lvo.s 48 47 2.0% 31-Aug-99 03:34:34 +68040_lib.FD_lvo.s 48 47 2.0% 30-Nov-99 18:56:36 +68040_lvo.s 182 87 52.1% 31-Aug-99 03:34:34 +680x0_lib.FD_lvo.s 182 87 52.1% 30-Nov-99 18:57:18 +680x0_lvo.s 110 71 35.4% 31-Aug-99 03:34:32 +disassembler_lib.FD_lvo.s 110 71 35.4% 30-Nov-99 18:58:14 +Disassembler_lvo.s 2966 699 76.4% 30-Nov-99 18:52:58 +MMU_lib.FD_lvo.s 66 63 4.5% 31-Aug-99 03:34:34 +68040_lib.FD_lvo.asm 66 63 4.5% 30-Nov-99 18:56:40 +68040_lvo.asm 191 100 47.6% 31-Aug-99 03:34:34 +680x0_lib.FD_lvo.asm 191 100 47.6% 30-Nov-99 18:57:24 +680x0_lvo.asm 125 83 33.6% 31-Aug-99 03:34:32 +disassembler_lib.FD_lvo.asm 125 83 33.6% 30-Nov-99 18:58:20 +Disassembler_lvo.asm 2831 711 74.8% 30-Nov-99 18:53:58 +MMU_lib.FD_lvo.asm 176 46 73.8% 30-Nov-99 18:56:32 +68040.dir 196 133 32.1% 30-Nov-99 18:56:32 +68040.lib 176 46 73.8% 30-Nov-99 18:56:36 +68040_040.dir 196 133 32.1% 30-Nov-99 18:56:36 +68040_040.lib 980 375 61.7% 30-Nov-99 18:56:38 +68040_PPC.a 88 27 69.3% 30-Nov-99 18:56:42 +68040_WOS.dir 248 177 28.6% 30-Nov-99 18:56:42 +68040_WOS.lib 440 87 80.2% 30-Nov-99 18:57:14 +680x0.dir 584 212 63.6% 30-Nov-99 18:57:14 +680x0.lib 440 87 80.2% 30-Nov-99 18:57:18 +680x0_040.dir 584 212 63.6% 30-Nov-99 18:57:18 +680x0_040.lib 2988 548 81.6% 30-Nov-99 18:57:24 +680x0_PPC.a 352 72 79.5% 30-Nov-99 18:57:30 +680x0_WOS.dir 968 266 72.5% 30-Nov-99 18:57:30 +680x0_WOS.lib 264 70 73.4% 30-Nov-99 18:58:06 +Disassembler.dir 384 178 53.6% 30-Nov-99 18:58:06 +Disassembler.lib 264 70 73.4% 30-Nov-99 18:58:14 +Disassembler_040.dir 384 178 53.6% 30-Nov-99 18:58:14 +Disassembler_040.lib 1762 501 71.5% 30-Nov-99 18:58:20 +Disassembler_PPC.a 176 55 68.7% 30-Nov-99 18:58:22 +Disassembler_WOS.dir 540 241 55.3% 30-Nov-99 18:58:22 +Disassembler_WOS.lib 5632 772 86.2% 30-Nov-99 18:52:18 +MMU.dir 9488 1686 82.2% 30-Nov-99 18:52:18 +MMU.lib 5632 769 86.3% 30-Nov-99 18:52:54 +MMU_040.dir 9512 1685 82.2% 30-Nov-99 18:52:54 +MMU_040.lib 42904 3843 91.0% 30-Nov-99 18:53:54 +MMU_PPC.a 5544 757 86.3% 30-Nov-99 18:54:32 +MMU_WOS.dir 16488 1778 89.2% 30-Nov-99 18:54:32 +MMU_WOS.lib 704 125 82.2% 30-Nov-99 19:17:30 +MuAutoLib_000.dir 1820 399 78.0% 30-Nov-99 19:17:30 +MuAutoLib_000.lib 704 125 82.2% 30-Nov-99 19:18:48 +MuAutoLib_010.dir 1820 399 78.0% 30-Nov-99 19:18:48 +MuAutoLib_010.lib 704 125 82.2% 30-Nov-99 19:20:08 +MuAutoLib_020.dir 1820 399 78.0% 30-Nov-99 19:20:08 +MuAutoLib_020.lib 704 125 82.2% 30-Nov-99 19:21:18 +MuAutoLib_030.dir 1820 399 78.0% 30-Nov-99 19:21:18 +MuAutoLib_030.lib 704 124 82.3% 30-Nov-99 19:16:18 +MuAutoLib_040.dir 1820 399 78.0% 30-Nov-99 19:16:18 +MuAutoLib_040.lib 704 125 82.2% 30-Nov-99 19:22:36 +MuAutoLib_060.dir 1820 399 78.0% 30-Nov-99 19:22:36 +MuAutoLib_060.lib 6240 840 86.5% 30-Nov-99 19:24:06 +MuAutoLib_PPC.a 1408 200 85.7% 30-Nov-99 19:25:30 +MuAutoLib_wos.dir 5456 523 90.4% 30-Nov-99 19:25:30 +MuAutoLib_wos.lib 371 192 48.2% 30-Nov-99 18:58:24 +DisassemblerBase.c 40 40 0.0% 30-Nov-99 18:58:24 +DisassemblerBaseVer.c 245 144 41.2% 30-Nov-99 19:15:12 +HVC.h 324 187 42.2% 30-Nov-99 18:56:42 +MC68040Base.c 35 35 0.0% 30-Nov-99 18:56:44 +MC68040BaseVer.c 324 186 42.5% 30-Nov-99 18:57:32 +MC680x0Base.c 35 35 0.0% 30-Nov-99 18:57:32 +MC680x0BaseVer.c 290 181 37.5% 30-Nov-99 18:54:34 +MMUBase.c 31 31 0.0% 30-Nov-99 18:54:34 +MMUBaseVer.c 1763 926 47.4% 30-Nov-99 05:37:54 +LiesMich 1800 1187 34.0% 12-Oct-99 19:56:48 +LiesMich.info 2443 1147 53.0% 30-Nov-99 05:35:42 +MMULib.readme 1800 1187 34.0% 12-Oct-99 19:56:48 +MMULib.readme.info 1667 835 49.9% 30-Nov-99 05:37:28 +ReadMe 1800 1187 34.0% 12-Oct-99 19:56:48 +ReadMe.info -------- ------- ----- --------- -------- 918913 322799 64.8% 30-Apr-101 23:46:48 195 files