finish day 2
This commit is contained in:
parent
dda87f83cd
commit
3e2faac050
14
day_02/Makefile
Normal file
14
day_02/Makefile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Makefile to run a.img in QEMU
|
||||||
|
|
||||||
|
# QEMU command to run x86_64 architecture
|
||||||
|
QEMU = qemu-system-x86_64
|
||||||
|
|
||||||
|
# Name of the disk image
|
||||||
|
IMAGE = helloos.img
|
||||||
|
|
||||||
|
# Default target
|
||||||
|
all: run
|
||||||
|
|
||||||
|
# Target to run the image in QEMU
|
||||||
|
run:
|
||||||
|
$(QEMU) -drive format=raw,file=$(IMAGE)
|
BIN
day_02/helloos.img
Normal file
BIN
day_02/helloos.img
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user