Hello anyone.
I want to start making my own OS... so I read nearly all faqs on net, watched at nearly all examples and *tried* to compile nearly all free OSes. Nothing helped :-[
So I ask anyone here :
1. Is there any recommendable example (main code C/C++,
bootstrap ASM)
2. Is there a more recommendable environment than
GCC,GPP,LD-ELF,NASM? Anything was uncompilable with
them.
3. I don't want BIN,EXE,COM! Please, ELF!
[glow=green,4,300]blackhole89[/glow]
Need startup help! :(
Re: Need startup help! :(
Here you can find lots of usefull information about OS Programming. In the section "File Formats" is a PDF about the ELF specifications.
3. I don't want BIN,EXE,COM! Please, ELF!
Also you can try the newsgroup alt.os.development. You'll find lots of good information there.
HTH,
citizen428
Re: Need startup help! :(
this may be a bizarre question for you, or you might recognise it... does Trapped Under Ice mean anything to you?
as for a few of your questions, if you want ELF, you have to go Watcom or GCC/ld/etc.
soon (when i get into gear) you will be able to use Visual Studio to write PE exe files that can be booted by GRUB..
as for a few of your questions, if you want ELF, you have to go Watcom or GCC/ld/etc.
soon (when i get into gear) you will be able to use Visual Studio to write PE exe files that can be booted by GRUB..
-- Stu --
Re: Need startup help! :(
Ok hello again -
I already work with gcc,gpp and a elf-able LD. Nice you reply, but
1. I don't want PE - I want to get as far away from Windows
as possible
2. I asked for good startup examples which are correctly
compilable with GCC.
[glow=green,4,300]blackhole89[/glow]
I already work with gcc,gpp and a elf-able LD. Nice you reply, but
1. I don't want PE - I want to get as far away from Windows
as possible
2. I asked for good startup examples which are correctly
compilable with GCC.
[glow=green,4,300]blackhole89[/glow]
Re: Need startup help! :(
what do you mean correctly compile with gcc? i have no problems using GCC and names to compile a lot of the example code.
old code needs old gcc (usually 2.8.x or 2.7.x) since newer gcc changed a lot of the inline asm.
newer code usually needs the newer 2.9+ gcc and new binutils.
old code needs old gcc (usually 2.8.x or 2.7.x) since newer gcc changed a lot of the inline asm.
newer code usually needs the newer 2.9+ gcc and new binutils.
-- Stu --
Re: Need startup help! :(
"Trapped Under Ice" tells me something: Ride the Lightning and even more.
Does the new gcc compiler accept the standard ansi/borland inline asm? If no, can you give me an ideea of how to use Borland C++ Builder 5.5 to dev an OS. jloc is the linker would work but I need help to use it.
If you think that watcom C++ is as good or better and that I can use a different linker with it I'd appreciate help.
How do I use jloc to make an OS that writes a char on the screen. That's all I need to start?
I forgot: 32-bit C++
Thank you
Does the new gcc compiler accept the standard ansi/borland inline asm? If no, can you give me an ideea of how to use Borland C++ Builder 5.5 to dev an OS. jloc is the linker would work but I need help to use it.
If you think that watcom C++ is as good or better and that I can use a different linker with it I'd appreciate help.
How do I use jloc to make an OS that writes a char on the screen. That's all I need to start?
I forgot: 32-bit C++
Thank you
Re: Need startup help! :(
I'm darie
I forgot to say that I need 32 bit flat binary as output. My bootloader loads into memory the following # of kb after the boot block(already in pmode and the a20 line is on) and jumps there.
I forgot to say that I need 32 bit flat binary as output. My bootloader loads into memory the following # of kb after the boot block(already in pmode and the a20 line is on) and jumps there.