i wish you to help me
first : sorry about my english COZ im not english ok sorry again
second:im using microsoft windows as my os and DJGPP and nasmw.
but my problem is:
im using boot loader with name grub 0.97 on file-systemize floppy disc as my bootloader
but when i run flow command in grub command-line:
Code: Select all
root (fd0)
Code: Select all
kernel /kernel.elf
Code: Select all
Error13:Invalid or unsupported executable format
first question is:how can i make coff file (for using with objcopy-elf for converting it to elf file)?
i have kernel.cpp and video.h and video.cpp and link.ld
2nd question:how can i write ld-script for linking those files?
3rd question: What is elf files?how can i make them directly?
ill attach my codes for you
4th whats wrong with my codes?
sorry about chattiness
tnxxxxxxxxx