load address changed to 1MB

git-svn-id: svn://anubis/hos/trunk@7 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
josh committed 2007-07-25 03:30:16 +00:00
1 parent f58228c559
commit af529606e9
2 files changed
+7 -3

No files matched your search

+4 -2
View File
@@ -1,12 +1,14 @@
KERNEL = hos
TARGET = elf32-i386
LOAD_ADDRESS = 0x100000
LDTARGET = elf32-i386
LDFLAGS = -Ttext $(LOAD_ADDRESS) --oformat $(LDTARGET)
.PHONY: clean
all:
nasm -f elf -o boot.o boot.asm
ld --oformat $(TARGET) -o $(KERNEL) boot.o
ld $(LDFLAGS) -o $(KERNEL) boot.o
clean:
-rm -f *~ $(KERNEL) *.o