www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/09/16:45:51

From: gregorio AT jet DOT es (Grzegorz Adam Hankiewicz)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I get a corrupted font from BIOS ROM. What am I doing wrong?
Date: Mon, 09 Feb 1998 20:45:56 GMT
Organization: Gogosoftware
Lines: 16
Message-ID: <34df6b02.10022252@news.jet.es>
References: <34ddbc08 DOT 66976903 AT news DOT jet DOT es> <7pgduDAqrc30Ew0R AT talula DOT demon DOT co DOT uk>
NNTP-Posting-Host: infon810.jet.es
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>>   dosmemput(temp_font,4096, (r.x.es << 4) + r.x.bp );
>
>Don't you mean dosmemget()? This will transfer data from your address
>space into conventional memory, which is the exact opposite of what you
>are trying to do!

Ouch! Very true. I had a previous setfont routine which used
dosmemput, and though it would run backwards.

Thanks for the help, now the routine works perfectly.

- Grzegorz Adam Hankiewicz - gregorio AT jet DOT es - http://web.jet.es/gregorio
- Gogosoftware - http://web.jet.es/gregorio/gogosoftware

"Jeder Mensch ist ein Abgrund; es schwindelt einem wenn man hinabsieht"
       Woyzeck - Georg Büchner

- Raw text -


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