Date: Tue, 22 Jul 1997 08:00:19 -0700 (PDT) Message-Id: <199707221500.IAA26323@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: brown AT signal DOT dra DOT hmg DOT gb From: Nate Eldredge Subject: Re: DPMI Physical Address Mapping Cc: djgpp AT delorie DOT com Precedence: bulk You wrote: >/* Map in the board's physical address */ >my_map->size = 0x01000000; >my_map->address = 0x3d000000; > >if((linear = __dpmi_physical_address_mapping(my_map)) == -1) Make that __dpmi_physical_address_mapping(&my_map). The function takes a __dpmi_meminfo* argument. > printf("Failed to map physical address\n"); I bet it'll work now. Nate Eldredge eldredge AT ap DOT net