delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/09/19:43:27

Message-Id: <199605092338.TAA14375@eelab.newpaltz.edu>
Comments: Authenticated sender is <fortin44 AT eelab DOT newpaltz DOT edu>
From: "John Fortin" <fortin44 AT eelab DOT newpaltz DOT edu>
To: djgpp AT delorie DOT com
Date: Thu, 9 May 1996 18:35:14 +0000
Subject: something strange with printf

#include <stdlib.h>
#include <pc.h>
#include <dpmi.h>
#include <go32.h>
#include <dos.h>
#include <sys/farptr.h>
#include <stdio.h>

typedef unsigned char 	BYTE;
typedef unsigned short 	WORD;
typedef unsigned long	DWORD;

#pragma pack(1)
typedef struct 
{
    DWORD	VESASignature;
    WORD	VESAVersion;
    DWORD    	OEMStringPointer;
    DWORD    	Capabilities; 
    DWORD    	VideoModePointer;
    WORD   	TotalMemory;
    BYTE    	Info[236];
}	_VGAInfoBlock;
#pragma pack()

- Raw text -


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