News for hackers. Stuff that matters.
Re:How to Write an Operating System by nivertech on Sunday August 15, 2010 @01:46PM (#1605526)
I implemented my own timesharing kernel in C and little inline x86 assembler.

Main ideas:

1. Write context switch routine, which will require a little inline x86 assembler code.

2. Map it to timer interrupt.

3. Use C setjmp and longjmp to switch context.

There are no comments on this comment yet.