6207 - tweaks while creating a video

https://futureofcoding.org/two-minute-week
This commit is contained in:
Kartik Agaram 2020-04-18 16:58:40 -07:00
parent 11f7f7b812
commit 5170e27ce8
3 changed files with 6 additions and 5 deletions

View File

@ -19,8 +19,8 @@ put_new(Help, "syntax",
"The resulting binary starts running code from a label called 'Entry'\n"
"in the code segment.\n"
"\n"
"Segments with the same name get merged together. This rule helps keep functions and\n"
"their data close together in .subx files.\n"
"Segments with the same name get merged together. This rule helps keep functions\n"
"and their data close together in .subx files.\n"
"You don't have to specify the starting address after the first time.\n"
"\n"
"Lines consist of a series of words. Words can contain arbitrary metadata\n"

1
build
View File

@ -98,6 +98,7 @@ grep -h "^\s*void test_" bootstrap.cc |sed 's/^\s*void \(.*\)() {.*/"\1",/' |u
older_than bootstrap_bin bootstrap.cc *_list && {
$CXX $CFLAGS bootstrap.cc -o bootstrap_bin
echo
}
exit 0

View File

@ -23,9 +23,9 @@ LOOP=`losetup -f`
sudo losetup $LOOP initrd.fat
sudo mkfs.vfat $LOOP
sudo mount $LOOP /mnt
mv a.elf /mnt/init
umount /mnt
losetup -d $LOOP
sudo mv a.elf /mnt/init
sudo umount /mnt
sudo losetup -d $LOOP
sync
chown $SUDO_USER:$SUDO_USER initrd.fat