Page 1 of 2
OSDEV IN WINDOWS?
Posted: Thu May 29, 2008 3:19 pm
by sakuya84
Hi guys,
this is my first post in the forum, and i have a questionfor you....
i want to develop my OS in windows and not Linux which are the tool that i need to do that? in Linux i wa using nasm,gcc and ld for link
i'm waitin for your response.
thx in advance
sakuya84
Posted: Thu May 29, 2008 3:26 pm
by lukem95
its rude to shout.
i use DJGPP and Cygwin. Cygwin is the preferred method. You could also use MinGW. Read the Wiki
Posted: Thu May 29, 2008 3:34 pm
by sakuya84
Thx you now i'll try, and i'm so sorry i had no intentio to shout ^^'''''''
Re: OSDEV IN WINDOWS?
Posted: Thu May 29, 2008 3:51 pm
by svdmeer
sakuya84 wrote:Hi guys,
this is my first post in the forum, and i have a questionfor you....
i want to develop my OS in windows and not Linux which are the tool that i need to do that? in Linux i wa using nasm,gcc and ld for link
i'm waitin for your response.
thx in advance
sakuya84
Nasm is also for Windows.
An emulator for testing saves much time, Bochs runs also on Windows
These two great open source tools are available for Windows.
You need some tools to write your kernel to a disk-image or real disk. Unix/Linux has the command 'dd', Windows not.
I don't recomment you using Windows. Learning Unix increases your knowledge about OS-es in common and the tools under Unix/Linux are much more powerful and free.
Posted: Thu May 29, 2008 4:10 pm
by tadada
I use Nasm for assembly, DJGPP for C/C++ (even though I don't use C/C++, my kernel is assembly), LD for linking (included in DJGPP which is just a port of the GCC to windows so has most of the programs your familar with) and Partcopy for putting the files (like the bootsector) on the floppy. (Partcopy is dangerous for it can erase/copy over important files so read the instructions carefully)
There are some tutorials that will exsplain how to use the programs and their instructions. Brokenthorn.com's os development series is very good and exsplains all these programs except for DGJPP and mabye not LD. Those would be exsplained in Bran's Kernel development tutorial (also a very good tutorial). Look in the wiki's resource page to find them.
There are other programs that you can use but most of them are the common ones. It really is up to you and what you prefer. Just try some programs (or some tuts that go over different programs) and see which ones you like.
Good Luck to you.
Posted: Thu May 29, 2008 4:12 pm
by Combuster
Unix/Linux has the command 'dd', Windows not.
Not by default maybe. dd works perfectly fine under windows
Posted: Thu May 29, 2008 5:04 pm
by neon
I use NASM for the bootloader and MSVC++ 2005/2008 for the kernel and everything else.
Bochs is a great emulator+debugger. PartCopy for copying the bootloader.
I used DJGPP and LD before as well in my previous system
Posted: Thu May 29, 2008 9:15 pm
by bewing
I use NASM and JLOC for linking . Norton Diskedit for messing with disk images.
Bochs for debugging/simulating. MSVC5 or QuickC for any C compilation that I need, until my system is self-hosting (sometime soon).
Posted: Thu May 29, 2008 9:35 pm
by karloathian
Just out of curiosity how many here use like I do the QEMU + GDB combo?
Posted: Thu May 29, 2008 10:24 pm
by jinksys
I use notepad++ for editing my source, cygwin with GCC for compiling. Virtual Floppy Drive (VFD) and Bochs to boot my kernel.
Posted: Fri May 30, 2008 12:34 am
by samueldotj
To compile I use cygwin, gcc cross compiler, nasm.
For copying kernel to floppy image I use filedisk.
gdb-stub is compiled into my kernel, so I can debug using serial port. I use com0com to create virtual serial ports.
Sam
Posted: Fri May 30, 2008 5:00 pm
by oscoder
I do OSdev in windows, with the following tools:
- DJGPP (gcc, ld, binutils, etc)
- NASM
- Bochs
- Dev-cpp (for coding)
I've used these for a long time and am very satisfied
. I can also recommend
winimage to make disk image creation easier when using an emulator, although you do unfortunately have to pay for it. Also, if you ever try to compile your OS on a BSD unix system later, don't forget to use gmake instead of make!
OScoder
Posted: Fri May 30, 2008 5:06 pm
by suthers
I have exactly the same setup as oscoder...
Jules
Posted: Sun Jun 01, 2008 3:54 am
by lukem95
suthers wrote:I have exactly the same setup as oscoder...
Jules
so do i
it works very well for me, i learnt to code C using dev-c++ so it's the IDE im used to
Posted: Sun Jun 01, 2008 6:39 am
by suthers
lukem95 wrote:suthers wrote:I have exactly the same setup as oscoder...
Jules
so do i
it works very well for me, i learnt to code C using dev-c++ so it's the IDE im used to
Yah, I learnt C/C++ using dev-c++ too and I think it's a really good IDE.
(I still remember buying C game programming for beginners, the book that started me coding when I was 9... and it came with a disk with Dev-c++ on it and I've used it ever since... I used MS visual studio for a bit but it annoys me...)
Jules