From: DavMac AT iname DOT com (Davin McCall) Newsgroups: comp.os.msdos.djgpp Subject: Re: Writing directly to video RAM Date: Thu, 13 May 1999 13:40:17 GMT Organization: Monash Uni Lines: 17 Distribution: world Message-ID: <373ad5f6.24447073@newsserver.cc.monash.edu.au> References: <7hegr8$8q6$1 AT orudios DOT magnet DOT at> NNTP-Posting-Host: damcc5.halls.monash.edu.au X-Trace: towncrier.cc.monash.edu.au 926602794 22250 130.194.198.138 (13 May 1999 13:39:54 GMT) X-Complaints-To: abuse AT monash DOT edu DOT au NNTP-Posting-Date: 13 May 1999 13:39:54 GMT X-Newsreader: Forte Free Agent 1.1/32.230 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 13 May 1999 14:33:18 +0200, "Mark Usher" wrote: >I simply want to poke a character eg "A" to the top left of the screen > >_farpokeb(_dos_ds, 0xA000, 0x41); > >doesn't seem to have much affect. The offset should be 0xA0000, not 0xA000. You have given a segment address; the offset from _dos_ds of real-mode segment 0xA000 is 0xA0000. Davin. __________________________________________________________ *** davmac - sharkin'!! davmac AT iname DOT com *** my programming page: http://yoyo.cc.monash.edu.au/~davmac/