🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10229

Re: Proposal for new DOS calls

#10229
From: Peter da Silva
Date: Tue, 08 Nov 1988 12:14
21 lines
1557 bytes
In article <8811072046.AA04999@postgres.Berkeley.EDU>, dillon@POSTGRES.BERKELEY.EDU (Matt Dillon) writes:
> 	There are several lackings in DOS that make interactive handling of
> file handles difficult.  For one, there is no way to determine whether data
> is pending (e.g. via SER: AUX:, interactive PIPE: etc...) without calling
> Read() or WaitForChar().  Neither of these methods are acceptable as
> both will block or require busy waiting.  

What about the third method? Don't use the standard DOS calls, just send the
packets yourself. Then you can "Wait(1<<IOPort->mp_SigBit | WaitMask)" and
get a notice of completion when it's done.

You wrote a library to do this yourself, Matt. It's not a UNIX way of doing
things, true. It's a very Amiga way of working, though. About the only thing
you'd need dos.library for would be opening the file in the first place.

Be a lot simpler than your set of packets. Surely you can prune them somewhat.
-- 
		    Peter da Silva  `-_-'  peter@sugar.uu.net
		     Have you hugged  U  your wolf today?

	      Disclaimer: My typos are my own damn business.
Technical Details
Message-ID: <2966@sugar.uu.net>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!ucbvax!decwrl!labrea!rutgers!bellcore!texbell!uhnix1!sugar!peter
References: <8811072046.AA04999@postgres.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!ucbvax!decwrl!labrea!rutgers!bellcore!texbell!uhnix1!sugar!peter
From: peter@sugar.uu.net (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Proposal for new DOS calls
Message-ID: <2966@sugar.uu.net>
Date: 8 Nov 88 12:14:30 GMT
References: <8811072046.AA04999@postgres.Berkeley.EDU>
Organization: Sugar Land Unix - Houston, TX
Lines: 20