🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #39880

More than 15 files open

#39880
From: Brian Lloyd
Date: Sun, 17 Dec 1989 15:00
20 lines
1328 bytes
A few months ago someone asked how to have more than 15 files open at a time.
Larry Shurr suggested using funtion call 67h, as follows:

union REGS inregs, outregs;
inregs.h.ah = 0x67;
inregs.x.bx = number_of_files;
int86(0x21, &inregs, &outregs);
(slightly modified for Turbo C)

The problem is that this doesn't seem to work, at least for me. It also
causes memory allocation problems for ATs under DesqView (ie malloc etc
can't reserve any memory). Am I missing something, or is this method wrong?

Thanks in advance for any replies.

Brian
Brian Lloyd,                           # Via e-mail : blloyd@axion.bt.co.uk
RT3152, Rm G44, SSTF,                  # Via Packet : G1NNA @ GB7NNA.GBR.EU
British Telecom Research Labs,         # By Phone   : +44 (0)473 646650
Martlesham Heath, Ipswich, Suffolk. IP5 7RE
Technical Details
Message-ID: <1989Dec17.150044.18175@axion.bt.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!axion!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!axion!news
From: blloyd@bordeaux.axion.bt.co.uk (Brian Lloyd)
Newsgroups: comp.sys.ibm.pc
Subject: More than 15 files open
Message-ID: <1989Dec17.150044.18175@axion.bt.co.uk>
Date: 17 Dec 89 15:00:44 GMT
Sender: news@axion.bt.co.uk (Root)
Reply-To: blloyd@axion.bt.co.uk
Organization: British Telecom Research RT31
Lines: 20
Organisation: British Telecom Research Labs, Martlesham Heath, IPSWICH UK