Extra file to be deleted

This commit is contained in:
HyperAssembler 2015-01-25 02:27:21 -08:00
parent b6c999753f
commit 74de6123a9
2 changed files with 0 additions and 23 deletions

View File

@ -1,11 +0,0 @@
#include "grub.h"
#include "type.h"
#define HKAPI32 __cdecl
#define HKAPI64
extern PBYTE _KERNEL_STACK;
extern void printf(char* dst);
void HKAPI32 HkKernelEntry(PMULTIBOOT_TAG multiboot_info)
{
char[] str = "Kernel is here";
printf(&str[0]);
}

View File

@ -1,12 +0,0 @@
sudo rm HOS.iso
sudo nasm -f bin kernel_multiboot.asm -o kernel_multiboot.bin
sudo nasm -f bin kernel_multiboot2.asm -o kernel_multiboot2.bin
sudo mkdir temp_iso
sudo mkdir temp_iso/HOS
sudo mkdir temp_iso/boot
sudo mkdir temp_iso/boot/grub
sudo mv kernel_multiboot.bin temp_iso/HOS/kernel_multiboot.bin
sudo mv kernel_multiboot2.bin temp_iso/HOS/kernel_multiboot2.bin
sudo cp grub.cfg temp_iso/boot/grub/
sudo grub-mkrescue -o HOS.iso temp_iso
sudo rm -rf temp_iso