From: j DOT aldrich6 AT genie DOT com Message-Id: <199607192348.AA121530103@relay1.geis.com> Date: Fri, 19 Jul 96 23:34:00 UTC 0000 To: rettamitna AT aol DOT com Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: Can't get asm code workin Reply to message 9153862 from RETTAMITNA AT AO on 07/19/96 4:59AM > "movl $7, %eax\n\t" > "xorl %ecx, %ecx\n\t" > "movl $0xA000, %edx\n\t" //VGA seg Please read the FAQ, section 10.2. It explains why this is illegal under DPMI. You cannot just access any absolute address when running in protected mode; that's what "protected" is all about. John