Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: PYGMY Forth Message-ID: <242.UUL1.3#5129@willett.UUCP> Date: 11 Jan 90 01:28:38 GMT Organization: Latest Link in ForthNet Chain (Pittsburgh, PA) Lines: 38 Date: 01-09-90 (19:46) Number: 235 To: ALL Refer#: NONE From: PETE MACK Read: HAS REPLIES Subj: PROBLEM WITH HANDLES.. Status: PUBLIC MESSAGE please look at handles.arc.. I am having trouble opening more than 15 files. Using int 21-funct 67.. Thank You.. NET/Mail : LMI Forth Board, Los Angeles, CA (213) 306-3530 Date: 01-09-90 (22:11) Number: 236 To: PETE MACK Refer#: 496 From: RAY DUNCAN Read: NO Subj: PROBLEM WITH HANDLES.. Status: PUBLIC MESSAGE I looked briefly at your test program. I don't have time to figure out exactly what is wrong with it, but I can assure you that Int 21H Function 67H does *definitely* work as advertised. It is only available in MS-DOS 3.3 and later though. My guess is that even though you think you are restricting the amount of memory assigned to the program with the Linker switch, this is not really happening, and the program is getting allocated all the available memory. in such a case Int 21H Function 67H will fail because it can't allocate a new block to hold the expanded handle table. It could also be that the runtime library's support for this is flakey. If you use int86 to resize your program's memory block (say, down to 128 KB maximum if you are small model) with function 4ah then ask for more handles with function 67h it should work as expected. I just tried it interactively from PC/FORTH and it worked fine. NET/Mail : LMI Forth Board, Los Angeles, CA (213) 306-3530 ----- This message came from GEnie via willett through a semi-automated process. Report problems to: 'uunet!willett!dwp' or 'willett!dwp@gateway.sei.cmu.edu'