OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 4:46 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Need startup help! :(
PostPosted: Thu Dec 27, 2001 12:48 am 
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]


Top
  
 
 Post subject: Re: Need startup help! :(
PostPosted: Thu Dec 27, 2001 2:24 am 
Quote:

3. I don't want BIN,EXE,COM! Please, ELF!


Here you can find lots of usefull information about OS Programming. In the section "File Formats" is a PDF about the ELF specifications.

Also you can try the newsgroup alt.os.development. You'll find lots of good information there.

HTH,
citizen428


Top
  
 
 Post subject: Re: Need startup help! :(
PostPosted: Thu Dec 27, 2001 12:56 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
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..

_________________
-- Stu --


Top
 Profile  
 
 Post subject: Re: Need startup help! :(
PostPosted: Fri Dec 28, 2001 6:27 am 
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]


Top
  
 
 Post subject: Re: Need startup help! :(
PostPosted: Fri Dec 28, 2001 1:08 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
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.

_________________
-- Stu --


Top
 Profile  
 
 Post subject: Re: Need startup help! :(
PostPosted: Wed Jan 02, 2002 4:56 am 
"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


Top
  
 
 Post subject: Re: Need startup help! :(
PostPosted: Wed Jan 02, 2002 5:07 am 
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.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], KN9296 and 114 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group