AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/boot/Kill68k.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Simple but powerful multiboot tool
Author: ilkleht at isoveli.org (Ilkka Lehtoranta)
Uploader:ilkleht isoveli org (Ilkka Lehtoranta)
Type:util/boot
Version:1.0
Architecture:m68k-amigaos
Date:2003-08-03
Download:util/boot/Kill68k.lha - View contents
Readme:util/boot/Kill68k.readme
Downloads:689

Kill68k is a simple multiboot tool written for BPPC/CSPPC MorphOS users.
It detects if you are in 68k or PPC mode and if 68k is detected this tool
can be used to launch your MorphOS startup script.

In addition you can add other conditions to check, i.e. run script only if
left mouse button is down (or middle/right respectively).

Example:

for AmigaOS partition add following line right after SetPatch command in
your Startup-Sequence:


  SetPatch
  Kill68k CHECKLEFT EXECUTE="C:Execute MOS:MorphOS/MorphOS/Start"


And on your MorphOS partition you can use following:


  Kill68k EXECUTE="C:Execute MOS:MorphOS/MorphOS/Start"


On AmigaOS partition startup script is executed only if left mouse button
is down. On MorphOS partition startup script is executed if a 68k is
detected. This way you can set your MorphOS partition to be your default
boot partition.


68k/PPC detection
-----------------

Kill68k uses very simple PPC detection. If exec.library version is lower than
V50 it assumes you are on 68k AmigaOS. No further checkings made this regard.
If exec version is V50 or newer then provided startup script *never* gets
executed. This is enough for me because I don't need multiple startup scripts
for MorphOS.

If you are using OS2 or OS3 then Kill68k serves as multiboot utility as well
although it was written for MorphOS usage in mind only. Also OS4 users might
find this util useful. You can have upto 8 different mouse button
combinations:

  Kill68k EXECUTE="C:Execute S:Startup1" CHECKLEFT
  Kill68k EXECUTE="C:Execute S:Startup2" CHECKMIDDLE
  Kill68k EXECUTE="C:Execute S:Startup3" CHECKRIGHT
  Kill68k EXECUTE="C:Execute S:Startup4" CHECKLEFT CHECKRIGHT

  etc.

Enjoy. It is only 444 bytes!


  Ilkka Lehtoranta ยท ilkleht@isoveli.org


Contents of util/boot/Kill68k.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  380     444  85.6% -lh5- 5b49 Jul 31  2003 Kill68k/Kill68k
[generic]                  864    1938  44.6% -lh5- 682e Jul 31  2003 Kill68k/Kill68k.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    1244    2382  52.2%            Aug  3  2003
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>