delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/01/22:15:54

From: Dustin Carroll <burpeeboy AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: HELP ME WITH DJGPP
Date: Mon, 01 Jun 1998 18:36:50 -0700
Organization: EarthLink Network, Inc.
Lines: 41
Message-ID: <35735732.C88AF10A@earthlink.net>
NNTP-Posting-Host: 1cust201.tnt19.sfo3.da.uu.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi all,

Im trying to complile this tutorial

#include <go32.h>

static int dos_seg, length;
static char *string;

main()
{
 dos_seg = _go32_conventional_mem_selector();
 string  = "H.e.l.l.o.";
 length  = 10;

 asm ("
  pushw %es

  movw  _dos_seg, %es

  movl  _string, %esi
  movl  $0xb8000, %edi

  movw  _length, %cx

  rep ; movsb

  popw  %es
 ");
}


I go

GCC video.c

it says the go32.h file not found, but its in the include dir!

help me
dustin

- Raw text -


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