www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/15/19:19:05

Date: Thu, 15 Jun 1995 16:36:21 -0500
From: Rick Bronson <rick AT rio DOT moneng DOT mei DOT com>
To: eliz AT is DOT elta DOT co DOT il
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: How to convert MASM to go32?

> >   Also I have the following undefines, are these in a library
> >   somewhere or do I need to supply them?
> >
> > _bios_keybrd
> > _dos_getdrive
> > _dos_setdate
> > _dos_settime
> > _enable
> > _disable
> > _inp
> > _outp
> > _strerror
> > itoa
> > ltoa
> > inp
> > outp
> 
> It looks like you are porting a program developed under Microsoft C.
> The DJGPP PC-related functions follow Borland's, not MSC's, names.
> Instead of _dos_XXX search for XXX itself (like getdrive() instead
> of _dos_getdrive()).  Use inport() instead of inp(), enable() instead
> of _enable() etc.  You will have to link with libpc.a library for some
> of these, so append -lpc to your link command line.  You can use
> sprintf() instead of itoa and ltoa.
> 

  Thanks very much for your help.


  Rick

- Raw text -


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