mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-15 23:47:25 -04:00
Add utilities to create and attach disks
This commit is contained in:
parent
94828f060b
commit
dc402d4fc7
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*.bin
|
||||
*.flp
|
||||
*.o
|
||||
*.o
|
||||
hdd.img
|
5
Makefile
5
Makefile
@ -20,7 +20,7 @@ thor.flp: bootloader.bin micro_kernel.bin kernel.bin filler.bin
|
||||
dd status=noxfer conv=notrunc if=thor.bin of=thor.flp
|
||||
|
||||
qemu: thor.flp
|
||||
qemu-kvm -cpu host -fda thor.flp
|
||||
qemu-kvm -cpu host -fda thor.flp -hda hdd.img
|
||||
|
||||
bochs: thor.flp
|
||||
echo "c" > commands
|
||||
@ -35,6 +35,9 @@ debug: thor.flp
|
||||
force_look:
|
||||
true
|
||||
|
||||
create_hdd:
|
||||
dd if=/dev/zero of=hdd.img bs=512 count=20160
|
||||
|
||||
clean:
|
||||
cd bootloader; $(MAKE) clean
|
||||
cd kernel; $(MAKE) clean
|
||||
|
@ -1,4 +1,5 @@
|
||||
display_library: sdl
|
||||
magic_break: enabled=1
|
||||
floppya: 1_44=thor.flp, status=inserted
|
||||
ata0-master: type=disk, path="hdd.img", mode=flat, cylinders=20, heads=16, spt=63
|
||||
boot:floppy
|
Loading…
x
Reference in New Issue
Block a user