Amiga-Dresden

Normale Version: Unterschiedliche Kickstarts > unterschiedliche Startpartitionen per Startup
Sie sehen gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Hab ich grad zufällig im A1k gefunden und speichere das zur besseren Auffindbarkeit mal hier ab
Vielen Dank an "echo" aus dem A1k und hier ist die Quelle: http://www.a1k.org/forum/showthread.php?...post454315

Code:
; A Startup-Sequence for a dual boot system
; Move your WB1.3 s:Startup-Sequence to s:Starup-Sequence.fd
; and copy this script to s:Startup-Sequence.
; Don't modify your StartupII or Startup-Sequence.HD from WB1.3
; iDH0 is the WB 1.3 partition and has the highest boot priority
; DH0 is the WB 3.1 partition

; Check if it is a Kick 3.1 (40.10)
idh0:c/version >nil: exec.library 40
if not warn
; If true then ...
;    echo "I have found KS 3.1 and will now booting into your WB 3.1 ..."
    dh0:c/assign SYS: dh0:
    sys:c/assign C: sys:c
    assign S: sys:s
    assign LIBS: sys:libs
    assign DEVS: sys:devs
    assign FONTS: sys:fonts
    assign L: sys:l
    cd sys:
    idh0:Prefs/SetPrefs/SetPrefs >NIL: DEVS:system-configuration
    execute s:Startup-Sequence
else
; Check if it is a Kick 1.3 (34.2)
idh0:c/version >nil: exec.library 34
    if not warn
; If true then ...
;        echo "I have found KS 1.3 and will now booting into your WB 1.3 ..."
        idh0:c/assign SYS: idh0:
        sys:c/assign C: sys:c
        assign S: sys:s
        assign LIBS: sys:libs
        assign DEVS: sys:devs
        assign FONTS: sys:fonts
        assign L: sys:l
        cd sys:
        idh0:Prefs/SetPrefs/SetPrefs >NIL: DEVS:system-configuration
        execute s:Startup-Sequence.fd
    else
        echo "Didn't found a supported Kickstart. Please check your setup"
    endif
endif
Die Idee die Exex-Version auszuwerten ist gut. .... :whistling:
Ja, werd ich sicher mal benutzen... Smile