delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/03/21:46:37

From: "lewi9908" <lewi9908 AT ghc DOT ctc DOT edu>
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: <uuqqog9hkv5k96@corp.supernews.com>
References: <200212020026 DOT gB20QDV26749 AT speedy DOT ludd DOT luth DOT se> <uulf7s7lb5c55b AT corp DOT supernews DOT com> <asf91n$kv1$1 AT antares DOT lu DOT erisoft DOT se> <uunnttaavscea0 AT corp DOT supernews DOT com> <ashpbs$848$1 AT antares DOT lu DOT erisoft 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...


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019