89543 24-AUG 22:54 Programmers Den
RE: System Calls(??????) (Re: Msg 89511)
From: DBREEDING To: CPERRAULT (NR)
> Can someone point me to some referance material related to System
> calls and how to use them from Basic09(syscall)? I’m really held back
> right now, because I have little understanding of how to use them.
> What I’m currently having trouble with, is I want to check each
> file read in from disk
> directory attribute set, so it won’t attempt to delete it
What you need is the “SS.FD” getstat call, which was omitted from the
tech manual.. From the data I have scribbled in it goes as:
SS.FD function code = $0F reads file descriptor into mem
dunno if it works as setstat or not.
A = path #
B= $0F SS.FD
X= ADDR(buf) predefined buffer for file descriptor
Y= # bytes to read
I assume you know how to set up the SysCall function. When you get it,
you check the FD.ATT byte, say you name it FD_Att:
IF ( LAND (FD_Att,$80) = 0 ) THEN \ (* Not a directory
— David Breeding –
CompuServe : 72330,2051
Delphi : DBREEDING
*** Sent via CoCo-InfoXpress V1.01 ***
^^^^ ^^^^^^^^^^
89615 28-AUG 18:45 Programmers Den
RE: System Calls(??????) (Re: Msg 89543)
From: CPERRAULT To: DBREEDING
Thanks for the the syscall info David. I’m gonna save that
I’m not
message as yet another one of the help messages from here
sure how well I’ll do with it when I try it out, but from the message,
it is starting to make a little more sense. Reading source code from
Basic listings in the Underground isn’t hurting either.
I’ll let you all know how it works out when I try it.
>Chris<
89631 28-AUG 21:42 Programmers Den
RE: System Calls(??????) (Re: Msg 89615)
From: DBREEDING To: CPERRAULT
> Thanks for the the syscall info David. I’m gonna save that
I’m not
> message as yet another one of the help messages from here
> sure how well I’ll do with it when I try it out, but from the message,
> it is starting to make a little more sense. Reading source code from
I hope it was correct.. I had this data scribbled into my Tech Info section
in the appropriate place, can’t remember where I got it, from a msg, I think.
Again, I would suggest that you look at gfx3. It makes a lot of the syscalls
a lot shorter (and FWIW, these calls use names similar to those in cgfx.l,
as well as std calls under OSK.
> Basic listings in the Underground isn’t hurting either.
This is a really good way to learn new techniques.
> I’ll let you all know how it works out when I try it.
Please do so.. I am interested in your progress, and I’m sure others are,
too.
— David Breeding –
CompuServe : 72330,2051
Delphi : DBREEDING
*** Sent via CoCo-InfoXpress V1.01 ***
^^^^ ^^^^^^^^^^
89664 30-AUG 20:36 Programmers Den
RE: System Calls(??????) (Re: Msg 89631)
From: CPERRAULT To: DBREEDING
>>Again, I would suggest that you look at gfx3.< <
I have it, but it doesn’t support this particular call. Plus, the
whole point for me is to get familiar with writing syscall stuff.
Then, should by freak of nature I start understanding it completely,
Frank can get his article
>Chris<
89727 3-SEP 21:25 Programmers Den
RE: System Calls(??????) (Re: Msg 89664)
From: DBREEDING To: CPERRAULT
> >>Again, I would suggest that you look at gfx3.< <
>
> I have it, but it doesn’t support this particular call. Plus, the
> whole point for me is to get familiar with writing syscall stuff.
No, this call was not implemented…. I never did pursue it much further,
I did add a thing or 2, but never passed it on.. been a long time..
Yeah, I can get your meaning about learning.. That’s the best way to learn.
— David Breeding –
CompuServe : 72330,2051
Delphi : DBREEDING
*** Sent via CoCo-InfoXpress V1.01 ***
^^^^ ^^^^^^^^^^