From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: I get a corrupted font from BIOS ROM. What am I doing wrong? Date: Sun, 08 Feb 1998 11:09:57 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 19 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34DDD8D5.B61F4003@cornell.edu> References: <34ddbc08 DOT 66976903 AT news DOT jet DOT es> NNTP-Posting-Host: cu-dialup-2121.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Grzegorz Adam Hankiewicz wrote: > dosmemput(temp_font,4096, (r.x.es << 4) + r.x.bp ); dosmemput ========= This function transfers data from the program's virtual address space to MS-DOS's conventional memory space. The OFFSET is a physical address, that is, you need to use dosmemget. -- ---------------------------------------------------------------------- A. Sinan Unur Department of Policy Analysis and Management, College of Human Ecology, Cornell University, Ithaca, NY 14853, USA mailto:sinan DOT unur AT cornell DOT edu http://www.people.cornell.edu/pages/asu1/