Mail Archives: djgpp/2002/12/04/07:00:20
lewi9908 (lewi9908 AT ghc DOT ctc DOT edu) wrote:
: > So far this is an ordinary DJGPP program, right? Not any kernel that
: > some bootloader loads, switches to PM and jump to, right?
: Everything up to the start of main() works like a normal kernel starting but
: then I just write some simple text to screen and exit but Windows/DOS/Linux
: Kernels do a lot more. So I have a bootsector, a loader and a C program that
: can be loaded in the same way any OS starts it kernel.
Ok. So it _is_ a kernel. And I thought you used C++ and that is what
it looked like in your posted code modules name (.cpp). C++ isn't C.
: > If so, then why do you think graphic memory is at DS:0xb8000? Read the
: > FAQ regarding that.
: Which FAQ? Also DS is loaded in loader with a Pmode descriptor that has a
I was thinking of the DJGPP FAQ.
: base of 0x0000 and in Pmode adding 0xb8000 the correct place to fine the
: video mem.
Yes, it should be if that is true.
Right,
MartinS
- Raw text -