🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do you send a DosPacket to a handler directly?

#6535
From: Gregory Kritsch
Date: Wed, 18 Nov 2020 06:06
39 lines
1941 bytes
andy@cbmvax.commodore.com (Andy Finkel) writes:
>Close, but not quite; there's another entity around involved in
>creating file handles...our friend, the dos.library.  Those fields
>are used for the BCPL buffered IO calls.

This doesn't quite make sense, unless I make the assumption that an
asynchronous io call is defined as not buffered, or that asynchronous io
isn't possible.

Is it not true that I can create and open a file handle myself using
only DeviceProc() to find the filesystem?

>Which, under 2.0, are now available for use by non-BCPL programs
>as well.

Thank you, whoever is responsible for this!  I can't wait to get 2.0 on
my A1000 so I can have fun with those.  I know several projects that
will benefit greatly.

Hmm, I don't have 2.0 autodocs (yet), how does one request buffering, and
will it break under 1.3?

>Anyway, those fields are private to dos.library and the shell...and
>under 2.0 finally can give any program that needs it buffered IO
>easily.

They should still be documented somewhere - what if I'm writing my own
shell?  This is the thing that annoys me the most about AmigaDOS - the
undocumented magic parts.

>		andy
>-- 
>andy finkel		{uunet|rutgers|amiga}!cbmvax!andy
>Commodore-Amiga, Inc.
--
  Gregory Kritsch                          | University of Waterloo
    Fido:  1:221/208.11110  [1:163/109.30] | 1A Computer Engineering
    UUCP:  ggk@tirith.UUCP                 |--------------------------
           ...!watmath!xenitec!tirith!ggk  | Amiga Fanatic
Technical Details
Message-ID: <ggk.658908407@tirith.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!maytag!xenitec!tirith!ggk
References: <15787@cbmvax.commodore.com> <DEVEN.90Nov8180332@netserv2.rpi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!maytag!xenitec!tirith!ggk
From: ggk@tirith.UUCP (Gregory Kritsch)
Message-ID: <ggk.658908407@tirith.UUCP>
Date: 18 Nov 20 06:06:47 
Newsgroups: comp.sys.amiga.tech
Subject: Re: How do you send a DosPacket to a handler directly?
In-Reply-To: andy@cbmvax.commodore.com (Andy Finkel)
References: <15787@cbmvax.commodore.com>
 <DEVEN.90Nov8180332@netserv2.rpi.edu>