More refactoring.

This commit is contained in:
Anna Rose 2021-07-19 04:03:42 -04:00
parent e0d1c34b46
commit deb46a6430
5 changed files with 10 additions and 7 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
**/*.ksm

View File

@ -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.

5
bootstrap/rocket.ks Normal file
View File

@ -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

View File

@ -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.