the ... is for telling GCC that extra aguments supported ( the %d's )
the va_...stuff is for getting what's in those ...'s ( the %d's cur_cursorX/Y )
the out stuff I tested I know it works...(It works better than the one on the OS faw...that had a bug but I fixed it.)
you can't load your kernel at more thatn 9000h in real mode.
So that won't work.
problem in printf stuff
Re:problem in printf stuff
okkkk
can u tell me about any tutorial which explains how this extra arguments support works??
for the kernel i m not talking about real mode .. i m talking about Pmode.. if we are in pmode and then load it at 50000000 how we will jump to it .. ?
thanx
can u tell me about any tutorial which explains how this extra arguments support works??
for the kernel i m not talking about real mode .. i m talking about Pmode.. if we are in pmode and then load it at 50000000 how we will jump to it .. ?
thanx
Re:problem in printf stuff
you can't use the bios and load the disk while in pmode
Here is at tutorial....there is no tutorial...so you should just c/p my source ( I got that code from Linux 0.1...but reformatted the code to be easier )
Here is at tutorial....there is no tutorial...so you should just c/p my source ( I got that code from Linux 0.1...but reformatted the code to be easier )
Re:problem in printf stuff
oh yes u r right i forgot that we load all this stuff while in real mode and then jmp to pmode ..
but what abt the phrase " loading the kernel at 1 meg" which is very common
well lets just keep the message posted may be some one else know any tutorial on this stuff thanx
but what abt the phrase " loading the kernel at 1 meg" which is very common
well lets just keep the message posted may be some one else know any tutorial on this stuff thanx