Hi there!
I guess, you've all seen this kind of messages thousand times, but anyway.. :) I'm going to write an OS that would support windows, Linux and BSD executables. Yeah, a kind of the-very-best-os-in-the world =) . I've just started coding the kernel (nope, kernel here doesn't mean just displaying "Hello world" =) ).. I've got a lot of ideas and some experience.. But.. it's kind of boring to write everything on my own..
Anyone wants to join me? =) ..Knowledge of C and Intel architecture would be nice, of course..
Ehhh..
Re: Ehhh..
I'm certainly interested in what you have done so far since my goal is about the same as yours(minus the BSD).
K.J.
K.J.
Re: Ehhh..
I've written the bootsector for fat16 + bootloader (the loading process is a bit overcomplex, but it allows - in principle - to boot from any hardware and filesystem).. then.. Not that much code for kernel.. only a (temporary) console device (write-only) and a memory allocator.. As soon as I finish the dynamic linking of kernel and a couple of boot-time drivers (filesystem and low-level disk driver) I'll start writing regular drivers and some basic process management. It's gonna be a microkernel, but I guess it can allow for kernel-mode drivers, as well..
Re: Ehhh..
Could you post a link(or email me) for the FAT16 bootsector source code(if your giving out source code) please?
K.J.
K.J.
Re: Ehhh..
Thanks, I do have some trouble witht the AT&T synax. I got the A2I (AT&T to Intel found at http://www.multimania.com/placr/a2i.html ) converter, but it doesn't want to work. Am I corect that the main difference between AT&T and Intel is that there are percent sings in front of the registers and the stuff needs to be switch around like this:
AT&T
mov %ax,%bx
Intle
mov bx, ax
Is that right?
Thanks,
K.J.
AT&T
mov %ax,%bx
Intle
mov bx, ax
Is that right?
Thanks,
K.J.
Re: Ehhh..
The main differences are:
1. You get reverse operands order (mov src,dst)
2. Instructions need to have suffixes indicating the length of the operands (b for byte, w for word, l for dword). I guess, suffixes can be ommited..
3. Registers names are prepended with %.
4. All immediate values (numbers, addresses) are prepended with $.
Knowing this you should be able to read and write AT&T-style assembly. ..It took me one day to switch..
1. You get reverse operands order (mov src,dst)
2. Instructions need to have suffixes indicating the length of the operands (b for byte, w for word, l for dword). I guess, suffixes can be ommited..
3. Registers names are prepended with %.
4. All immediate values (numbers, addresses) are prepended with $.
Knowing this you should be able to read and write AT&T-style assembly. ..It took me one day to switch..