Fighting with pid loops. WIP.
This commit is contained in:
12
boot/helicopter.ks
Normal file
12
boot/helicopter.ks
Normal file
@ -0,0 +1,12 @@
|
||||
// helicopter bootstrapping sequence
|
||||
|
||||
deletepath("/boot/helicopter").
|
||||
|
||||
// Install software.
|
||||
compile "0:/helicopter/ui" to "1:/init".
|
||||
compile "0:/helicopter/hover" to "1:/hover".
|
||||
|
||||
// Set OS to boot and restart.
|
||||
set core:bootfilename to "/init".
|
||||
|
||||
reboot.
|
5
boot/helicopter_debug.ks
Normal file
5
boot/helicopter_debug.ks
Normal file
@ -0,0 +1,5 @@
|
||||
copypath("0:/helicopter/ui", "1:/init").
|
||||
copypath("0:/helicopter/hover", "1:/hover").
|
||||
|
||||
CORE:PART:GETMODULE("kOSProcessor"):DOEVENT("Open Terminal").
|
||||
run "1:/init".
|
@ -8,8 +8,8 @@ deletepath("/boot/rocket").
|
||||
compile "0:/lib/navigation" to "1:/lib/navigation".
|
||||
compile "0:/lib/throttle" to "1:/lib/throttle".
|
||||
compile "0:/rocket/ui" to "1:/init".
|
||||
compile "0:/rocket/launch" to "1:/rocket/launch".
|
||||
copypath("0:/rocket/execnode", "1:/rocket/execnode"). // larger when compiled
|
||||
compile "0:/rocket/launch" to "1:/launch".
|
||||
copypath("0:/rocket/execnode", "1:/execnode").
|
||||
|
||||
// Set OS to boot and restart.
|
||||
set core:bootfilename to "/init".
|
||||
|
Reference in New Issue
Block a user