Xref: news2.mv.net comp.os.msdos.djgpp:3417 From: fmarcos AT jet DOT es (Fernando Marcos) Newsgroups: comp.os.msdos.djgpp Subject: Re: Pointers -> memory how ? Date: Fri, 03 May 1996 10:05:35 GMT Organization: Servicio IBERNET (Telefonica Transmision de Datos) Lines: 18 Message-ID: <4mclgo$dsh@minerva.ibernet.es> References: NNTP-Posting-Host: info103.jet.es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp dunder AT nyongwa DOT montreal DOT qc DOT ca (Don Karnage) wrote: >How can I make pointers -> memory :P Meaning, how can I make pointers >pointing to specific memory locations without dropping out of the protected >mode in DJGPP ? Don: Have a look at the __dpmi_map_device_in_memory_block(). It provides (at least it seems) the support you need to map any physical memory area onto the virtual address space. After mapping you should be able to access the memory block via a NEAR ptr. This requires DPMI 1.0, as it uses the service 0x508. Fernando