Re: TI-H: Link port


[Prev][Next][Index][Thread]

Re: TI-H: Link port



Osma Suominen wrote:
> 
> Andy Johnson wrote:
> >
> > Could anyone explain to me how to directly read/write to the link port
> > in asm without using rom calls or zshell routines?
> 
> Look at TI-PORTS.TXT and PORT_7.TXT. You should find them at
> www.ticalc.org. But here's some help:
> 
> Reading:
> 
> Use in a,(7) and bits 1 and 0 show the status of the W and R wires,
> repectively.
> 
> Writing:
> 
> ld a,x
> out (7),a
> 
> where x is:
> 
> $c0: R=1 W=1
> $d4: R=0 W=1
> $e8: R=1 W=0
> $fc: R=0 W=0
> 
> Some other values for x will work too, look at TI-PORTS.TXT.
> 
> -Ozone
> 
> --
> *** Osma Suominen *** ozone@clinet.fi *** http://www.clinet.fi/~ozone
> ***

Apparantly my copy of ti-ports got truncated somewhere.  It stops at
port 4.  I'll go get one that's a little more useful.  Thanks for your
help everyone.
-- 
Andy Johnson



References: