Skip to content

Commit 2210d9b

Browse files
committed
Added compilation of ISO to script
1 parent 2ebda4d commit 2210d9b

8 files changed

Lines changed: 4 additions & 0 deletions

File tree

OS.iso

3.19 MB
Binary file not shown.

build/OS.bin

8 Bytes
Binary file not shown.

build/full_kernel.bin

8 Bytes
Binary file not shown.

build/vga_text_mode.c.o

44 Bytes
Binary file not shown.

iso/OS.iso

34 KB
Binary file not shown.

iso/flash.img

1.41 MB
Binary file not shown.

iso/floppy.img

1.41 MB
Binary file not shown.

run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,8 @@ if [ $? != 0 ] ; then
130130
exit 7
131131
fi
132132

133+
/bin/dd if=/dev/zero of=iso/flash.img bs=1024 count=1440
134+
/bin/dd if=build/OS.bin of=iso/flash.img seek=0 count=20 conv=notrunc
135+
/usr/bin/genisoimage -quiet -V 'SK-OS' -input-charset iso8859-1 -o OS.iso -b floppy.img -hide floppy.img iso/
136+
133137
/usr/bin/qemu-system-x86_64 -drive format=raw,file="build/OS.bin",index=0,if=floppy, -m 128M

0 commit comments

Comments
 (0)