[Coco] Call code Syscall
Gene Heskett
gheskett at shentel.net
Sun Feb 18 15:59:31 EST 2018
On Sunday 18 February 2018 14:44:13 phil pt wrote:
> I am trying to figure out the cal codes because there could be the
> many different cal codes for the same address. Do you know where I can
> find a ist of them please?
>
Disable the do not list option in the defsfile, and assemble them once to
get a printout, then restore the DNL stuffs, no need of that verbosity
for a normal build.
> On Sun, Feb 18, 2018 at 10:27 AM, Wayne Campbell <asa.rand at gmail.com>
wrote:
> > You are incorrect in your example. $8E is the call code. The call
> > codes are not defined in /DD/DEFS. They are listed in the NitrOS9
> > manual under system calls. In Basic09 I always define the call code
> > using a BYTE variable, as follows:
> >
> > DIM CallCode:BYTE
> > TYPE REG=cc,a,b,dp: BYTE; x,y,u:INTEGER
> > DIM regs:REG
> >
> > CallCode:=$8D \(* getstat call code
> > regs.a:= whatever
> > regs.b:= whatever
> > RUN SysCall(CallCode,regs)
> >
> > Wayne
> >
> > On Feb 16, 2018 9:49 AM, "Taylor, Phillip L CIV" <
> > Phillip.L.Taylor at uscg.mil>
> >
> > wrote:
> > > Hello
> > >
> > > I was looking at some old code that was written to run under the
> > > Old
> >
> > Tandy
> >
> > > Os9 Level 2 and I am trying to figure out where the call code is
> > > in the /dd/defs file.
> > >
> > > Regs.A = 0
> > > Regs.Y = 1
> > > Regs.B = $84
> > > Regs.X = $6401
> > > Run Syscall ($8e,regs)
> > >
> > > Executing $8e and the call code is $84. This location may have
> > > several different call codes and I am trying to see all the call
> > > codes for this address and what each one does?
> > >
> > > --
> > > Coco mailing list
> > > Coco at maltedmedia.com
> > > https://pairlist5.pair.net/mailman/listinfo/coco
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
--
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
More information about the Coco
mailing list