diff --git a/Rsconscript b/Rsconscript index e877993..d7f8655 100644 --- a/Rsconscript +++ b/Rsconscript @@ -118,13 +118,13 @@ hello_env = env "hello", use: %w[ldc2 x86_64-w64-mingw32-gcc] do |env| env["SIZE"] = "x86_64-w64-mingw32-size" env.Size("^/BOOTX64.size", "^/BOOTX64.EFI") env.Disassemble("^/BOOTX64.txt", "^/BOOTX64.EFI") - env.Image("^/hos.img", "^/BOOTX64.EFI") + env.Image("^/HOS.img", "^/BOOTX64.EFI") end task "run", desc: "Run HOS in QEMU" do Dir.mktmpdir do |tmpdir| - img = hello_env.expand("^/hos.img") + img = hello_env.expand("^/HOS.img") FileUtils.cp(img, tmpdir) - sh %W[qemu-system-x86_64 -bios OVMF.fd -drive file=#{tmpdir}/hos.img,format=raw -device qemu-xhci -device usb-tablet] + sh %W[qemu-system-x86_64 -bios OVMF.fd -drive file=#{tmpdir}/HOS.img,format=raw -device qemu-xhci -device usb-tablet] end end