delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/10/07:10:49

Date: Fri, 10 May 1996 15:01:52 +0400 (MSD)
From: "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net>
Message-Id: <199605101101.PAA00375@video.yars.free.net>
To: djgpp AT delorie DOT com, fortin44 AT eelab DOT newpaltz DOT edu
Subject: Re: something strange with printf

> From: "John Fortin" <fortin44 AT eelab DOT newpaltz DOT edu>

> 	printf("TB Address %lx %lx\n",__tb, (__tb/16)&0xffff);
>     dosmemget(__tb, sizeof(VGAInfoBlock), &VGAInfoBlock);

printf modifies the transfer buffer to write its output, that's because
you get garbage from the transfer buffer later.

- Raw text -


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