From: dmcneill AT pne DOT co DOT uk (Dave McNeill) Newsgroups: comp.os.msdos.djgpp Subject: Re: Assembly Question Date: Mon, 07 Oct 1996 11:18:46 GMT Lines: 16 Message-ID: <844687041.3128.0@firewall.futurenet.co.uk> References: NNTP-Posting-Host: firewall.futurenet.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp John David Doty wrote: >How do I get to the VGA memory in assembly? No C- straight assembly via >as. All of the examples that I've seen involve using C for at least >part of the setup. i use the following: call __go32_conventional_mem_selector movw %ax,%es movl $0x000A0000,%edi %es:%edi can now be used to write to VGA memory. dave