Mail Archives: djgpp/1999/04/26/17:36:45
Ken Robbins wrote:
>
> Arik Funke wrote:
> > Hy, I'd like to programm an OS and to load it with GRUB-bootloader. I use
> > DJGPP and RHIDE.
good for you!
> Programming an OS is a very difficult task. Are you sure you want to
> take on this task?
on the other hand, it can be fun!
> > My question:
> > 1. What is the minimum code to print a line to the screen?
> >
> > I've tried it like that:
> > main ()
> > {
> > printf("%10d",1999)
> > }
> > but it doesn't work.
>
> That is because you did not #include <stdio.h> where the prototype for
> printf(); is. The minimun code to print a line to the screen is below.
barf. He's writing an OS. there IS NO printf! no libc, nothing!
you want to print, make your own printf.
- Raw text -