aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2024-09-28 17:04:59 -0400
committerClyne Sullivan <clyne@bitgloo.com>2024-09-28 17:04:59 -0400
commitc7066d295039b833dd026e200a5aa735631bdf34 (patch)
tree33a6926f639b6063666c51014768fd600fc27a1a /Makefile
parentb9d2cef90451fae9ab7e10f5f11b8840e9bfe67d (diff)
ata/atapi draft
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0480943..cb08991 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ CXXFLAGS := -m32 -ggdb -g3 -O0 -fno-pic -fno-rtti -fno-exceptions -std=c++23
LDFLAGS := $(CXXFLAGS) -T link.ld -static -nostdlib -fno-use-cxa-atexit
CXXFILES := acpi.cpp \
+ ata.cpp \
boot.cpp \
gdt.cpp \
idt.cpp \
@@ -38,5 +39,5 @@ clean:
run: myos.iso
@echo " QEMU"
- @qemu-system-i386 -cdrom $< -monitor stdio -no-reboot #-s -S #-d int
+ @qemu-system-i386 -drive file=$<,index=2,media=cdrom -monitor stdio -no-reboot #-s -S #-d int