www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/13/23:23:22

Date: Mon, 13 Jun 94 22:22:07 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: hvb AT netrix DOT com
Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Access to the 1MB memory in protected mode

> This is in refer to your reply on the subject a while ago.  What do
> you mean by the word 'may' above?  How do I force go32 to set up the
> mapping?

"May" means I forget exactly what happens :-)

>   unsigned short *rom_init = (unsigned short *)0xd0000412;

This value should be 0xe00d0412 (0xe000000 + 0xd000*16 + 0x0412).

> 
>   *rom_init = 0;               /* This does not happen unless a breakpoint
>                                   is entered prior to this point. */

... and then this will work.  Except in DPMI mode, though.


- Raw text -


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