Attempt 2 #2

Open
seeseemelk wants to merge 56 commits from attempt-2 into master
2 changed files with 10 additions and 2 deletions
Showing only changes of commit 000d53e2f3 - Show all commits

View File

@@ -38,7 +38,7 @@ add_custom_command(
add_custom_target(initrd DEPENDS ${INITRD_FILE})
# Create grub.cfg for ISO - includes module2 for the initrd
file(WRITE ${CMAKE_BINARY_DIR}/isodir/boot/grub/grub.cfg "set timeout=0\nset default=0\nsearch --set=root --file /boot/kernel.bin\nmenuentry \"ClaudeOS\" { multiboot2 /boot/kernel.bin\n module2 /boot/initrd.cpio }")
file(WRITE ${CMAKE_BINARY_DIR}/isodir/boot/grub/grub.cfg "set timeout=0\nset default=0\nsearch --set=root --file /boot/kernel.bin\nmenuentry \"ClaudeOS\" {\n set gfxpayload=text\n multiboot2 /boot/kernel.bin\n module2 /boot/initrd.cpio\n}")
# ISO Generation

View File

@@ -26,9 +26,17 @@ multiboot_header:
/* checksum */
.long -(MULTIBOOT2_HEADER_MAGIC + MULTIBOOT_ARCHITECTURE_I386 + (multiboot_header_end - multiboot_header))
/* Tags here */
/* Framebuffer tag: request 80x25 EGA text mode */
.align 8
.short MULTIBOOT_HEADER_TAG_FRAMEBUFFER
.short 0 /* flags: required (not optional) */
.long 20 /* size of this tag */
.long 80 /* width */
.long 25 /* height */
.long 0 /* depth: 0 = text mode */
/* End tag */
.align 8
.short MULTIBOOT_HEADER_TAG_END
.short 0
.long 8