Re: TI-H: Link port
[Prev][Next][Index][Thread]
Re: TI-H: Link port
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
***
Follow-Ups:
References: