Include path fix

pull/22/head
E. Almqvist 3 years ago
parent 4413465edf
commit 205fcb9b80
  1. 4
      Makefile
  2. 8
      src/bootloader/bios.asm
  3. 6
      src/bootloader/bootloader.asm
  4. 6
      src/bootloader/pm.asm

@ -1,9 +1,9 @@
all: os-image all: os-image
run: all run: all
qemu bin/os-image qemu-system-x86_64 bin/os-image
os-image: bin/bootloader.bin bin/kernel.bin os-image: bootloader.bin kernel.bin
cat $^ > bin/os-image cat $^ > bin/os-image
kernel.bin: bin/kernel_entry.o bin/kernel.o kernel.bin: bin/kernel_entry.o bin/kernel.o

@ -1,7 +1,7 @@
; EQUs ; EQUs
%include "equ/bios.asm" %include "src/bootloader/equ/bios.asm"
; SRs ; SRs
%include "bios/convert.asm" %include "src/bootloader/bios/convert.asm"
%include "bios/print.asm" %include "src/bootloader/bios/print.asm"
%include "bios/disk.asm" %include "src/bootloader/bios/disk.asm"

@ -20,9 +20,9 @@
jmp $ ; inf loop jmp $ ; inf loop
%include "equ/ascii.asm" %include "src/bootloader/equ/ascii.asm"
%include "bios.asm" %include "src/bootloader/bios.asm"
%include "pm.asm" %include "src/bootloader/pm.asm"
BEGIN_PM: BEGIN_PM:
; Inform of mode switch ; Inform of mode switch

@ -1,9 +1,9 @@
; Utils ; Utils
%include "equ/vga.asm" %include "src/bootloader/equ/vga.asm"
%include "pm/vga/print.asm" %include "src/bootloader/pm/vga/print.asm"
; GDT & switching to PM ; GDT & switching to PM
%include "pm/gdt.asm" ; GDT defined here %include "src/bootloader/pm/gdt.asm" ; GDT defined here
; Switching to PM ; Switching to PM
[bits 16] [bits 16]

Loading…
Cancel
Save