This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef _LIB_LIBCPP_STKL_PRINTKC_ | |
| #define _LIB_LIBCPP_STKL_PRINTKC_ | |
| #include <stdarg.h> | |
| #include <stdint.h> | |
| #include <stddef.h> | |
| /* | |
| * @namespace stkl: | |
| * Standard Kernel Library |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Bone Lang. | |
| * BoneLang <>{}[]() Interpreter. | |
| * @author Amanuel Bogale | |
| * @date 10/12/16 | |
| **/ | |
| #include <iostream> | |
| #include <string> | |
| #include <algorithm> | |
| #include <stdarg.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Rule of three. | |
| If you have a class | |
| where its member class | |
| is requesting heap space, | |
| it always needs a copy contructor | |
| , assignment operator , and | |
| a destructor | |
| Derived From : https://www.youtube.com/watch?v=F-7Rpt2D-zo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| /**************************************** | |
| * Amanuel Bogale | |
| * 9/28/16 | |
| * GradeCalc | |
| * Inputs 4 grades and as a result | |
| * finds the average of all grades | |
| ****************************************/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| /**************************************** | |
| * Amanuel Bogale | |
| * 9/28/16 | |
| * GradeCalc | |
| * Inputs 4 grades and as a result | |
| * finds the average of all grades | |
| ****************************************/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| compile_: | |
| ghost-i686-elf-tools/bin/i686-elf-gcc -g -m32 -c -ffreestanding -o kernel.o kernel.c -lgcc | |
| ghost-i686-elf-tools/bin/i686-elf-ld -melf_i386 -T linker.ld -nostdlib --nmagic -o kernel.elf kernel.o | |
| ghost-i686-elf-tools/bin/i686-elf-objcopy -O binary kernel.elf kernel.bin | |
| "NASM/nasm.exe" boot1.asm -o boot1.o | |
| ghost-i686-elf-tools/bin/i686-elf-ld -melf_i386 -Ttext=0x7c00 -nostdlib --nmagic -o boot.elf boot.o | |
| ghost-i686-elf-tools/bin/i686-elf-objcopy -O binary boot.elf boot.bin | |
| "PartyCopy/dd.exe" if=/dev/zero of=disk.img bs=512 count=2880 | |
| "PartyCopy/dd.exe" if=boot.bin of=disk.img bs=512 conv=notrunc | |
| "PartyCopy/dd.exe" if=kernel.bin of=disk.img bs=512 seek=1 conv=notrunc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;----------------------------------------------; | |
| ; | |
| ; The BoneOS Bootloader STDIO.h 32 BITS | |
| ; ------------------------------ | |
| ; | |
| ; | |
| ; Contributors : @amanuel2 | |
| ; | |
| ; | |
| ;----------------------------------------------; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;----------------------------------------------; | |
| ; | |
| ; The BoneOS Bootloader STDIO.h 32 | |
| ; ------------------------------ | |
| ; | |
| ; | |
| ; Contributors : @amanuel2 | |
| ; | |
| ; | |
| ;----------------------------------------------; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;----------------------------------------------; | |
| ; | |
| ; The BoneOS Stage 1 Bootloader | |
| ; ----------------------------- | |
| ; | |
| ; | |
| ; Contributors : @amanuel2 | |
| ; | |
| ; | |
| ;----------------------------------------------; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;----------------------------------------------; | |
| ; | |
| ; The BoneOS Stage 2 Bootloader | |
| ; ----------------------------- | |
| ; | |
| ; | |
| ; Contributors : @amanuel2 | |
| ; | |
| ; | |
| ;----------------------------------------------; |