[C#]Proyect Cosmos
#2

Why do that with C# since C and ASM are the best for OS Development

2

 

If you want to start with OSDev Read the ASM tutorials that I put below, and the link posted above(OS Developing is advance stuff, it will be hard for a beginner):

2

 

Here is a basic kernel that will write "Hello, world" in the video memory(which you will see on the screen).

int main(void)
{
char *str = "Hello, world", *ch;
unsigned short *vidmem = (unsigned short*) 0xb8000;
unsigned i;

for (ch = str, i = 0; *ch; ch++, i++)
vidmem[i] = (unsigned char) *ch | 0x0700;

for (;Wink
;
}



Messages In This Thread
[No subject] - by TheEvilAnt - 06-17-2012, 03:46 PM
[No subject] - by someone - 06-17-2012, 07:47 PM
[No subject] - by TheEvilAnt - 06-18-2012, 02:41 PM
[No subject] - by Reza - 06-19-2012, 07:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)