[Coco] SYSCALL tutorial

Wayne Campbell asa.rand at yahoo.com
Fri Oct 2 13:14:49 EDT 2009


I noticed that the tutorial showed up in the archives, but I never received the email in my inbox.

After reading it, I did see one thing. I don't know why I never thought of it. I'm using SysCall to GET the packet and check the pause status. I should have used SysCall to SET the pause on and off. It wouldn't have added anything to the code, really. The variables were already there, and the code to set the status is only different by the CallCode value ($8E to set, as opposed to $8D to get). I think, by doing it that way, I wouldn't have to worry about version differences.

Wayne




________________________________
From: Bob Devries <devries.bob at gmail.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Thursday, October 1, 2009 1:17:35 AM
Subject: Re: [Coco] SYSCALL tutorial

Regarding GFX2 (and this probably includes GFX also), it is my experience that often the PATH parameter is forgotten, and so STDOUT is assumed by the system, even if the other GFX commands are going to a window that's created by the programme.

Regards, Bob Devries
Las Pinas City, Philippines

--
Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer.

Edsger W.Dijkstra, 18 June 1975

----- Original Message ----- From: "Wayne Campbell" <asa.rand at yahoo.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Thursday, October 01, 2009 4:19 PM
Subject: Re: [Coco] SYSCALL tutorial


> Hi Bob,
> 
> Thanks for the info. If someone can point me to a copy of ZAP, I'll certainly look it over. I understand the use of both gfx and gfx2, but there are things I seem to always get wrong when I'm trying to write code for it, and looking through pdf's of the manuals is very time consuming. Being able to see examples of statements, even in another source file, is always better for me.
> 
> Wayne
> 
> 
> 
> 
> ________________________________
> From: Bob Devries <devries.bob at gmail.com>
> To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
> Sent: Wednesday, September 30, 2009 10:20:02 PM
> Subject: Re: [Coco] SYSCALL tutorial
> 
> Hi Wayne,
> 
> I may be able to do a tutorial on GFX and GFX2, however, you could first look at the programme written by Don Berrie and myself called ZAP. That is written in Basic09 and has liberally used GFX2.
> 
> Hmmm, I thought there should have been a copy of ZAP on RTSI, but I can't find it. Can someone point me to a copy online?
> 
> --
> Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer.
> 
> Edsger W.Dijkstra, 18 June 1975
> 
> ----- Original Message ----- From: "Wayne Campbell" <asa.rand at yahoo.com>
> To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
> Sent: Thursday, October 01, 2009 2:51 PM
> Subject: Re: [Coco] SYSCALL tutorial
> 
> 
>> I, for one, am interested. Not that I need tutoring on the use, but there may be things in your tutorial that I am not familiar with. I am always interested in learning more about OS-9 and Basic09 and its utilities. Come to think of it, a tutorial on the use of gfx and gfx2 would be nice as well.
>> 
>> Wayne
>> 
>> 
>> 
>> 
>> ________________________________
>> From: Bob Devries <devries.bob at gmail.com>
>> To: coco at maltedmedia.com
>> Sent: Wednesday, September 30, 2009 9:37:08 PM
>> Subject: [Coco] SYSCALL tutorial
>> 
>> If there is enough interest on this list, I can provide a tutorial on the use of SYSCALL in Basic09.
>> 
>> I had previously written this, but now don't have it with me, but, hey, I can rewrite it easily enough.
>> 
>> If there's enough interest, I can post it to this list.
>> 
>> Regards, Bob Devries
>> Las Pinas, Philippines
>> 
>> --
>> Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer.
>> 
>> Edsger W.Dijkstra, 18 June 1975
>> 
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>> 
>> 
>> 
>> 
>> 
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
> 
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
> 
> 
> 
> 
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 


--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco



      



More information about the Coco mailing list