diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0847fef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/*.ksm diff --git a/boot/rocket.ks b/boot/rocket.ks index e354755..166229e 100644 --- a/boot/rocket.ks +++ b/boot/rocket.ks @@ -1,13 +1,10 @@ // rocketOS bootstrapping sequence // Install software. -compile "0:/os/rocketos" to "1:/boot/rocketos". -compile "0:/lib/navigation" to "1:/lib/navigation". -compile "0:/lib/throttle" to "1:/lib/throttle". -compile "0:/launch" to "1:/launch". -compile "0:/nextnode" to "1:/nextnode". +runpath("0:/bootstrap/rocket"). // Set OS to boot and restart. -set core:bootfilename to "boot/rocketos". +set core:bootfilename to "/ui/rocket". +deletepath("/boot/rocket"). reboot. diff --git a/bootstrap/rocket.ks b/bootstrap/rocket.ks new file mode 100644 index 0000000..e897c91 --- /dev/null +++ b/bootstrap/rocket.ks @@ -0,0 +1,5 @@ +compile "0:/ui/rocket" to "1:/ui/rocket". +compile "0:/lib/navigation" to "1:/lib/navigation". +compile "0:/lib/throttle" to "1:/lib/throttle". +compile "0:/launch" to "1:/launch". +copypath("0:/nextnode", "1:/nextnode"). // smaller when compiled diff --git a/nextnode.ks b/execnode.ks similarity index 100% rename from nextnode.ks rename to execnode.ks diff --git a/launch.ks b/launch.ks index da057d8..90c7a13 100644 --- a/launch.ks +++ b/launch.ks @@ -70,7 +70,7 @@ until SHIP:ORBIT:APOAPSIS > 80000 { SHIP:ADD(CreateCircularizationNode(SHIP:ORBIT:ETA:APOAPSIS)). -print "Releasing controls. Good luck, Kerman!". +print "Releasing controls. Circularization maneuver added. Good luck, Kerman!". set SHIP:CONTROL:PILOTMAINTHROTTLE to 0. unlock THROTTLE. unlock STEERING.