delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/08/31/08:15:49

From: pjbk AT cee DOT hw DOT ac DOT uk (Peter JB King)
Subject: bios routines and some Borland library routines
To: djgpp AT sun DOT soe DOT clarkson DOT edu (MSDOS gcc list)
Date: Tue, 31 Aug 93 12:31:44 WET DST

In transferring a largish program to use djgpp, I had cause to write
some equivalents to Borland library routines.  The specifications are
those given in my TurboC version 1.5 manual.

The routines I have written are:

	biosmem
	biosequip
	bioskey
	biosprint
using a new include file gppbios.h

and 
	fnmerge
	fnsplit
	getdate
	setdate
	gettime
	settime
	getdisk
	setdisk
	getdfree
with a new include file gppdos.h

They are packaged in the file pjbklib.zip on omnigate, along with a
makefile, readme, and a version which is already compiled in mylib.a

Also included is a version of fcloseall, rather a hack, which may not
work correctly, but a guru could comment on.

Tentatively, I'd like to propose that these get included in the
appropriate include files and in libpc.a when release 1.11 comes along.

Any problems to me :-), and thanks to all the people who have made the
porting task so much easier with their much larger contributions.
-- 
Peter King, Computing & Electrical Eng.	JANET:	pjbk AT uk DOT ac DOT hw DOT cee
  Heriot-Watt University		ARPA:	pjbk AT cee DOT hw DOT ac DOT uk
  Riccarton, Edinburgh EH14 4AS 	UUCP:	..!uknet!cee.hw.ac.uk!pjbk
Phone: (+44) 31 451 3433                Fax: (+44) 31 451 3431

- Raw text -


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