From: "lewi9908" Newsgroups: comp.os.msdos.djgpp Subject: Re: AT&T inline asm in DJGPP... Date: Tue, 3 Dec 2002 18:40:05 -0800 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <200212020026 DOT gB20QDV26749 AT speedy DOT ludd DOT luth DOT se> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: abuse AT supernews DOT com Lines: 16 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > 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. > 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 base of 0x0000 and in Pmode adding 0xb8000 the correct place to fine the video mem. Any more help...