Fighting with pid loops. WIP.
This commit is contained in:
parent
a39f5fa328
commit
dd6f3d528b
7 changed files with 83 additions and 13 deletions
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".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue